-newinstance DestinationInstanceName
Performs a restore to the SAP DB/MaxDB instance with the instance name
DestinationInstanceName. This option is to be used only when a restore
to an instance other than the one that was backed up is to be performed. Note
that the specified instance must already exist and must be configured for use
with Data Protector. This option does not create a new instance.
-session SessionID
Specifies the session to be used for restore.
When restoring objects that have copies, do not use the object copy session ID,
but the object's BackupID, which equals the object's backup session ID.
If this option is not specified, the last backup session is restored regardless of
the -endlogs or the -time option selection.
-recover [-endlogs | -time: YYYY-MM-DD.hh.mm.ss]
Specify this option to recover the restored SAP DB/MaxDB database by applying
the restored (if the -from_disk option is not specified) or client-resident logs
(if the -from_disk option is specified) to the last available log (the default
behavior, or if the -endlogs option is specified), or to the specified point in
time (if the -time: option is specified).
Make sure that the backup session selected by the -session option will restore
enough data for the integration to apply the redo logs until the last available log
or until the specified point in time.
When this option is not specified, the following happens after the restore:
- If archive logs are not restored (if restore from a full backup session is
performed), the database remains in the Admin mode after the restore.
- If archive logs are restored, the database is, if the restored archive logs allow
it, switched to the Online mode. If the database, however, cannot be switched
to the Online mode (because the restored archive logs do not allow it), it remains
in the Admin mode.
-endlogs
Specify this option to recover the database until the last log. This is the default
option.
-time: YYYY-MM-DD.hh.mm.ss
Specify the -time: option to recover the database until the point specified by
the YYYY-MM-DD.hh.mm.ss argument.
Note that the specified time is the system time on the system running the Data
Protector CLI. If the system to be recovered is not in the same time zone as the
system running the Data Protector CLI, the point of recovery is adjusted to the
local time setting on the system to be restored.
Command line interface reference 219