Show TOC

backup_finishLocate this document in the navigation structure

Use

As of SAP MaxDB Version 7. 8, you can include file system backups in the SAP MaxDB backup history, which means that file system backups are also possible when the database is in ONLINE operational state. The database kernel creates an SAP MaxDB snapshot to establish the I/O consistency using a data backup to a backup template with the option EXTERNAL SNAPSHOT. You can then perform the file system backup, and you must explicitly inform the database of its success or failure using the DBM command backup_finish. In this way, you can perform the initial data backup also as a file system backup.

Prerequisites

You have the server permission Backup.

You have created a backup template using backup_template_create <backup_template> To EXTERNAL SNAPSHOT and performed the backup ( backup_start) using this template.

Structure
backup_finish
  <backup_template> ExternalBackupID <external_backup_ID>
| <backup_template> [AS] FAILED [WITH [ERROR] <tool_rc>]
			

Option

Description

backup_template

Name of the backup template

external_backup_ID

External backup ID

Name under which the backup is known to the backup tool

tool_rc

Numeric return code of the backup tool. If it's not specified or not numeric the value 0 is set.

More Information

SAP Notes 1377148 Information published on SAP site