Storix Software SBAdmin Commands Reference User Manual
Page 56

Storix System Backup Administrator
- 56 -
Version 8.2 Commands Reference
If you want to restore the data to a different destination than it was originally read from, specify
the –D flag followed by the destination. The destination must be a logical volume name (i.e.
“lv00”) for logical volume restores, or a directory name for all other restores. For all restores,
except when restoring single filesystems, the data will be restored to the new directory relative
to the original full pathname of the files. For instance, the /home/roger directory, when restored
to the /tmp directory, will be restored as /tmp/home/roger. This prevents files by the same
name, but in different directories, from being restored over one another.
When restoring only a single filesystem to a new destination, the files will be restored relative
to the original filesystem mount point. In this case, a file “/home/file1” in the /home filesystem,
when restored to the /home1 directory (or filesystem), will be restored as /home1/file1. This
allows filesystem data to be moved from one filesystem to another.
The strunrest command will exit with a completion message and one of the following exit
codes:
0 Success
1
Failed verifying or restoring data
9
Internal program error
99
Killed by user (Ctrl-C)
101 The
strunrest command failed after verify/restore started
102
Syntax error calling the strunrest command
103 The
strunrest command failed with an error prior to verify/restore starting