You
can use the inquire function to query information about any backups managed by
the
external
backup tool.
This function is called with the user ID, the backup ID, and the file name or pipe name. The user ID must be specified, but the backup ID and file name or pipe name are optional. The content of the output file for this function depends on the information specified in the request.
If the input list contains multiple entries, Backint for MaxDB generates the output for the individual entries, and displays it in the order they were entered.
There are four possible cases:
Entries in the Input File |
Entries in the Output File |
Neither backup ID nor file name or pipe name
specified |
|
Backup
ID specified, file name or pipe name not specified: |
List
of files or pipes that belong to the backup ID If no files and/or pipes exist for the specified backup ID, Backint for MaxDB does not create any output. |
File
name or pipe name specified, |
List
of backup IDs that belong to the specified file or pipe, sorted by the date
the backup was created (latest backup first) (
#BACKUP <backup_id> <file_name> If no backup exists for the specified file or pipe, MaxDB generates output that contains the keyword #NOTFOUND.
(#NOTFOUND <file_name>) |
Both
backup ID and file name or pipe name specified: |
The
backup specified by the backup ID and the file name or pipe name: If no backup with the specified backup ID exists for the specified file or pipe, MaxDB generates output that contains the keyword #NOTFOUND. (#NOTFOUND
<file_name>) |