-session sessionID
-save OptionFile
-logview
-optview
-replay_only
-firstlog FirstTransactionLog
DESCRIPTION
The omnidbrestore command is used to restore the Data Protector internal database
(IDB) without using the IDB, as opposed to the omnir - omnidb command which
uses the IDB to retrieve the information needed for the IDB restore. If the IDB was
installed on symbolic links, these symbolic links have to be created as they existed
before running the omnidbrestore command.
The IDB restore using the omnidbrestore command consists of four phases: 1)
Stopping the Data Protector services/daemons (with the exception of the Data Protector
Inet service on Windows) 2) Restore of the IDB files. 3) Roll forward of IDB transactions
(if present) stored in the IDB transaction log(s) - a process called dbreplay. Before
the dbreplay is started, you are given the possibility to skip this phase by responding
to a prompt. 4) Starting the Data Protector services/daemons.
Every time the backup of the IDB is started or when running omnidbinit or
omnidbcheck commands or when the size of a transaction log reaches 2MB, a
transaction log is created on the Cell Manager in the directory
Data_Protector_program_data\db40\logfiles\syslog\ (Windows Server
2008), Data_Protector_home\db40\logfiles\syslog\ (other Windows
systems), or /var/opt/omni/server/db40/logfiles/syslog/ (UNIX systems).
Depending on the value of the Archiving parameter in the rdmserver.ini file,
located on the Cell Manager in
Data_Protector_program_data\db40\datafiles\catalog (Windows
Server 2008), Data_Protector_home\db40\datafiles\catalog (other
Windows systems), or /var/opt/omni/server/db40/datafiles/catalog
(UNIX systems), the old transaction log is copied (the Archiving parameter is set
to 1) or deleted (the Archiving parameter is set to 0). In the latter case the dbreplay
process is not always possible.
The omnidbrestore command can operate in three modes:
THE AUTORECOVER MODE
The autorecover mode is invoked using the -autorecover option. The
omnidbrestore command in the autorecover mode scans the obrindex.dat file
for the Media Options, RMA Options (Restore Media Agent options) and VRDA
308