HP StorageWorks Application Recovery Manager Command Line Interface Reference (T4395-96007, December 2007)

omnir (1)
-44- Hewlett-Packard CompanyAppRM A.06.00: December 2007
EXAMPLES
The following examples illustrate how the omnir command works.
1. To specify the -tree option, use the slash (“/“) delimiter. To restore trees “/
Microsoft Exchange Writer/Microsoft Information Store/First Storage Group“ and
“/Filesystem/C“ from the backup session “2007/08/08-2“, on the system “akiko
execute the following command:
omnir -vss -barhost akiko -session 2007/08/08-2 -tree /Microsoft
Exchange Writer/Microsoft Information Store/First Storage Group
-session 2007/08/08-2 -tree /Filesystem/C
2. To start a restore on the system named “akiko“ from the backup session “2006/08/
08-14“ so that the original volume is not retained, execute the following
command:
omnir -vss -barhost akiko -session 2007/08/08-14 -no_retain_source
3. To restore the SqlServerWriter on the system akiko” from the session “2006/08/
07-9“ using the Microsoft Virtual Disk Service with the possibility to later apply
transaction logs on the SQL Server, execute the following command:
omnir -vss -barhost akiko -session 2007/08/07-9 -tree /
SqlServerWriter -no_recovery -use_vds
4. To restore the SqlServerWriter on the system “akiko” from the session “2007/02/
27-3“ using theHP StorageWorks Disk Array XP agent after the backup made in
the resync mode, execute the following command:
omnir -vss -barhost akiko -session 2007/08/27-3 -tree /
SqlServerWriter -no_retain_source -no_diskarray_wait
Note that the -no_retain_source option must be always selected when
performing restore using disk array XP, otherwise the restore session fails
5. Restore to a different storage group:
To restore the Exchange 2007 Writer logs on the system “exch2007.company.com”
from the storage group copy “Replicated Storage Group” created by LCR, from the
session “2007/04/08-12“, to storage group “Original Storage Group”, and with the
replicas mounted to “c:\mnt”, execute the following command:
omnir -vss -barhost exch2007.company.com -session 2007/04/08-12
-tree "/Microsoft Exchange Writer(Exchange Replication Service)/
Microsoft Information Store/Replicated Storage Group/Logs"