Previous Topic: ca_backup - Return CodesNext Topic: ca_dbmgr - Database Manager Command


ca_backup - Examples

Example: ca_backup

The following are examples of syntax for the ca_backup command:

ca_backup -source machine1 -filesystem C:\DIR1 -filesystem D:\DIR2 -username Administrator -password abc
ca_backup -source machine1 -filesystem C:\DIR1 -filelist File1.TXT -filelist File2.TXT -filelist FILE3.TXT -Group GROUP1 -tape TAPE1 -username Administrator -password abc

Example: ca_backup -filter

The following are examples of syntax when using ca_backup -filter:

ca_backup [-filter include|exclude file|dir <pattern>]  -username Administrator -password abc
ca_backup -source machine1 -filesystem c:\DIR -filter include  file "*.doc" -username Administrator -password abc
ca_backup [-filter include|exclude date modify|create|access onorbefore|onorafter <mm/dd/yyyy>] -username Administrator -password abc 
ca_backup -source machine1 -filesystem c:\DELL -filter exclude dir khan -username Administrator -password abc
ca_backup -source machine1 -filesystem c:\DELL -filter exclude file ltrhd.doc -username Administrator -password abc

Example: ca_backup -on -at

The following is an example of syntax when using ca_backup -on -at:

ca_backup -source machine1 -filesystem c:\DIR -filter include  file "*.doc" -at 12:50 -on 08/08/2002 -username Administrator -password abc

Example: ca_backup Session Password Keys

The following are examples of syntax when using ca_backup ‑sessionpassword:

ca_backup -source machine1 -filesystem c:\DIR -username Administrator -password abc
ca_restore -tape TAPE1 -session 2 -dest C:\DIR -sessionpassword xyz -username Administrator -password abc

Example: ca_backup Rotation Job

The following are examples of syntax when using the ca_backup rotation job option:

Example: ca_backup to a Deduplication Device

The following example shows the ca_backup command syntax for a deduplication device that sets the purge policy for a full backup after 4 weeks, 3 days, 2 hours and 1 minute of the job completion time:

ca_backup -cahost hostname -source -filesystem c:\temp -group Dedupegroup -dddpurgedata full 4 3 2 1 -username administrator -password caworld

More information:

ca_backup - Backup Manager Command