Previous Topic: ca_backup - Global Filter OptionsNext Topic: ca_backup - 节点选项


ca_backup - Source Arguments

ca_backup 源参数允许您指定要备份的路径或位置。

ca_backup 命令提供以下源参数:

ca_backup -source [<hostname>[<hostIP>]] [node options] -filesystem <filesystem> [<relative directory>] [-inputfile <filename>] [volume options]
ca_backup -source [<hostname>[<hostIP>]] [node options] [-fsfile <filename>]
主机类型:unix|nt|nwagent|ntagent|w95agent|mac

WINDOWS 用法:
ca_backup -source [<hostname>[<hostIP>]<hosttype>] [node options] -filesystem <filesystem> | <folder path> [-filelist <file list>] [volume options]
UNIX 用法:
ca_backup -source [<hostname>[<hostIP>]<hosttype>] [node options] -filesystem <filesystem> [<realtive directory>] [-filelist <file list>] [volume options]
裸设备专用备份(仅 UNIX):
ca_backup -source [<hostname>[hostIP]] [node options] -raw <raw device> [volume options]
VSS 专用备份:
ca_backup -source [-vss <vsswriter path> [-vsswriter [-transport [retainshadowcopy]][-excludefincludedinthis] [-erroronceffail]] [-method <full|incr|diff|copy|log>] 
数据库备份(仅 UNIX):
ca_backup -source [<hostname>[<hostIP>]] [node options] -database <dbase type> <dbase name|SQL server> [<tablespaces>] [dbase options]

-source [<hostname>[<hostIP>]]

指定要备份的源计算机。如果未提供 hostname,则默认为本地计算机。该选项在 ca_backup 命令中可以多次出现,并且必须针对要备份的每个源。如果没有使用其他选项,则默认情况下将备份整个源计算机。

Note:-source accepts only the host name for the machine, and the host name should be resolvable in your network.

-filesystem <filesystem name> <relative directory> <folder path>

指定要备份的文件系统或文件夹,也可指定该文件系统下的某个目录或某些目录(可选)。该选项在 ca_backup 命令中可以多次出现,并且必须针对要备份的每个文件系统。

Note:On Windows NT, if you are backing up a folder or a file with a space in the name, you must enclose the name in quotes.

-filelist <file list>

指定要备份的各个文件。与 -filesystem 选项一起使用。

-inputfile <filename>

用于传递包含要备份的文件列表的文件名。您可以将该选项用作 -filelist <file list> 的替代选项。还可以将该选项与 -source 和 -filesystem 选项一起使用。

-fsfile <filename>

指定从一个外部文本文件输入,它列出了要备份的文件系统。通过定义以下信息可指定备份的粒度级别:

要这样做,请使用以下格式:

[文件系统名] [relative_dir][-filelist <file1><file2>][-inputfile <文件名>]
-raw <raw device>

指定要备份的裸设备。

Note:This argument applies to UNIX and Linux platforms only.

-username <user name>

指定要备份的源计算机的用户名称。这是用来登录到源计算机的用户。

-password <password>

指定用户用于登录源计算机的密码。

Note:Starting with release r16, the backup job will automatically retrieve the user credentials directly from the ASDB.因此,您不会需要指定该密码参数。

ca_backup 命令行实用工具还支持以下选项以有助于以后识别和查找备份源时:

详细信息:

ca_backup - 备份管理器命令

ca_backup - 节点选项

ca_backup - 卷选项

ca_backup - Database Options

ca_backup - Examples