HP Data Protector A.06.11 Command Line Interface Manual page 234

Hide thumbs Also See for Data Protector A.06.11:
Table of Contents

Advertisement

EXAMPLES
The following examples illustrate how the omnir command works.
1.
To restore trees "/tree1" and "/tree2" of the root filesystem on "fs", with the
label "lb1", from the session "2007/07/12-33", as the trees "/tmp/tree1" and
"/tmp/tree2", skipping ".xyz" files, run:
omnir -filesystem fs:/ lb1 -session 2007/07/12-33 -tree
/tree1 -as /tmp/tree1 -tree /tree2 -as /tmp/tree2 -skip
*.xyz
2.
To perform a full restore of tree "/ac" on filesystem "bb:/", with no label, from
the session "2007/07/12-2, run":
omnir -filesystem bb:/ -full -session 2007/07/12-2 -tree
/ac
3.
To perform restore of the section "/dev/rdsk/c201d6s0" of the disk image
labeled "RawRoot" on the client "machine" from the session "2007/07/23- 1 2",
run:
omnir -rawdisk machine "RawRoot" -section
/dev/rdsk/c201d6s0 -session 2007/07/23-12
4.
To restore an IDB on the client "server" and pathname "/usr/omni/config" from
the session "2007/07/24-2", run:
omnir -omnidb server:/ -session 2007/07/24-2 -tree / -into
/tmp/omnidb
5.
To use parallel restore for restoring two objects, run:
omnir -filesystem client1:/ -session 2007/04/17-2 -tree
/users -into /tmp -filesystem client2:/opt -session
2007/04/17-3 -tree /opt -into /tmp
6.
To perform an instant recovery to the system named "machine" from the backup
session "2007/08/08- 1 ", keeping the replica on the backup system disk, run:
omnir -host machine -session 2007/08/08-1 -instant_restore
-keep_version
7.
To perform an instant recovery of filesystem backup data on HP StorageWorks
Disk Array XP or HP StorageWorks Virtual Array to the system named "computer"
from the backup session "2008/01/02- 1 ", keeping the replica on the backup
system disk, run:
omnir -host computer -session 2008/01/02-1 -instant_restore
-keep_version
234

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents