The ca_restore command line utility provides various methods to view the source information. Which method you choose depends on what you know about the files you want to restore and the media you will need to use.
-source [-group] [-filter]
-source -tape -session [-group] [-tapesession] [-filter]
-tape -session [-group] [-tapesessionpw] [-filter]
The ca_restore command line utility supports the following source arguments:
ca_restore
-source [<hostname> [<hostIP>]]<filelist> -tape <tapename> [<tapeID>] -session <session no> -group <groupname> -tapesessionpw <password/encryption key>
Specifies the files/directories to restore.
If the -source switch is used alone, without -tape and -session, the restore is treated as a Restore by Tree view, and Arcserve Backup determines the version of the file to restore.
For example, if a file has been backed up several times, each time to a different session or even a different tape, and the user wants to restore it, but does not specify a tape or session, Arcserve Backup finds the most recent backup, and restores this file.
Examples:
To restore the most recent backup of </myfiles> use the following:
ca_restore -source /myfiles
To restore /myfiles that was backed up to session 24 on tape MYTAPE use the following:
ca_restore -source /myfiles -tape MYTAPE -session 24
Specifies the tape to use for the restore job. The tape ID is optional, and is used if there are multiple tapes with the same name.
If the -tape switch is used with the -source switch, the restore is treated as a Restore by Session view, and the Arcserve Backup database is used in the restore. Arcserve Backup checks if it has a record of the file and tape specified for the restore. If not, the restore job is not submitted, even if all of the information provided is actually correct. This tape and session must be merged into the Arcserve Backup database before this restore job can be submitted.
If the -tape switch is not used with the -source switch, the restore is treated as a Restore by Media view, and the Arcserve Backup database is not used. If the tape name or session number provided are invalid, the restore job fails at run-time.
The - tape switch must be used with the -session switch.
Specifies the tape session number to use for the restore job.
This switch must be used with the -tape switch.
Specifies the tape group to use for the restore job.
Specifies the session password or encryption key needed to restore data from tape. Required only if a session password or encryption key was applied during the backup job.
Copyright © 2016 |
|