Create split backup (Command Line Utility)

A split backup requires two command lines: one for the database and one for the other files.

User performing the action

Select the Backup copies from command line check box in the properties of the command line user. If you want to create the backup as administrator, use the /B option (instead of /G). For the administrator Backup copies from command line does not have to be selected. 

Default options

Data

 

Action:

BACKUP

General options:

Default.

/H

Backup of the SQL database. This backup is saved as an .adb file:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" /L"Foutenlog" BACKUP /H /L"C:\Log\Resultlog"

/F

Backup of other files. This backup is saved as a .zip file:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" /L"Foutenlog" BACKUP /F /L"C:\Log\Resultlog"

Note:

It is not possible to combine the /H and /F options in a single command line.

See also