On Mon, Jul 30, 2018 at 10:32 AM Igor Zinovik <zinovik.igor@gmail.com> wrote:


пн, 30 июл. 2018 г., 9:54 Daniel Erez <derez@redhat.com>:
On Sun, Jul 29, 2018 at 11:45 AM Igor Zinovik <zinovik.igor@gmail.com> wrote:
  Hello.

I'm trying to implement following backup scenario for my VMs:
storage domain is a volume on netapp appliance connected to oVirt cluster
via NFS3. Netapp produces its zero copy snapshots of this volume.
I want to be able to restore VMs from these snapshots, e.g.
Netapp can export snapshot to ovirt as another NFS volume after that
I want to be able to import VM or attach VM disks from snapshot volume
to VM and start it. As far as I understand it is basic backup|migration scenario
when user wants to move VMs from one ovirt DC to another ovirt DC.

Right now I cannot import snapshot volume which contains exactly same domain
metadata (in dom_dm/ directory) as original volume (which I cannot detach since
it hosts disks for running VMs). I tried to rename dom_md/, but with no success in
domain import process.

Maybe someone in this list uses same scenario for VM backup and can give some advice.

Hi Zinovik,

Have you tried using the scan disks procedure[*] (which scans the domain for unregistered floating disks)?
You can find it under 'Storage -> Domains -> Disks -> "Scan Disks" button (in the Kebab Menu)'.


I cannot even attach snapshot volume.
Disks scanning is available only for attached storage domains.

In order to import an existing storage domain, the old domain should be removed first.
If you need to import just a single vm/disk, you can use the upload flow:
https://ovirt.org/develop/release-management/features/storage/backup-restore-disk-snapshots/
Or, if relevant, use the backup API integration:
https://www.ovirt.org/develop/release-management/features/storage/backup-restore-api-integration/
 

 
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/MRIYFKQTTC4NNTOIMZ5G676EQQEUBFNV/