- Use the following command to copy all sessions from nodes named AL2000 before noon, September 25, 2006:
tapecopy -d GROUP1 -qNode AL2000 -qOnOrBefore (9/25/2006,12:00)
- Use the following command to copy all incremental sessions after noon, September 25, 2006:
tapecopy -d GROUP1 -qMethod INCR -qOnOrAfter (9/25/2006,12:00)
- Use the following command to append all multistreaming sessions from a given Master Job ID to a tape named "Everything":
tapecopy -d GROUP1 -qMID 232 -c Everything -idd F56 -zd 1
- Use the following command to copy all sessions from all hosts except those in an Exclude List and specify a timeout of 10 minutes on connecting to source media and two hours on connecting to target media:
tapecopy -d GROUP1 -qNode * -qExclude AcctExcludes.txt -ws 10 -wd 120
- Use the following command to copy all sessions from nodes named AL2000 in the last 24 hours and add to Media Pool “MyPool.”
Note: Using the -m switch causes the tapecopy job to search for a target save/scratch/blank tape in the specified media pool. If a Save Set tape does not exist, Arcserve Backup searches for a scratch/blank tape to format and use as the target tape:
tapecopy -d GROUP1 -qNode AL2000 -qPastTime 1 -m "MyPool"
- Use the following command to copy all sessions between noon, September 25, 2006 and September 26, 2006 by its Job Number:
tapecopy -d GROUP1 -qOnOrAfter (9/25/2006,12:00) -qOnOrBefore "(9/26/2006,12:00)" -qJobNo 21
- Use the following command to append all session from source tape name "TAPE 1" to target name "TAPE 2":
tapecopy -s GROUP0 -d GROUP1 -t "TAPE 1" -c "TAPE 2" -idd C86 -zd 1
- Use the following command to copy all session from source tape name "TAPE 1" and format blank target tape name to "TAPE 2":
tapecopy -s GROUP0 -d GROUP1 -t "TAPE 1" -c "TAPE 2"
- Use the following command to copy from local source tape to remote blank tape:
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -rd SERVERNAME
- Use the following command to copy from remote source tape to local blank tape:
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -rs SERVERNAME
- Use the following command to copy all sessions from source tape and export the target tape:
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -ex
- Use the following command to copy all sessions from source tape and offline the target tape:
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -off
- Use this command to copy all sessions starting from session 3 on source tape:
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -n 3
- Use the following command to copy all non-blank tapes from source group and export target tapes:
tapecopy -s GROUP0 -d GROUP1 -entire_s -ex
- Use the following command to copy the 3 sessions after session 6 starting from session 6 on source tape:
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -n 6 -ntotal 3
- Use the following command to copy from a source tape to a destination tape when the session has been encrypted on the server side (interactive mode):
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -srcPassList
- Use the following command to copy from a source tape to a destination tape when the session has been encrypted on the server side (automatic mode):
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -srcPassList < passwords.txt
- Use the following command to copy all sessions that were created during last 1 day to a blank tape in group PGROUP0. During the copy, it will link the source and destination sessions.
tapecopy -q PastTime 1 -d pgroup0 -g
- Use the following command to copy all sessions that were created during last 1 day to a blank tape in group PGROUP0. After the copy operation is complete, it will submit a merge job to merge all the copied sessions from the target tape into the database.
tapecopy -q PastTime 1 -d pgroup0 -forceMerge
- Use the following command to copy all sessions created by job number 100 (-qJobNo 100) to a blank tape in group PGROUP0 (-d pgroup0).
tapecopy -qJobNo 100 -d pgroup0
- Use the following command to copy all sessions created by job number 100 (-qJobNo 100) within last 1 day (-qPastTime 1) to a blank tape in group PRGROUP0 (-d pgroup0).
tapecopy -qJobNo 100 -qPastTime 1 -d pgroup0
- Use the following command to set a 1 minute purge policy for a deduplication device target session (you need to specify target tapename using -c switch).
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -c TAPE2 -dpp 0:0:0:1
- Use the following command to copy from a source tape <src_media> in group <src_group> to append to any tape in save set of the media pool <my_pool> in destination group <dest_group>.
tapecopy -s <src_group> -t <src_media> -d <dest_grp> -mdt <my_pool>