InterSystems FAQ rubric
To run an online backup from a command you can use the API BACKUP^DBACK routine.
An example of performing a full backup is as follows.
set status = $$ BACKUP ^DBACK( "" , "F" , "full backup" , "c:\backup\full.cbk" , "Y" , "c:\backup\full-log.log" , " NOINPUT" , "Y" , "Y" , "" , "" )The return value is 1 if the backup is successful, and 0 if the backup is unsuccessful. Please refer to the log file for details on failure.
Additionally, you can specify C for the second argument TYPE to specify a cumulative backup, and specify I to specify a differential backup.

.png)



