Storix Software SBAdmin Commands Reference User Manual

Page 51

Advertising
background image

Storix System Backup Administrator

- 51 -

Version 8.2 Commands Reference

Details:

The struncopy command is used on an administrator system to copy backups from one server
to another, from any backup media type to another. Any backup may be copied from device to
any other device. Backups originating from different backup media may even be appended
onto the same output media.

When using Network Edition with TSM support, backups to TSM servers may also be copied to
a local tape or directory device or to another SBAdmin server. Likewise, local or remote
backups to SBAdmin servers may be copied to a TSM server or backups may be copied from
one TSM server to another.

When copying a disk backup, you must specify the device where the backup is stored with the
–d option (use “–d API –s TSM@serverName” for TSM servers), and the backup id with the –I
backupid option. When a new backup is created (either by writing to the beginning of a tape or
writing a backup to disk), a new backup ID is generated automatically. If a backup is appended
to an existing tape backup, this backup will be appended to the same label, and therefore will
use the same backup ID as the previous backups on the tape.

By default, all backups will be copied from the source media to the destination media. This
includes all clients (if backup was made from using Network or TSM Edition and included
multiple clients), or multiple jobs (if multiple jobs were appended to the source tape media).
Every Backup Label contains at least one backup sequence number, starting with 1 and
ending with the last backup written (one for each client backup appended to the same
label/media). To determine the backup sequence numbers within a backup label, use the
command:

stprintlabel

–b

backupID

If copying to a tape device, you may indicate if you want to rewind before starting the backup
and if the tape should be rewound and ejected at the end of the backup. If you do not rewind
at the start of the backup, you may append the source backup to the end of the destination
media (if the destination media is currently at the of volume). The destination backup label
will be appended with the selected source backup. This is commonly referred to as stacking
backups
to tape.

You may alter the buffer size of the backup by entering a buffer size (in Kbytes) using the –b
bufsize option. This is quite useful in increasing the performance of backups when writing to
different media. For example, the default 64K buffer size may be adequate when you wrote
your original disk backup file, but when copying to a high-speed tape drive, a higher buffer size
(i.e. 256K) may provide much greater backup performance. To use the same buffer size for the
destination as was used for the source; do not specify a new buffer size.

If using Network or TSM Edition, and the destination backup is written to a directory device or
TSM server, you may also change whether only the original client host or any host may read
the backup data by using the –h hostperm option. When copying from tape to disk, the default
is to allow all hosts (-h a) to read the backup. If copying from disk to disk, the default is to
leave the original setting unchanged. To allow only the original host which wrote the backup to
read it, use –h h.

You may use a device configured as a random tape library for the output device, but not the
input device. This is because the command is only able to track the tape positions of one
library at a time. Therefore, if you need to copy from a random library, you will need to specify
only the tape device name as the input device. You will be prompted to change the volumes
manually on the source device, but the destination device, if a random library, will change
tapes automatically. Note that devices configured as sequential autoloaders may be used for
either source or destination devices.

Advertising