Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ temip_mir_restore(1) — TeMIP Framework 3.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mcc_intro(1)

temip_mir_backup(1)

temip_mir_recover(1)

temip_backup(1)

temip_cisam_check(1)

temip_mir_restore(1)  —  Commands

NAME

  temip_mir_restore − TeMIP Framework online MIR restore tool

SYNOPSIS

  temip_mir_restore [-v]  MIRname_1 ... MIRname_n   backupdir
 

DESCRIPTION

  The temip_mir_restore command is used to atomically on-line restore a set of TeMIP framework Management Information Repository (MIR) files, from a backup directory : − Atomically, the tool warranty that all the setof MIR files are restore in the same shot.  − On-line, the tool doesn’t require to stop the TeMIP framework platform : This depend also of which Management Modules the restored MIR
files belong to.

During the call, the tool exclusive lock the setof MIR files passed in arguments, and copy from the backup directory, a save-set of these files into they final location. 

Once restored, the related MIR logging-transaction log file of each MIR file is cleaned-up (size reset to zero) : At this time, the MIR files are no longer recoverable with temip_mir_recover tool. 
 

FLAGS

The following options are interpreted by temip_mir_restore :

-h
verbose mode (optional).

ARGUMENTS

The following arguments are requested by temip_mir_restore :

MIRname_1..MIRname_n
set of MIR Cisam files to restore (fullpathname without the extension file ).

target_dir
backup directory where the backup save-set of each MIR files are to be copied from.

RETURN VALUES

Upon successful completion, the temip_cisam_restore tool exits with a null status. Otherwise, a value of -1 is returned. 
 

EXAMPLES

 

temip_mir_restore /var/mcc/dDNS_d /var/mcc/iDNS_i /backupdir

copy /backupdir/dDNS_d.[dat.idx] and /backup/iDNS_i.[dat.idx] MIR files in the /var/mcc directory. 

 

NOTES

Before restoring a MIR file with temip_mir_restore, try first to recover it with temip_mir_recover, if you are not in wrap mode ( cf temip_setup ). 

It is highly recomended to refer to the TeMIP Framework Configuration and Management Guide Document, before using this tool. 
 
 

SEE ALSO

mcc_intro(1), temip_mir_backup(1), temip_mir_recover(1), temip_backup(1) temip_cisam_check(1)

TeMIP Framework Configuration and Management Guide

TeMIP Utilities

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026