Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ temip_mir_recover(1) — TeMIP Framework 3.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mcc_intro(1)

temip_mir_restore(1)

temip_cisam_check(1)

temip_backup(1)

temip_mir_recover(1)  —  Commands

NAME

  temip_mir_recover − TeMIP Framework online MIR recover tool

SYNOPSIS

  temip_mir_recover [-v]  MIRname_1 ... MIRname_n   lastbackupdir
 

DESCRIPTION

  The temip_mir_recover command is used to atomically on-line recover a set of TeMIP framework Management Information Repository (MIR) files, from the last backup directory : − Atomically, the tool warranty that all the setof MIR files are recovered 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 recovered MIR files belong to). 

During the call, the tool performs the following steps per MIR file :

− Lock in exclusive mode the MIR file

− Copy the save-set MIR file from the backup directory into its final location ( the backup directory must contain the last backup save-set image of the MIR file, that is going to be recovered ). 

− rollforward from the logging-transaction MIR log file, all committed transaction record until the latest committed one. 

− Unlock the MIR file. 

 

FLAGS

The following options are interpreted by temip_mir_recover :

-h
verbose mode (optional).

ARGUMENTS

The following arguments are requested by temip_mir_recover :

MIRname_1..MIRname_n
set of MIR Cisam files to recover (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_mir_recover tool exits with a null status. Otherwise, a value of -1 is returned. 
 

EXAMPLES

temip_mir_recover /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, and rewind the logging-transaction Cisam file. 

 

NOTES

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_restore(1), temip_cisam_check(1), temip_backup(1)

TeMIP Framework Configuration and Management Guide

TeMIP Utilities

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