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

 

For a complete 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 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. 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.

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 a complete data backup:

Name of backup template: DemoDataCompl

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

Type: FILE

Backup type: DATA (complete 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 DemoDataCompl "Backups 2005\Data\completeDataJan" FILE DATA 0 6 NO

OK

Result

You have created the backup template DemoDataCompl for database DEMODB.

You can now start a complete data backup using this backup template.

More Information

Database Administration, Backup Templates and Data Carriers

Database Manager CLI, backup_start