Procedure documentationDefining a Backup Template for Incremental Data Backup to a File Locate this document in the navigation structure

 

For an incremental data backup, you log on to Database Manager CLI as a DBM operator, connect to the database for which the backup template is to be created, and define a backup template of type File.

You can define where you want to store this file in the system. If you enter a relative path, it is interpreted as relative to the working directory of the database. The specified directory must already exist. If you enter a path or name that includes blank characters, these must be written in quotation marks in the DBM command. The leading quotation mark must be preceded by a backslash (\).

Database Manager stores the backup template internally. The file that contains the backup only becomes visible in the system when the backup template is used for a backup.

Scenario

You want to define a backup template with the following properties for an incremental data backup:

Name of backup template: DemoDataInc

Data carrier (device/file): Backups 2005\Data\incDataJan

Type: FILE

Backup type: PAGES (incremental data backup)

Size restriction: 0 (none)

Block size: 6

Overwrite: NO (no)

Prerequisites

You can find the prerequisites under Database Manager CLI, medium_put

Procedure

Call Database Manager CLI, log on as DBM operator OLEG with password MONDAY, connect to the database DEMODB, and create a backup template with the properties specified in the scenario:

>dbmcli -u OLEG,MONDAY -d DEMODB medium_put DemoDataInc "Backups 2005\Data\incDataJan" FILE PAGES 0 6 NO

OK

Result

You have created the backup template DemoDataInc for the database DEMODB.

You can now start an incremental data backup using this backup template.

More Information

Incremental Data Backup to a File

Database Manager CLI, backup_start

Database Administration, Backup Templates and Data Carriers