Starting Backup Job from Command Line Interface
You can start a backup job with the 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 |
Consider the following:
|
For example:
$ veeamconfig job start --name SystemBackup |
You can check the backup job session status or view the backup job session log using the Veeam Agent command line interface.
You can also monitor the backup job performance in the Veeam Agent control panel. To learn more, see Viewing Real-Time Job Session Statistics.
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 DailyBackup |
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 DailyBackup Backup {10e8c599-b2aa-4008-89d9-af9b6e04aeba} Pending |
Note |
Consider the following about job queue:
|