You display the information stored on a backup medium about the backup. The backup medium is accessed directly. This means that the data is also displayed if the database instance is in the operational state OFFLINE.
If the operational state of the database instance is ONLINE or ADMIN, use the DBM command to display the backup information in the operational state ONLINE or ADMIN (see: medium_label)..
You have the server authorization Backup.
medium_labeloffline <medium_name>
OK
Returncode <value>
Date [<value>]
Time [<value>]
Server [<value>]
Database [<value>]
Kernel Version [<value>]
Pages Transferred [<value>]
Pages Left [<value>]
Volume Count [<value>]
Medianame [<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
Field |
Description |
Returncode |
Return value of the Database Manager if the value is 0 the DBM command was executed successfully for every other value see: documentation Messages |
Date |
Date |
Time |
Time |
Server |
Name of database computer |
Database |
Name of database instance |
Kernel Version |
Version of database kernel |
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 |
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 read For log backup: first page saved in log |
Last LOG Page |
For log backup only: last page saved in log |
DB Stamp 1 Date |
Time stamp for first page of log backup |
DB Stamp 2 Date |
Time stamp for last page of log backup |
Page Count |
Total number of pages saved |
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