Hi

I would like to create backups of VM's using cron. I have installed and ran 
https://github.com/wefixit-AT/oVirtBackup This works well and saves an image to 
the export domain I created. I can also carry out a full restore from this by 
importing from the export domain and selecting the backup.  The question I have 
is how to do a single file recovery from the backup image. I would like to 
restore /etc/hosts just as an example. What command would I use ?

I am not sure of the layout of the export domain directory

── dom_md
│   ├── ids
│   ├── inbox
│   ├── leases
│   ├── metadata
│   └── outbox
├── images
│   └── 622eb98e-f10b-4e96-bec5-8f0a7e7745fe
│       ├── b47ce8e1-f552-47f8-af56-33a3b8ce7aed
│       └── b47ce8e1-f552-47f8-af56-33a3b8ce7aed.meta
└── master
    ├── tasks
    └── vms
        └── c6e6c49c-c9bc-4683-8b19-d18250b5697b
            └── c6e6c49c-c9bc-4683-8b19-d18250b5697b.ovf

The largest file is found is in images folder so I assume this is the backup 
image ? 

./images/622eb98e-f10b-4e96-bec5-8f0a7e7745fe:
total 2.7G
drwxr-xr-x. 2 vdsm kvm  99 Jan 10 11:48 .
drwxr-xr-x. 3 vdsm kvm  50 Jan 10 11:48 ..
-rw-rw----. 1 vdsm kvm 50G Jan 10 11:51 b47ce8e1-f552-47f8-af56-33a3b8ce7aed
-rw-r--r--. 1 vdsm kvm 269 Jan 10 11:48 
b47ce8e1-f552-47f8-af56-33a3b8ce7aed.meta

# file b47ce8e1-f552-47f8-af56-33a3b8ce7aed
b47ce8e1-f552-47f8-af56-33a3b8ce7aed: x86 boot sector; partition 1: ID=0x83, 
active, starthead 32, startsector 2048, 2097152 sectors; partition 2: ID=0x8e, 
starthead 170, startsector 2099200, 102758400 sectors, code offset 0x63

Any help would be appreciated, I am new to Ovirt

regards
Kevin
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/WVL625J2DC2IIQQVZDKNRBPVSFQ6R3WU/

Reply via email to