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>
- <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 for Linux will restore from the backup a volume that has the same name as a <target_volume>.
user@srv01:~$ veeamconfig backup restore --id 4f75bb20-a6b6-4323-9287-1c6c8ceccb6b --targetdev /dev/sdb --backupdev /dev/sda6
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. To restore a volume to its original location or to another volume used by Linux OS, you should boot from the Veeam Recovery Media and perform volume-level restore with the Volume Restore wizard.