CLI based file-level recovery

Backup agent for Linux servers and workstations on-premises or in the public cloud

CLI based file-level recovery

Veeam Logoby cdesch » Fri Nov 04, 2016 5:16 pm

hi all,

can i use veeamconfig ( backup list / point list / point restore --id ... ) to recover single files / directories to another location on the same VM ?

If yes, could you please give me an example, because i was only able to mount a certain backup point, but not to recover a file inplace or relocated.

thx, Chris
cdesch
Veeam ProPartner
 
Posts: 19
Liked: 6 times
Joined: Wed Jul 06, 2016 11:25 am
Full Name: Christian Desch

Re: CLI based file-level recovery

Veeam Logoby PTide » Fri Nov 04, 2016 9:10 pm

Hi,

Yes, you can. Here is what you should do:

1. List existing points for the particluar backup job:
Code: Select all
veeamconfig point list --backupid %backup_job_id here%

Job name                          Oib UUID                                Type       Created at        Is corrupt
localhost.localdomain BackupJob1  {cf856bd9-b43b-4208-9507-ca3b3252781a}  Full       2016-11-01 17:27  false
localhost.localdomain BackupJob1  {fd7e9123-9abb-42d5-a5ee-4afbee96a8a4}  Increment  2016-11-02 21:52  false
localhost.localdomain BackupJob1  {01f26751-4316-4ac0-8de2-3e3327bbe7f1}  Increment  2016-11-02 21:54  false
localhost.localdomain BackupJob1  {9026451f-bf49-494a-8bf6-8054810803ec}  Increment  2016-11-02 22:03  false


2. Pick the point that you want to restore from and mount it to the directory of your choice:
Code: Select all
veeamconfig point mount --id cf856bd9-b43b-4208-9507-ca3b3252781a --mountdir /example_dir
Restore point is mounted.
Session ID: [{01d667b4-dbd8-4ea5-8ff4-7a79785daa1c}].
Logs stored in: [/var/log/veeam/Mount/Session_20161105_000319_{01d667b4-dbd8-4ea5-8ff4-7a79785daa1c}].


3. Browse the /example_dir to and copy required files/directories from the backup:
Code: Select all
cp -R /example_dir/boot/grub /grub_restored


Thanks
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 2 guests