NAME
tborestore - Restoring of data from tape
SYNOPSIS
/opt/FJSVswstm/bin/tborestore -h Storage-Server [-g Generation-No | -v Version-No | -t Backup-Time] [-r Restore-Device-Name] [-d Restore-Storage-Server] Device-Name
DESCRIPTION
Data stored on tape is restored using this command.
When the command is used for restoration, neither pre-processing nor post-processing is executed on the Storage Server. Therefore, it must be executed while the Storage Server is either stopped or not accessing the applicable transaction volume.
OPTIONS
If none of the -g, -v, and -t options is specified, the latest information among the backup history data subject to generation management is restored.
Specifies a Storage Server name.
Specifies the relative generation number of the data to be restored.
Only data whose generation is managed can be specified in this option.
To check the relative generation number, execute "11.4.8 tbohistdisp (Tape history information display command)".
The option cannot be specified together with the -v or -t option.
Specifies the absolute generation number of the history information for the generation management backup to be deleted.
This option cannot be specified together with the -g, -z, or -t option.
To check the absolute generation number, execute "11.4.8 tbohistdisp (Tape history information display command))".
Specifies the day management start date and time of the data to be restored.
Only data subject to day management can be specified in this option.
To check the day management start date and time, execute "11.4.8 tbohistdisp (Tape history information display command)".
Specify the backup date and time in the "YYYY/MM/DD hh:mm:ss" format.
YYYY: Year (four digits)
MM: Month (two digits)
DD: Day (two digits)
hh: Hour (two digits)
mm: Minute (two digits)
ss: Seconds (two digits)
This option cannot be specified together with the -g and -v options.
Specifies the restoration destination device for restoration to a device other than a transaction volume.
This option cannot be specified for a GDS logical volume.
Specifies the restoration destination Storage Server name for restoration to a volume on a Storage Server different from that containing the original transaction volume.
OPERANDS
When the Storage Server is Solaris, Linux, HP-UX or AIX, this specifies the block device name of a transaction volume.
When the Storage Server is Windows, it specifies an AdvancedCopy Manager device name corresponding to a transaction volume. For details on the AdvancedCopy Manager device name, refer to "Managing a Device on AdvancedCopy Manager" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide [For Windows]".
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Restore the data with relative generation number 2. For the relative generation numbers, refer to the data displayed by "11.4.8 tbohistdisp (Tape history information display command)".
# /opt/FJSVswstm/bin/tborestore -h server01 -g 2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 tborestore completed #
Restore the data that was backed up at 06:12:55 on February 2, 2005 under day management.
# /opt/FJSVswstm/bin/tborestore -h server01 -t "2005/02/02 06:12:55" /dev/dsk/c1t1d0s6 /dev/dsk/c1t1d0s6 tborestore completed #
NOTES
When this command is used for restoration, neither pre-processing nor post-processing is performed on the Storage Server. If the command is executed while the transaction volume is being accessed, the data restoration is not guaranteed.
When the command is executed with a restoration destination volume specified, restoration is performed even if the specified volume contains backup data or synchronous processing is being executed. Performing restoration under this condition damages backup data. Therefore, when specifying a backup volume for the restoration destination, specify one that is not used.
If any of the following events occurs, restoration will fail. In this case, take the appropriate action according to the "System administrator response" in the output message.
Both relative and absolute generation numbers are specified.
A device registered as a transaction volume is specified for a parameter of the -r option.
An SDX object is specified for a parameter of the -r option.
A GDS logical volume is specified as the restoration destination volume of a normal transaction volume.
An error is detected during reading from tape.
Point
Restoration can be performed to any device other than transaction volumes. Devices specified as a restoration destination must be:
a volume other than a transaction volume.
the same size or larger than the original transaction volume.