Importing Backups in Command Line Interface

To import a backup using the command line interface:

  1. Start the import process with the following command:

veeamconfig backup import --path <path>

where:

<path> — path to the VBM file of the backup that you want to import.

For example:

user@wrk01:~$ veeamconfig backup import --path /home/share/BackupJob/BackupJob.vbm
Backup has been imported successfully.
Session ID: [{4031f058-766c-4f2c-a7ae-7257adb2929f}].
Logs stored in: [/var/log/veeam/Import/Session_{4031f058-766c-4f2c-a7ae-7257adb2929f}].

  1. You can monitor the import process and result by viewing the import session log with the following command:

veeamconfig session log --id <session_id>

where:

<session_id> — ID of the import session.

For example:

user@wrk01:~$ veeamconfig session log --id 4031f058-766c-4f2c-a7ae-7257adb2929f
2016-11-19 13:21:33 UTC {765af178-a9cc-4596-8bf2-03850c5da1ac} [info] Job started at 2016-11-19 16:21:33
2016-11-19 13:21:33 UTC {6ae2922d-454b-4a8d-a11b-2b5c7a85029d} [info] Importing backup
2016-11-19 13:21:33 UTC {783f40a7-ead7-4555-9c35-545d875990ee} [info] Backup has been imported.

  1. Imported backup will be displayed in the list of backups. To view the list of backups, use the following command:

veeamconfig backup list

For example:

user@wrk01:~$ veeamconfig backup list
Job name            Backup ID                               Repository    Created at
wrk01 SystemBackup  {45f074d2-d2d9-423d-84e9-8f1798b08d4c}  Repository_1  2016-11-11 17:37
wrk01 DocsBackup    {ea64a7e5-038a-4c86-970a-6d59d4cf3968}  Repository_1  2016-11-11 18:30
wrk01 HomeBackup    {4f75bb20-a6b6-4323-9287-1c6c8ceccb6b}  Repository_2  2016-11-15 11:28
BackupJob           {64957b1d-d219-456c-a9cd-9598292c10cd}  Imported      2016-11-19 19:12

 

Page updated 1/23/2024

Page content applies to build 2.2.0.81