The ca_restore command line utility supports the following destination arguments:
ca_restore -dest
[<hostname> <hosttype>] <path> [-username <username> -password <password>]
[<hostname>]<-orglocation>
[<hostname> <hosttype>] [-username <username> -password <password>] -database <dbase type> [dbase name] [dbase options]
Note: The ca_restore database options are described in a separate topic titled "Database Options" and can be viewed from the actual CLI by entering the following command: ca_restore allusage.
Specifies the destination machine and directory path to restore files to. The hostname is optional, and if not provided, the hostname defaults to the local machine.
If the hostname is provided, the hosttype is mandatory. Available hosttypes are: unix, nt, nwagent, ntagent, w95agent, and mac.
You must provide a user name and password to connect to the target agent, and you can restore to a remote location only if a Arcserve Backup Agent is running on the remote machine.
Examples:
To restore session two files from tape MYTAPE to "/restoreDir" on the local machine, use the following:
ca_restore -tape MYTAPE -session 2 -dest "/restoreDir"
To restore session 2 files from tape MYTAPE to "/restoreDir" on remote machine RMACHINE, use the following:
ca_restore -tape MYTAPE -session 2 -dest RMACHINE "/restoreDir"
Specifies the user name of the destination machine to restore to. This is the user used to log into the desired machine.
Note: You must specify a -username if you use the ca_restore -source option or if you use ca_restore on a 64-bit machine.
Specifies the password for the user to use when logging into the destination machine.
Note: You must specify a -username if you use the ca_restore -source option or if you use ca_restore on a 64-bit machine.
Specifies that you want to restore your files to their original location of the backup (machine and path).
Copyright © 2016 |
|