Reference User guide

Storix System Backup Administrator - 55 - Version 8.2 Commands Reference
-t, --type
datatype
Specify the type of data to restore from the backup. If omitted, the
entire contents of the backup will be restored.
Details:
The strunrest command may be used to either verify or restore the contents of a backup. This
command is only run on the admin system, although the backup data may exist on any server
and may be restored to any client.
You must specify both the server and device to read, and the client to restore to (if restoring).
If you are restoring from a disk backup, and the backup was created with read permission only
by the original client from which the backup was made, only the original client may be restored
to. This is to prevent the backup file from being read by other hosts. However, if you wish to
change the permission of the backup file to allow it to be restored to a different host, use the
option Change Read Permission of a Disk Backup as described in the SBAdmin User Guide.
Note that the datatype and datalist arguments must correspond. For instance, if you select to
restore a filesystem (-t F), then you must supply a list of filesystems to restore (/home /tmp”)
as they are defined on the backup. If any of the filesystems supplied do not exist on the
backup, no restore will take place. Note also that you must surround multiple restore options
with double quotes. The different datatypes are as follows:
Type Description Systems Data to Specify
V Volume Group Linux/AIX Volume Group name(s)
F Filesystem any Filesystem mount point(s) (i.e. “/home /data”)
L Logical volume Linux/AIX Logical volume name(s) (i.e. “lv00 lv01”)
M Meta-disk Linux/Solaris Meta-disk names (i.e. “md0 md1”)
D File/Directory any Directory names (i.e. “/home/sam ..”)
P Partition Linux Raw partition names (i.e. “sda3 sdb5”)
Z ZFS Pool Solaris ZFS Pool name (i.e. “pool1”)
z ZFS Volume Solaris ZFS Volume name (i.e. “pool1/vol1”)
s Slice Solaris Disk slice name (i.e. “c0t0d0s1”)
You may also specify a sequence list (seqlist) using the –S flag if there is more than one
backup stacked on the media. If the backup was created using a backup job which contained
multiple clients, each client backup will be a separate backup sequence number. If you
performed multiple backups to the same media without rewinding, then each new backup will
comprise a new backup sequence number. When verifying backups, you may specify one or
more sequence numbers, surrounded by double-quotes. When restoring data, you may specify
only one backup sequence number. The data will be read from the backup, or backups,
corresponding to the specified backup sequence number list.
Important note: If you are restoring a volume group or filesystem from an incremental
backup
level 0 and you do not specify a datalist to restore, then all files will be restored. If the
incremental level is 0, all files currently in the corresponding filesystems will be removed
before the restore takes place. This is to ensure that the filesystem, when completed, will
contain ONLY the files that existed when the backup was created. If you do not want to
remove existing files before restoring, then you should not restore a filesystem or volume
group. Instead, select “directory” as the data type (-t D), then specify the list of directories to
restore.
If you supply both the –L and –P flags, you should redirect either standard output or standard
error to a file. Otherwise, both will be shown on the screen and the progress indicator data will
be intermixed with the file list.