Step 3. Start Restore Process
To start the process of volume-level restore from the backup, use the following command:
|
veeamconfig backup restore --id <backup_id> --targetdev <target_volume> --backupdev <volume_in_backup> |
where:
<backup_id>— ID of the backup.<target_volume>— path to a block device that represents a volume on your computer that you want to recover.<volume_in_backup>— path to a block device that represents a volume in the backup.This parameter is optional. If you do not specify this parameter, Veeam Agent will restore from the backup a volume that has the same name as a
<target_volume>.
For example:
|
user@srv01:~$ veeamconfig backup restore --id 4f75bb20-a6b6-4323-9287-1c6c8ceccb6b --targetdev /dev/sdb --backupdev /dev/sda6 Restoring backup. Backup: 4f75bb20-a6b6-4323-9287-1c6c8ceccb6b Devices: Device in current system: [/dev/sdb] In backup: [/dev/sda6]; You are sure? (y/n) y Volume restore from backup has been started. Session ID: [{0b72ef45-4c88-4639-b940-ad3828b1cd4e}]. Logs stored in: [/var/log/veeam/Restore/Session_{0b72ef45-4c88-4639-b940-ad3828b1cd4e}]. |
Important |
|
You can restore a backed-up volume only to a target volume that is not used by your Linux OS (that does not have file system mount points). For example, you can add a new disk to your computer and restore a volume in the backup to this disk. If you want to restore a volume to the location that is crucial for the OS running, you should boot from the Veeam Recovery Media and perform volume-level restore with the Volume Restore wizard. For example, this approach is helpful when you restore the root (/) partition. Alternatively, if the volume is backed-up in the unmounted state, it can be restored without booting from the Veeam Recovery Media. |