Command Reference Guide

omnir —vss -use_vds —barhost system1 —session 2007/08/07-9
-tree "/SqlServerWriter(SQL Server 2005:SQLWriter)"
-no_recovery
7. To recover an SAP R/3 database, named sap2.company.com on the client
san32.company.com from the session “2007/09/05-18” until the most recent
time, and open the database after the recovery, execute the following command:
omnir -host san32.company.com -instant_restore -sap
-session 2007/09/05-18 –appname sap2.company.com -recovery
now -open
8. To restore the SqlServerWriter on the system akiko from the VSS backup session
“2007/02/27-3“ using the HP 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(SQL Server 2005:SQLWriter)" -copy_back
-no_retain_source -no_diskarray_wait
Note that the options-copy_back and -no_retain_source must always be
specified when performing restore of backup data created on Disk Array XP
using the resync mode, otherwise the restore session fails.
9. 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 –use_vds –barhost exch2007.company.com -session
2007/04/08-12 -tree "/Microsoft Exchange Writer(Exchange
Replication Service)/Microsoft Information Store/Replicated
Storage Group/Logs" -target_tree "/Microsoft Exchange
Writer(Exchange Information Store)/Microsoft Information
Store/Original Storage Group/Logs" -target_dir "c:\mnt"
10. Restore to a non-Exchange location:
To restore the Exchange 2007 Writer store “StoreOne from the storage group
“First Storage Group from the backup session “2007/04/08-9“ on the system
exch2007.company.com , to the system server2”, and with the replicas
mounted to c:\mnt”, execute the following command:
omnir -vss –use_vds –barhost exch2007.company.com -appsrv
server2 -session 2007/04/08-9 -tree "/Microsoft Exchange
Writer(Exchange Information Store)/Microsoft Information
Store/First Storage Group/StoreOne" -target_dir "c:\mnt"
-tree "/Microsoft Exchange Writer(Exchange Information
82