Entering content frame

Procedure documentation recover_replace Locate the document in the library structure

Use

You specify the succeeding medium with which importing the backup should continue.

The reply to this DBM command gives you information about the import of the backup. In particular, the Returncode reply field is to be evaluated. However, you get the reply only if the backup has been imported completely, or if the backup was interrupted. This command may therefore take a long time to execute.

If, after executing this DBM command the recovery is interrupted again (message number -8020), you use this DBM command to enter the next succeeding medium.

If you import a backup that was generated on a group of parallel backup media and receive this message, repeat this DBM command until there is no succeeding medium to be imported anymore. As long as there are still individual media of the group in the recovery process and you get message -8020 close it with DBM command recover_ignore until the import of all backup media is complete.

Prerequisites

·        You must have the server authorization Backup.

·        You have executed the DBM command for recovering the database instance (see: recover_start). The operation was interrupted because the data stored on the backup medium was imported completely. You are still in the same database session.

Syntax

recover_replace <medium_name> [ExternalBackupID <ext_backup_ID>] [<loc> [<nnn>]]

Options

Option

Description

<medium_name>

Medium from which the backup is to be imported.
When recovering a backup made on several media at the same time, you must enter the name of the group of parallel backup media here.

ExternalBackupID <external_backup_ID>

Only for recovering a backup that was created with a backup tool: name under which the backup is known to the backup tool.

<loc>

Name of the device/the file in which the backup to be recovered is stored.
Operating system functions must be able to address the device/file using
<loc>.

<nnn>

Only for log backup to be imported and only for backup media of the FILE version number of the log backup on the backup media that is to be imported:

Reply

OK

Returncode              <value>

Date                    [<value>]

Time                    [<value>]

Server                  [<value>]

Database                [<value>]

Kernel Version          [<value>]

Pages Transferred       [<value>]

Pages Left              [<value>]

Volume Count            [<value>]

Mediumname              [<value>]

Location                [<value>]

Errortext               [<value>]

Label                   [<value>]

Is Consistent           [<value>]

First LOG Page          [<value>]

Last LOG Page           [<value>]

DB Stamp 1 Date         [<value>]

DB Stamp 1 Time         [<value>]

DB Stamp 2 Date         [<value>]

DB Stamp 2 Time         [<value>]

Page Count              [<value>]

Devices Used            [<value>]

Database ID             [<value>]

Max Used Data Page      [<value>]

Values for the Reply Fields

Value

Description

Date

Date

Time

Time

Server

Name of database computer

Database

Name of database instance

Kernel Version

Version of database software

Pages Transferred

Number of pages transferred

Pages Left

Number of pages still to be transferred

Volumes

Number of backup media used

Medianame

Name of backup medium

Location

File or device name

Errortext

Error message text

See also:

Documentation, Messages

Label

Backup ID

Is Consistent

For data backup only: backup is internally consistent

First LOG Page

For data backup: first page of log backup to be imported

For log backup: first page saved in log

Last LOG Page

For log backup only: last page saved in log

DB Stamp 1 Date
DB Stamp 1 Time

Time stamp for first page of log backup

DB Stamp 2 Date
DB Stamp 2 Time

Time stamp for last page of log backup

Page Count

Total number of pages backed up

Devices Used

Number of backup devices used

Database ID

Database ID used to identify data and log backups that belong together

Max Used Data Page

Maximum number of pages used (indication of minimum database size when backup is imported)

 

In the event of errors, see Reply Format

 

 

Leaving content frame