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:

ca_backup [-filter include|exclude date modify|create|access within <count> days|months|years] -username Administrator -password abc 

ca_backup -source machine1 -filesystem c:\DIR1 -filesystem "C:\Program Files\Back me up dir" -rotation -mediapool testingpool -jobunit full append test -username Administrator -password abc

ca_backup -source machine1 -filesystem c:\DIR1 -rotation -mediapool testingpool -jobunit full overwrite test1 -username Administrator -password abc
ca_backup -source machine1 -filesystem c:\DIR1 -mediapool testingpool -exception full append 12/12/2001 -username Administrator -password abc

ca_backup -source machine1 -filesystem c:\DIR1 -gfsrotation -mpoolprefix khan -jobunit full -username Administrator -password abc

ca_backup -source machine1 -filesystem C:\DIR1 -username Administrator -password abc -rotation -mediapool Pool1 - jobunit full overwrite -jobunit full overwrite -jobunit full overwrite -jobunit full overwrite -jobunit full overwrite -retention 5 -tape "*" 

ca_backup -source machine1 -filesystem D:\DIR2 -username Administrator -password abc -gfsrotation -mpoolprefix GFSpool -jobunit full -jobunit incr -jobunit incr -jobunit incr -jobunit incr -jobunit incr -jobunit incr -description GFSpoolJob

ca_backup -source machine1 -filesystem c:\dell -gfsrotation -mpoolprefix machine1 -jobunit full -jobunit full -jobunit full -jobunit full -jobunit incr -jobunit incr -jobunit full -description pool -username Administrator -password abc

ca_backup -source 141.202.243.173 unix -filesystem / ca_lic -username root -password abc

ca_backup -source apoc unix -filesystem / ca_lic -username root -password abc

ca_backup -source machine1 -filesystem C:\ca_lic -rotation -mediapool khan -jobunit off append * -jobunit incr append * -jobunit incr append * -jobunit incr append * -jobunit incr append * -jobunit full overwrite * -jobunit off append * -username Administrator -password abc

ca_backup -source machine1 -filesystem c:\temp -rotation -mediapool hello -jobunit off overwrite -jobunit full overwrite -jobunit incr append -jobunit incr append -jobunit incr append -jobunit full overwrite -jobunit off overwrite -username Administrator -password abc

ca_backup -source machine1 -filesystem C:\ca_lic -rotation -mediapool khan -username Administrator -password abc

ca_backup -source dellwin2k  -filesystem c:\temp -rotation -mediapool hello -jobunit off overwrite -jobunit full overwrite -jobunit incr append -jobunit incr append -jobunit incr append -jobunit full overwrite -jobunit off overwrite -username Administrator -password abc

ca_backup -source machine1 -filesystem c:\Temp -rotation -mediapool test -jobunit off overwrite -jobunit full overwrite -jobunit incr append -jobunit incr append -jobunit incr append -jobunit full overwrite -jobunit off overwrite -username Administrator -password abc

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


Copyright © 2010 CA. All rights reserved. Email CA about this topic