You can run a backup job from the command line interface to create the following types of backups:
Before you create a backup from the command line interface, check the following prerequisites:
If more than one backup job is configured, you can run multiple backup jobs at the same time.
To perform backup, use a command with the following syntax:
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /backup |
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /backup "<ID>" |
where <ID> is a unique job ID generated by Veeam Agent for Microsoft Windows.
To create an active full backup, use a command with the following syntax:
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /activefull |
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /activefull "<ID>" |
where <ID> is a unique job ID generated by Veeam Agent for Microsoft Windows.
Creating Standalone Full Backups
To create a standalone full backup, use a command with the following syntax:
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /standalone |
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /standalone "<ID>" |
where <ID> is a unique job ID generated by Veeam Agent for Microsoft Windows.
Performing Backup to Another Location
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /standalone <location> |
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /standalone <location> "<ID>" |
IMPORTANT! |
You can specify a network shared folder as a target location for standalone full backup only if read and write permissions on this folder are granted to Everyone or to the LocalSystem account of the Veeam Agent computer. You cannot specify credentials to access the network shared folder in the command. |
When you start a backup job from the command line interface, it runs automatically in the background. You can view information about the backup job session or the created restore point in the Control Panel. To learn more, see Viewing Statistics in Control Panel.
You can also use the last exit code to verify if the backup job has completed successfully. To check the last exit code, use the %ERRORLEVEL% variable in cmd.exe.
Veeam Agent for Microsoft Windows can provide the following exit codes:
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.