Previous Topic: ca_backup - Global Filter OptionsNext Topic: ca_backup - Node Options


ca_backup - Source Arguments

The ca_backup source arguments allow you to specify the path or location that you want to back up.

The ca_backup command provides the following source arguments:

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

Windows Usage:
ca_backup -source [<hostname>[<hostIP>]<hosttype>] [node options] -filesystem <filesystem> | <folder path> [-filelist <file list>] [volume options]
UNIX Usage:
ca_backup -source [<hostname>[<hostIP>]<hosttype>] [node options] -filesystem <filesystem> [<realtive directory>] [-filelist <file list>] [volume options]
Raw Device specific backup (UNIX only):
ca_backup -source [<hostname>[hostIP]] [node options] -raw <raw device> [volume options]
VSS specific backup:
ca_backup -source [-vss <vsswriter path> [-vsswriter [-transport [retainshadowcopy]][-excludefincludedinthis] [-erroronceffail]] [-method <full|incr|diff|copy|log>] 
Database backup (UNIX only):
ca_backup -source [<hostname>[<hostIP>]] [node options] -database <dbase type> <dbase name|SQL server> [<tablespaces>] [dbase options]

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

Specifies the source machines to back up. The default machine, if hostname is not provided, is the local machine. This switch can appear multiple times in a ca_backup command, and must appear for each source to be backed up. By default, if used without additional switches, the entire source machine is backed up.

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>

Specifies the file system or folder to back up and, optionally, the directory or directories under the file system. This switch can appear multiple times in a ca_backup command and must appear for each filesystem to be backed up.

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>

Specifies the individual files to back up. Use with the -filesystem switch.

-inputfile <filename>

Use to pass on the file name containing the list of files to be backed up. You can use this switch as an alternative to -filelist <file list>. You can also use this with the -source and -filesystem options.

-fsfile <filename>

Specifies the input from an external text file that lists the file systems for back up. You can specify the level of granularity of the backup by defining the following information:

To do this, use the following syntax:

[filesystem name] [relative_dir][-filelist <file1><file2>][-inputfile <filename>]
-raw <raw device>

Specifies a raw device to back up.

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

-username <user name>

Specifies the user name of the source machine to back up. This is the user used to log into the source machine.

-password <password>

Specifies the password for the user to be used to log into the source machine.

Note: Starting with release r16, the backup job will automatically retrieve the user credentials directly from the ASDB. As a result, you will not need to specify this password parameter.

The ca_backup command line utility also supports the following options to assist in further identifying and locating the backup source:

More information:

ca_backup - Backup Manager Command

ca_backup - Node Options

ca_backup - Volume Options

ca_backup - Database Options

ca_backup - Examples