Create xvda file from XO delta backups?
-
We had a complete failure of SR and need to restore from backup to a complete new cluster. Is there a way to reconstruct a VDI from delta backups that can be imported straight as a template?
-
I'm not sure that I understand. Why not simply restore the VM using the Restore functionality of XO?
-
@Danp There is no SR available for the current pool and the new pool is just a make shift temporary solution that is running regular Xen (no XCP-ng). Is there any script that I can run that will reconstruct it as .xva or .raw format?
-
No, I don't know of a script that will do what you want. I still don't understand why you don't deploy another instance of XO and then use it to restore from backup. What advantage is there to building an XVA / RAW file and then importing it?
-
@Danp I cannot manually call the restore script that XO uses? Or is there some explanation on what steps are taken so I can reproduce it myself?
There's no available SR to restore the VMs to on the old pool as there was a complete failure. I need to rebuild the VDI for export because I am still looking for a place to re-home the VMs and might need to import them into other hypervisors. Can I just zip the largest folder to make a .raw image?
-
@justjosh said in Create xvda file from XO delta backups?:
I cannot manually call the restore script that XO uses?
No, because it isn't a process that is intended to be invoked directly from the CLI by the user. However, there is
xo-cli
, which provides a method for restoring backups from the CLI.Maybe someone else will know how to assist you with creating an XVA from the backup files.
-
@Danp I don't really need something complex. I see the full & delta vhd files in each VM's folder but trying to mount the delta vhd with guestmount throws an error. There has to be a way to fold the delta vhds into the main vhd for the most up to date vhd..