You archive the original Version Files for the Log Backups. To do this, you copy the version files using an external backup tool to an external backup medium.
The command for archiving the version files once to external backup media is supported from database version 7.04.03.
If you want to backup the same version files more than once to different external backup media, first use the archive_stage command described here and then the command for creating multiple archives of the version files of the log area.
Your database instance has at least Version 7.04.03.
You have the DBM operator authorization Backup.
You have backed up the log (Log Backup).
The external backup medium is defined for the backup type LOG (Defining or Changing a Backup Medium).
archive_stage <ext_backup_medium> <log_medium> [VERIFY | NOVERIFY] [REMOVE | KEEP] [FNL <list>]
<ext_backup_medium> |
Name of the external backup medium |
<log_medium> |
Name of the backup medium that was used for the log backup |
VERIFY |
System default value The archived files are compared with the original files. |
NOVERIFY |
Only the usual checks as to whether the backup was successful are performed by the system. The system displays error messages and the output of the backup tools. |
REMOVE |
System default value The original files are deleted after they have been successfully archived to the external backup medium. |
KEEP |
The original files are archived, but not then deleted. |
FNL |
File Number List: Keyword of the list of files to be archived |
<list> |
File name or area or file names: you can leave out leading zeros. Separate multiple specifications using commas. If you do not specify a file list, all version files on the backup medium that are also in the backup history are copied. |
In most
cases, it is not necessary to specify a file number list, as all completed
version files are archived with the command archive_stage. The system obtains the information about
which files are complete from the backup history.
Only specify the keyword FNL and the file number list if version files that you
are sure were created are not in the backup history due to an error. This
would be the case, for example, if the version files with the number 10 and 12
are in the backup history, but number 11 is missing.
Archiving the
originals of the version files 1 and 3-10
These are on the backup medium
LOGMEDIUM and are archived to the external backup medium
EXTMEDIUM. Only the usual system checks are to be
performed. The version files are not then to be deleted.
archive_stage EXTMEDIUM LOGMEDIUM NOVERIFY KEEP FNL 1,3-10
Reply:
OK
Processed Stage Files 9
Bytes Processed
12845056
Deleted Stage Files
0
Remaining Stage Files 2
The system displays an OK message and information about the archived version files.
The archived version files are assigned their own external backup IDs and are entered in the backup history.
Processed Stage Files |
Processed version files |
Bytes Processed |
Processed bytes |
Deleted Stage Files |
Deleted version files |
Remaining Stage Files |
Remaining version files |