Defining a Backup Template for Incremental Data Backup to a File

Use

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

You can choose 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 instance. 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 (\).

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

To read the prerequisites, see Database Manager CLI, medium_put

See also:

Concepts of the Database System, Backing Up and Restoring

Scenario

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

Backup template name: DemoDataInc
Data carrier (device/file): Backups 2005\Data\incDataJan01
Type: FILE
Backup type: incremental data backup (
PAGES)
Size restriction: none (
0)
Block size:
6
Overwrite:
NO

Procedure

Call the Database Manager CLI, log on as DBM operator OLEG with password MONDAY, connect to the database instance DEMODB and create a backup template with the properties listed 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 instance DEMODB.

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

See also:

Incremental Data Backup to a File

Concepts of the Database System, Backing Up Data

Database Manager CLI, backup_start