RESTORE.ACCOUNTS

RESTORE.ACCOUNTS

Top  Previous  Next

 

The RESTORE.ACCOUNTS command restores all accounts from a Pick style FILE.SAVE tape.

 

 

Format

 

RESTORE.ACCOUNTS target {options}

 

where

 

targetis the parent directory under which the restored accounts are to be placed. If omitted, the pathname specified in the $ACCOUNT.ROOT.DIR VOC entry is used or, if this record does not exist, the user is prompted for the directory pathname.

 

options        is any combination of the following:

BINARYSuppresses translation of field marks to newlines when restoring directory files. Use this option when restoring binary data.
DET.SUPSuppresses display of the name of each file as it is restored.
NO.CASECauses new files to be created with case insensitive record ids. Existing files are not reconfigured.
NO.INDEXDo not create alternate key indices.
NO.OBJECTOmits restore of object code. This is particularly useful when migrating to QM from other environments.
POSITIONEDAssumes that the tape is already positioned at the start of the data to be restored.

 

 

The RESTORE.ACCOUNTS command processes a Pick style FILE.SAVE tape or pseudo tape and restores data from it into a QM system. It can also restore from a tape containing multiple ACCOUNT.SAVEs.

 

The tape to be restored must first be opened to the process using the SET.DEVICE command.

 

All accounts found on the tape are restored unless there is already an account of the same name or the target account directory already exists. In these cases, the account is skipped.

 

For more details of the tape processing applied during restore, see the ACCOUNT.RESTORE command.

 

 

See also:

ACCOUNT.RESTORE, ACCOUNT.SAVE, FILE.SAVE, FIND.ACCOUNT, QMSAVE, SEL.RESTORE, SET.DEVICE, T.ATT, T.DUMP, T.LOAD, T.xxx