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> |
or
veeamconfig job start --id <job_id> |
where:
- <job_name> — name of the backup job that you want to start.
- <job_id> — ID of the backup job that you want to start.
TIP |
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. |
For example:
$ veeamconfig job start --name SystemBackup |
Veeam Agent will immediately start the backup job. You can check the backup job session status or view the backup job session log using the Veeam Agent command line interface.
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 |
Note |
Consider the following about job queue:
|