I'm currently evaluating the Linux Agent for backing up several CentOS 7 VMs, but I'm having trouble booting these VMs after performing a restoration. What I'd like to find out is whether my intended use of Veeam is supported, or if I'm trying to do something that the software was not designed to do.
The VMs in question are currently running under VMWare virtualization at a manged hosting provider, and I don't have access to the hypervisor itself. However, since I do have root access to each VM, I can successfully install and run the Veeam Linux agent to create backups. This process completes with no trouble, and I've created backups of each system and saved them remotely via NFS.
My ultimate goal is to be able to restore the VMs to another hypervisor in a disaster recovery scenario, and this is where I'm having problems. As part of my testing, I've restored each of my three VMs to a different hypervisor platform (VirtualBox). To try to get them running, I've completed the following steps:
- 1. Created a fresh VM for each system to be restored
2. Booted into the Veeam Linux recovery ISO and did a full disk recovery (which creates the various partitions on the system to match the original configuration)
3. Booted into the CentOS 7 ISO and entered rescue mode, mounted the partitions, and entered a chroot jail
4. Ran dracut to regenerate the initramfs based on the current kernel version: dracut /boot/initramfs-$(uname -r).img $(uname -r)
5. Rebooted
- One system boots and runs fine.
- One system boots and allows login for regular users, but will not allow root to login. It also won't allow a regular user to su to root. Any attempt to login as root causes a PAM error message in /var/log/audit: "requirement "uid >= 1000" not met by user 'root'" . (This error is not present on the original system)
- One system will not boot at all, with dracut displaying the error "Warning: Could not boot. Warning: /dev/disk/by-uuid/[UUID] does not exist"
I have opened a support case for this issue (Case #02683615), but wanted to check here just in case anyone had any feedback. Does anyone know if there's a way to restore VMs to a different hypervisor and get a working system?
Thank you very much for any guidance.