Previous Topic: Entities to Restore, Restore Targets, and MethodsNext Topic: Options for Linking to the Target Minidisk


Options for Restoring to Minidisks

Requests to restore CMS-formatted data directly to a minidisk must specify whether CA VM:Backup should format the minidisk. When CA VM:Backup formats a minidisk, it erases all currently existing files and restores the minidisk to the same blocksize it had when it was backed up. When the data is restored, the minidisk appears exactly as it did when the backup was taken.

If you choose to format the minidisk, you can specify either of the formatting options listed below through the Work with Restore Template screens or the OPTIONS record for restore jobs in TPI job template or exception files. The options are listed as you would specify them on the OPTIONS records.

FORMAT

If there is data to restore, CA VM:Backup performs the equivalent of the CMS FORMAT command to format the minidisk before restoring data to it. If there is no data to restore, CA VM:Backup does not format the target minidisk.

FMTALWAYS

CA VM:Backup always performs the equivalent of the CMS FORMAT command to format the minidisk before restoring data to it. CA VM:Backup formats the minidisk whether there are any files to restore or not.

If you choose not to format the minidisk, you must specify one of the options listed below to indicate how you want CA VM:Backup to restore the data. Again, you can specify these options through the Work with Restore Template screens or the OPTIONS record in TPI job template or exception files. The options are listed as you would specify them on the OPTIONS records.

ERASE

CA VM:Backup restores all files from the backed-up minidisk. If a file exists that has the same name as a file to restore, CA VM:Backup deletes the existing file before restoring the backed-up version. If the restore does not complete successfully, both the current file and the version being restored may be lost.

REPLACE

CA VM:Backup restores all files from the backed-up minidisk. If a file exists that has the same name as a file to restore, the job writes the file to a work file, erases the existing file from the minidisk, and renames the work file to the original filename. If the restore does not complete successfully, the existing file is left intact and the work file is erased.

Replacing files before the existing versions are erased provides an extra element of security against losing data in the event of a VM or CA VM:Backup system failure. However, it also means that there must be adequate free space on the minidisk to create a copy of each file before the existing version is erased.

NEWFILE

CA VM:Backup restores only those files that do not already exist on the minidisk.