Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
kiekar
Influencer
Posts: 19
Liked: never
Joined: Mar 10, 2021 12:19 am
Full Name: Karl Kiesling
Contact:

Command Line Restore Question

Post by kiekar »

Hi,

I'm planning to do a restore using command line but I'm not sure what to put for target_volume and volume_in_backup using below instructions. Just want to make sure

Will <target_volume> be /sda and <volume_in_backup> be sdc1
veeamconfig point restore --id <point_id> --targetdev <target_volume> --backupdev <volume_in_backup>
/sdc1 is where the backup is located and /sda is the volume where the linux server is installed.
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 463.8G 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 100G 0 lvm /
sdb 8:16 1 7.5G 0 disk
├─sdb1 8:17 1 1.3G 0 part
└─sdb2 8:18 1 4.6M 0 part
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 500G 0 part /media/backup
Thanks in advance
rovshan.pashayev
Veeam Software
Posts: 260
Liked: 42 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: Command Line Restore Question

Post by rovshan.pashayev »

Hello,

Use <target_volume> to indicate the volume on your computer that you wish to restore.
On the other hand, <volume_in_backup> refers to the volume located within the backup that you want to use for the restoration process. You can get this information with following command:

Code: Select all

veeamconfig backup show --id <backup_id>
Example:

Code: Select all

      Machine name: example-machine.localhost
         Name:       [sda1]
         Device:     [/dev/sda1]
         FS UUID:    [06522eee-d6c7-48ec-bb21-bacd2aa2806b]
         Offset:     [1048576] bytes (2048 sectors)
         Size:       [16154361856] bytes (31551488 sectors)
         Name:       [sda5]
         Device:     [/dev/sda5]
         FS UUID:    [415c86a1-4b25-4d64-8250-9d3084a95623]
         Offset:     [16156459008] bytes (31555584 sectors)
         Size:       [1022361600] bytes (1996800 sectors)
So, in this example /dev/sda1 and /dev/sda5 could be <volume_in_backup>.

Rovshan.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests