MaxDB backup by command prompt

Step 1 : – Create Template For Full Backup

 Backup Template create with name  “full” with location  : -D:\MaxDB\Backup\data CONTENT  DATA

 Step 2 Start backup via backup template full: –

dbmcli on DB1> db_connect dbmcli on DB1> backup_start full

Use DBM command medium_label (in this example for the backup template full) to display the backup information:

Check the backup history using DBM command backup_history_list:

dbmcli on DB1> backup_history_list -c label,action,pages,stop,media,error

Log backup configure 

backup_template_create log to FILE D:\MaxDB\Backup_LOG\LOG001 CONTENT LOG

backup_start log

Now you schedule this backup on task scheduler in windows and in Linux use crone to schedule job.

issue:  If you execute full backup and data file already exist on this location. So in this case you have two option

1> move backup to other location daily

2> create multiple template for full backup on daily basis.

Leave a Comment