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.
To start the process of data restore from a backup file, use the following command:
veeamconfig backup restore --id <backup_id> [--method <1|2|3>] [--ExcludeDirs <dir_list>] |
or
veeamconfig backup restore --path <vbm_path> [--method <1|2|3>] [--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.
- <1|2|3> — restore method to be used during bare metal recovery:
- 1 — Simple. Select this method for environments with simple structure. This restore algorithm recreates logical volumes (LVs) in their latest state without reconstructing the exact distribution of physical partitions by disks.
- 2 — Use PP map. Select this method if you are restoring to the original hardware and want to restore the original physical partition layout. This restore algorithm attempts to restore physical partition allocation as close to the original system as possible.
- 3 — Use order. Select this method to cover complex setups with multiple copies of the same LV. This restore algorithm recreates LVs with greater number of copies first and does not preserve LV devices' major and minor numbers.
If you do not specify the restore method, Veeam Agent will use the default Use order algorithm for bare metal recovery.
- <dir_list> — comma-separated list of directories to exclude during data restore.
For example:
root@srv01:/# veeamconfig backup restore --id 12cfddd6-3bd1-44ae-baa1-653eb909e92e |
Restoring Files from Restore Point
To start the restore process from a restore point, use the following command:
veeamconfig point restore --id <point_id> [--method <1|2|3>] [--ExcludeDirs <dir_list>] |
where:
- <point_id> — ID of the restore point.
- <1|2|3> — restore method to be used during bare metal recovery:
- 1 — Simple. Select this method for environments with simple structure. This restore algorithm recreates logical volumes (LVs) in their latest state without reconstructing the exact distribution of physical partitions by disks.
- 2 — Use PP map. Select this method if you are restoring to the original hardware and want to restore the original physical partition layout. This restore algorithm attempts to restore physical partition allocation as close to the original system as possible.
- 3 — Use order. Keep this default method selected to cover complex setups with multiple copies of the same LV. This restore algorithm recreates LVs with greater number of copies first and does not preserve LV devices' major and minor numbers.
If you do not specify the restore method, Veeam Agent will use the default Use order algorithm for bare metal recovery.
- <dir_list> — comma-separated list of directories to exclude during data restore.
For example:
root@srv01:/# veeamconfig point restore --id 6303185a-37fe-460a-8e6c-65746708fe77 |