The problems
Veeam Agent for Linux doesn't seem to be able to capture and re-create complex partitioning or RAID configurations. Instead, you need to prepare the target system manually, which can be quite difficult if it's in a datacenter and your remote access is limited to KVM or some other out-of-band management system.
In addition, the post-restore "fixup" process, in which you check that various system configs are pointing to the correct RAID devices, is difficult to do from a recovery environment.
Finally, the bare metal recovery procedure is so time consuming and inconvenient that it's almost easier to rebuild the system from scratch and restore backed up files manually.
General restore procedure
To illustrate the difficulty, here is a simplified list of steps I'm following:
- Using a CentOS or other LiveCD, boot into a recovery environment.
- Set up the partitions and md RAID devices identically to the source system. I find that the utility sgdisk is ideal for backing up and restoring these configs, assuming the recovery system has network access (but virtually all of them don't).
- Boot the Veeam recovery ISO. Ensure that md RAID is running. Recover the contents of each md device.
- Finally, before booting, check /etc/fstab, /etc/mdadm.conf, and the Grub configuration to ensure all of these are pointing to the correct devices. Regenerating initramfs is usually required as well. Depending on which utilities you need, you may need to boot into a different LiveCD to accomplish these steps.
veeam-agents-for-linux-mac-aix-solaris- ... 67734.html
My questions
- I suppose that the problem of recreating partitions and RAID devices is shared by other backup software. I know how to back up disk configurations and the superblock (which contains info about the RAID config), but how do I restore this to my target system from inside a recovery environment without network access? Is there another tool I can use to handle this?
- Should I be looking at creating custom recovery media to do what I need?
- The sgdisk utility isn't included on the Veeam recovery media. Is there a way for me to add it?
- Does anyone know of any better restoration procedures? Perhaps Veeam can do more than I realize?