Starting Backup Job in CLI
You can start a backup job in the Veeam Agent command line interface. When you start a backup job, Veeam Agent initiates a new backup job session and provides you with a session ID. You can monitor the progress of the backup job session or view the session status.
To start a backup job, use the following command:
veeamconfig job start --name <job_name>
veeamconfig job start --id <job_id>
- <job_name> — name of the backup job that you want to start.
- <job_id> — ID of the backup job that you want to start.
You can use the veeamconfig job start command with the --activefull option to create active full backups. To learn more, see Creating Active Full Backups.
$ veeamconfig job start --name SystemBackup
If you start the backup job while another backup job is running, Veeam Agent will perform the backup job immediately after the current job is completed. For details, see Job Queue.
If another backup job is running when you start the backup job, Veeam Agent will submit this backup job to job queue. Veeam Agent will perform the job in the queue as soon as the previous job is completed.
$ veeamconfig job start --name ReportsBackup
The queued backup job creates a new session with the Pending status. You can view all jobs in the queue by running the veeamconfig session list command.
$ veeamconfig session list
Consider the following about job queue: