Backup / Restore on another OpenNebula instance

Hello,

i am asking this here because I could not find a way to achieve what I am trying to.

I am successfully backing up VM disks using rsync on a TrueNAS server used as rhe datastore backend.

Restoring also works as expected.

However, I am wondering if it is possible to access and restore rhose VM backups from another instance, as this would be very helpful to complete the reinstallation of my host.

I am not saying that this is necessarily expected to work, just asking to get some insights.

Thank you in advance for your help.


Versions of the related components and OS (frontend, hypervisors, VMs):

I am running a hyperconverged host, which has Frontend and KVM hypervisor.

OpenNebula version: 7.0.1

OS: Ubuntu 22.04 LTS

Steps to reproduce:

Backup a VM on the rsync datastore.

Add the same rsync datastore to another instance.

Current results:

The backup list is empty on the second OpenNebula instance.

Expected results:

The backups should/could be shown on the second instance.

2 Likes

Hello @Samuel_Lemoine,

Apologies for the late reply.
In 7.0.1, backup metadata is currently stored in the OpenNebula frontend database, not in the backup datastore itself.

So the second instance has no DB records for those backups, therefore:

  • the Backup tab will be empty
  • and no restores are possible from the UI.

Also 7.0.1 does not support importing or re-registering backups into a different OpenNebula installation.

Because of this, simply attaching the backup datastore to another frontend will never populate the backup list.

If your use case needs this, please let us know, and we can check if there’s any workaround.

Regards,

Are there any plans to implement a feature to import backups to a different Opennebula front-end or to re-register a backup datastore properly? This would be very handy to have in the case of disaster recovery or when you want to test a VM with an issue in a separate environment.

1 Like

Hello @dbar,

Could you please take a look on the documentation:
Backup System Overview,
And let us know what is the use case you are looking?, on which situation you’ll need to import a backup to a different front-end?

Regards,