Air Cleaner User Manual

-y Indicates that an incremental restore can be performed. This flag is required if
the backup is an incremental backup and restoring other than specific files or
directories.
-z filelist and path
Specifies the path and name of a file containing a list of files to restore.
Return Codes
The sysrestore command returns a value, which can be queried with the $? shell
variable, indicating the success or failure of the process as follows:
0 The process was completely successful.
1 The process terminated due to an unknown error.
2 The process terminated because there was an error writing the backup data
to disk.
3 There were read errors when reading the backup data from the backup
media. The failure resulted in loss of some data and possibly termination of
the restore, depending on the number of read errors and how SysBack is
configured to handle them.
4 There were sync errors when reading the backup data from the backup
media. The failure resulted in loss of some data and possibly termination of
the restore, depending on the number of sync errors and how SysBack is
configured to handle them.
5 The process completed successfully, however there were non-fatal errors
when writing one or more files to disk.
Examples
1. To restore the /tmp directory and its contents from the disk image backup
/usr/lpp/sysback/bf/VG.localhost.06230300, displaying the progress indicator
instead of the file list as the files are read, type:
sysrestore -x -tD \
-f/usr/lpp/sysback/bf/VG.localhost.06230300 /tmp
2. To restore the files /data/file1 and /data/file2 from a backup on virtual device
vdev1, type:
sysrestore -tR -fvdev1 /data/file1 /data/file2
3. To list all files and directories included in the backup on device /dev/rmt0
attached to host neptune, enter:
sysrestore -L -tf -h neptune -f rmt0
4. To show the names of all logical volumes and filesystems included on the
backup on tape device /dev/rmt1, type:
sysrestore -L -tl -frmt1
1. To verify the uservg volume group on the backup on device /dev/rmt0, showing
the files as they are read, type:
sysrestore -Vv -tV -f rmt0 uservg
2. To determine the backup type of the second backup on the tape, type:
sysrestore -T -f rmt0 -i2
Related Information
The sysback, mkdirback, mklvback, mkjfsback and mkvgback commands.
A-100 IBM Tivoli Storage Manager for System Backup and Recovery: Installation and Users Guide