Step 6. Start Restore Process
You can perform data restore in one of the following ways:
- Restore data from a backup. Veeam Agent restores files from the latest restore point. For details, see Restoring Files from Backup.
- Restore data from a restore point. Veeam Agent restores files from a specific point within a backup. For details, see Restoring Files from Restore Point.
Restoring Files from Backup
To start the process of data restore from a backup file, use the following command:
|
veeamconfig backup restore --id <backup_id> [--ExcludeDirs <dir_list>] |
or
|
veeamconfig backup restore --path <vbm_path> [--ExcludeDirs <dir_list>] |
where:
<backup_id>— ID of the backup file.<vbm_path>— path to the metadata file (VBM) of the backup. You can use this option to specify a path to the metadata file of the backup that has not yet been imported into the Veeam Agent database. Veeam Agent will automatically import the backup file from the specified location and start the restore process.<dir_list>— comma-separated list of directories to exclude during data restore.
For example:
|
srv01# veeamconfig backup restore --id 12cfddd6-3bd1-44ae-baa1-653eb909e92e Restoring file-level backup. Backup: [12cfddd6-3bd1-44ae-baa1-653eb909e92e] File-level restore from backup has started. Session ID: [{cab490e6-3744-4a12-b8d6-deff4f1da640}]. Logs stored in: [/var/log/veeam/Restore/Session_{cab490e6-3744-4a12-b8d6-deff4f1da640}]. |
Restoring Files from Restore Point
To start the restore process from a restore point, use the following command:
|
veeamconfig point restore --id <point_id> [--ExcludeDirs <dir_list>] |
where:
<point_id>— ID of the restore point.<dir_list>— comma-separated list of directories to exclude during data restore.
For example:
|
srv01# veeamconfig point restore --id 6303185a-37fe-460a-8e6c-65746708fe77 Restoring point. Restore point: 6303185a-37fe-460a-8e6c-65746708fe77 File-level restore by point has been started. Session ID: [{697d9348-9001-4845-8764-3cc4fb3f296b}]. Logs stored in: [/var/log/veeam/Restore/Session_{697d9348-9001-4845-8764-3cc4fb3f296b}]. |