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

omnidb (1)
-28- Hewlett-Packard CompanyAppRM A.06.00: December 2007
This command can be used to:
list sessions and their summary reports
list backed up objects and their details (for example: client name, set, label, object
type, object status, backup type), message logs
The omnidb command performs basic IDB queries.
OPTIONS
-version Displays the version of the omnidb command
-help Displays the usage synopsis for the omnidb command
-since Date Lists sessions since the given Date.
-until Date Lists sessions until the given Date.
-last n Lists sessions that occurred within the last n days.
-latest Lists the last active Application Recovery Manager session.
-wo start duration Lists the sessions that started within a specified timeframe.
Start defines the start of the timeframe. Duration is the duration
of the timeframe in seconds.
-detail Displays detailed information about the selected query.
-session SessionID Displays session information. If no SessionID is specified,
all sessions are shown. The report shows for each session: the ID
and status. If a sessionID is specified, then objects that are
backed up within this session are shown. This information
includes: client name, mountpoint, label, object type and object
status.
If the -detail option is specified, more information is shown, such
as the backup type (full, copy), protection, and so on. For vss
objects, also the backup ID is shown.
-rpt SessionID Displays session information in a form specially suited for
further use of awk, grep or perl. Records are separated with blank
lines and line feed is the field separator. If no SessionID is
specified, all backup sessions are shown. Each record contains the
following fields: the ID, backup specification name, status, start
time in format HH:MM and duration in hours as a floating point
number. For the example of how this option can be used see the
script omninotify.pl.