tapecopy - Examples
The following are examples of syntax for the tapecopy command:
Note: For each tapecopy command, you must include a blank space between the switch and the syntax that follows the switch.
- Use the following command to copy all sessions from nodes named AL2000 before noon, September 25, 2006:
- Use the following command to copy all incremental sessions after noon, September 25, 2006:
- Use the following command to append all multistreaming sessions from a given Master Job ID to a tape named "Everything":
- 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:
- 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:
- Use the following command to copy all sessions between noon, September 25, 2006 and September 26, 2006 by its Job Number:
- Use the following command to append all session from source tape name "TAPE 1" to target name "TAPE 2":
- Use the following command to copy all session from source tape name "TAPE 1" and format blank target tape name to "TAPE 2":
- Use the following command to copy from local source tape to remote blank tape:
- Use the following command to copy from remote source tape to local blank tape:
- Use the following command to copy all sessions from source tape and export the target tape:
- Use the following command to copy all sessions from source tape and offline the target tape:
- Use this command to copy all sessions starting from session 3 on source tape:
- Use the following command to copy all non-blank tapes from source group and export target tapes:
- Use the following command to copy the 3 sessions after session 6 starting from session 6 on source tape:
- 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):
- 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):
- 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.
- 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.
- Use the following command to copy all sessions created by job number 100 (-qJobNo 100) to a blank tape in group PGROUP0 (-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).
- 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).
- 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 -d GROUP1 -qNode AL2000 -qOnOrBefore (9/25/2006,12:00)
tapecopy -d GROUP1 -qMethod INCR -qOnOrAfter (9/25/2006,12:00)
tapecopy -d GROUP1 -qMID 232 -c Everything -idd F56 -zd 1
tapecopy -d GROUP1 -qNode * -qExclude AcctExcludes.txt -ws 10 -wd 120
tapecopy -d GROUP1 -qNode AL2000 -qPastTime 1 -m "MyPool"
tapecopy -d GROUP1 -qOnOrAfter (9/25/2006,12:00) -qOnOrBefore "(9/26/2006,12:00)" -qJobNo 21x
tapecopy -s GROUP0 -d GROUP1 –t "TAPE 1" –c "TAPE 2" -idd C86 -zd 1
tapecopy -s GROUP0 -d GROUP1 -t "TAPE 1" -c "TAPE 2"
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -rd SERVERNAME
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -rs SERVERNAME
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -ex
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -off
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -n 3
tapecopy -s GROUP0 -d GROUP1 -entire_s -ex
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -n 6 -ntotal 3
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -srcPassList
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -srcPassList < passwords.txt
tapecopy –q PastTime 1 –d pgroup0 –g
tapecopy –q PastTime 1 –d pgroup0 –forceMerge
tapecopy –qJobNo 100 –d pgroup0
tapecopy –qJobNo 100 –qPastTime 1 –d pgroup0
tapecopy -s GROUP0 -d GROUP1 -t TAPE1 -c TAPE2 -dpp 0:0:0:1
tapecopy -s <src_group> -t <src_media> -d <dest_grp> -mdt <my_pool>
More information: