Previous Topic: ca_restore - 源参数Next Topic: ca_restore - Database Options


ca_restore - 目标参数

ca_restore 命令行实用工具支持以下目标参数:

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.


-dest [<hostname> <hosttype>] <path> [-username <username> -password <password>]

指定要将文件还原到的目标计算机和目录路径。主机名为可选项,如果未提供,则默认为本地计算机的主机名。

如果提供了主机名,则必须提供主机类型。可用的主机类型为:unix、nt、nwagent、ntagent w95agent 和 mac。

必须提供用户名和密码,以便连接到目标代理,并且只有在远程计算机上运行 Arcserve Backup 代理时才能还原到远程位置。

示例:

要将磁带 MYTAPE 上的会话 2 的文件还原到本地计算机上的“/restoreDir”目录下,请使用以下命令:

ca_restore -tape MYTAPE -session 2 -dest "/restoreDir"

要将磁带 MYTAPE 上的会话 2 的文件还原到远程计算机 RMACHINE 上的“/restoreDir”目录下,请使用以下命令:

ca_restore -tape MYTAPE -session 2 -dest RMACHINE "/restoreDir"
-username <user name>

指定要还原到的目标计算机的用户名。这是用于登录到所需计算机的用户。

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.

-password <password>

指定用户登录到目标计算机时所用的密码。

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.

-orglocation

指定您要将文件还原到其备份的原始位置(计算机和路径)。

详细信息:

ca_restore - 还原管理器命令

ca_restore - Database Options

ca_restore - Examples