Exporting Backups

You can export the backup file to a virtual disk in the VHD format. When you export a backup, you export to a virtual disk data pertaining to the latest restore point in the backup. The created VHD disk will reflect the state in which backed-up volumes were at the time when the latest restore point was created.

To export backup to a VHD disk:

  1. Start the export process with the following command:

veeamconfig backup export --id <backup_id> --outdir <path>

where:

  • <backup_id> — ID of the backup that you want to export to a virtual disk.
  • <path> — full path to a directory in which you want to save the created virtual disk. Specifying relative paths is not supported.

For example:

user@srv01:~$ veeamconfig backup export --id 45f074d2-d2d9-423d-84e9-8f1798b08d4c  --outdir /home/user/disk
Export has been started.
Session ID: [{5f001367-8937-46e0-a756-449bf9f1a182}].
Logs stored in: [/var/log/veeam/Export/Session_{5f001367-8937-46e0-a756-449bf9f1a182}].

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

veeamconfig session log --id <session_id>

where:

<session_id>ID of the export session.

For example:

user@srv01:~$ veeamconfig session log --id 5f001367-8937-46e0-a756-449bf9f1a182
2016-11-27 11:20:56 UTC {b54af37c-35a6-4807-80d2-0f070f024e69} [info] Job started at 2016-11-27 14:20:56
2016-11-27 11:20:56 UTC {48d699d2-86cf-4a32-b9c8-ab51b8325f3c} [info] Exporting virtual disks content
2016-11-27 11:20:57 UTC {0e2e7d97-f067-4823-8dde-084c401eb62b} [processing] Restoring device: [30460cb5].
2016-11-27 11:22:59 UTC {0e2e7d97-f067-4823-8dde-084c401eb62b} [info] Device [30460cb5] has been exported
2016-11-27 11:23:00 UTC {36f0d0c5-2af7-48d8-abc2-c8ef9aaffc54} [info] Virtual disks content has been exported

You can also check the restore session status with the veeamconfig session info command. To learn more, see Viewing Session Status.

  1. Exported backup will be saved as a virtual disk file in the specified directory. You can check this with a file browser or with the following command:

ls <path>

where:

<path> — path to the directory in which the virtual disk with the backup is saved.

For example:

user@srv01:~$ ls disk/
dev_30460cb5.vhd