[ovirt-users] Backup bug in latest version

2024-06-13 Thread Giulio Casella

Hi,
yesterday we upgraded engine:

ovirt-engine-4.5.7-0.master.20240506114300.git0a1ba8203f.el8.noarch -> 
ovirt-engine-4.5.7-0.master.20240527152413.gited023e5e0a.el8.noarch


Since then our backups (made by Storware backup and recovery, vprotect) 
are failing.
It seems that engine tries to add backup twice, and db primary key 
constraint obviously fails. Find below a snippet from engine.log.


The snapshot part of backup process is executed correctly (but snapshot 
named "Auto-generated for Backup VM" remains after failure).


Also script 
/usr/share/doc/python3-ovirt-engine-sdk4/examples/backup_vm.py fails to 
finalize/terminate backup.


Has anyone seen this and filed a bug on github?

--
2024-06-13 10:36:47,481+02 INFO 
[org.ovirt.engine.core.bll.storage.backup.HybridBackupCommand] (default 
task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[09db7fdc-c4d3-4fbd-a50e-1b04de2b1341=DISK, 
32f9b481-8431-4cbc-ad3e-bb226374e693=DISK]', sharedLocks=''}'
2024-06-13 10:36:47,535+02 INFO 
[org.ovirt.engine.core.bll.storage.backup.HybridBackupCommand] (default 
task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Running command: 
HybridBackupCommand internal: false. Entities affected :  ID: 
dc6d9b23-e2f7-4744-a633-d4e532ef190f Type: VMAction group BACKUP_DISK 
with role type ADMIN,  ID: 09db7fdc-c4d3-4fbd-a50e-1b04de2b1341 Type: 
DiskAction group BACKUP_DISK with role type ADMIN,  ID: 
32f9b481-8431-4cbc-ad3e-bb226374e693 Type: DiskAction group BACKUP_DISK 
with role type ADMIN
2024-06-13 10:36:47,541+02 INFO 
[org.ovirt.engine.core.bll.storage.backup.HybridBackupCommand] (default 
task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Created VmBackup entity 
'd5bed8c5-f172-47c7-9827-5dda51490ee8' for VM 
'dc6d9b23-e2f7-4744-a633-d4e532ef190f'
2024-06-13 10:36:47,596+02 INFO 
[org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand] 
(default task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Lock Acquired to 
object 
'EngineLock:{exclusiveLocks='[dc6d9b23-e2f7-4744-a633-d4e532ef190f=VM]', 
sharedLocks=''}'
2024-06-13 10:36:47,640+02 INFO 
[org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand] 
(default task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Running command: 
CreateSnapshotForVmCommand internal: true. Entities affected :  ID: 
dc6d9b23-e2f7-4744-a633-d4e532ef190f Type: VMAction group 
MANIPULATE_VM_SNAPSHOTS with role type USER
2024-06-13 10:36:47,668+02 INFO 
[org.ovirt.engine.core.bll.snapshots.CreateSnapshotDiskCommand] (default 
task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Running command: 
CreateSnapshotDiskCommand internal: true. Entities affected :  ID: 
dc6d9b23-e2f7-4744-a633-d4e532ef190f Type: VMAction group 
MANIPULATE_VM_SNAPSHOTS with role type USER
2024-06-13 10:36:47,731+02 INFO 
[org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default 
task-8) [38c00ae1-a837-4758-85a9-ee9943395753] Running command: 
CreateSnapshotCommand internal: true. Entities affected :  ID: 
---- Type: Storage
2024-06-13 10:36:47,767+02 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateVolumeVDSCommand] 
(default task-8) [38c00ae1-a837-4758-85a9-ee9943395753] START, 
CreateVolumeVDSCommand( 
CreateVolumeVDSCommandParameters:{storagePoolId='42135536-980b-4ea9-ab66-b850ed8c1f2b', 
ignoreFailoverLimit='false', 
storageDomainId='459011cf-ebb6-46ff-831d-8ccfafd82c8a', 
imageGroupId='32f9b481-8431-4cbc-ad3e-bb226374e693', 
imageSizeInBytes='107374182400', volumeFormat='COW', 
newImageId='754b091f-eaa9-4fd8-afbf-1caa0e747eb6', imageType='Sparse', 
newImageDescription='', imageInitialSizeInBytes='0', 
imageId='06289dbc-fc0a-4d7b-bd13-92a2df199971', 
sourceImageGroupId='32f9b481-8431-4cbc-ad3e-bb226374e693', 
shouldAddBitmaps='false', legal='true', sequenceNumber='1', 
bitmap='bf62fab5-fb82-4c03-ac60-ddb9943c9f0d'}), log id: 128fa930
2024-06-13 10:36:47,883+02 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateVolumeVDSCommand] 
(default task-8) [38c00ae1-a837-4758-85a9-ee9943395753] FINISH, 
CreateVolumeVDSCommand, return: 754b091f-eaa9-4fd8-afbf-1caa0e747eb6, 
log id: 128fa930
2024-06-13 10:36:47,895+02 INFO 
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (default task-8) 
[38c00ae1-a837-4758-85a9-ee9943395753] CommandAsyncTask::Adding 
CommandMultiAsyncTasks object for command 
'43b174d8-3b84-46a3-abe6-e825e9ce7c81'
2024-06-13 10:36:47,896+02 INFO 
[org.ovirt.engine.core.bll.CommandMultiAsyncTasks] (default task-8) 
[38c00ae1-a837-4758-85a9-ee9943395753] 
CommandMultiAsyncTasks::attachTask: Attaching task 
'86720608-b5bd-4a28-b7ee-b1a3507592aa' to command 
'43b174d8-3b84-46a3-abe6-e825e9ce7c81'.
2024-06-13 10:36:47,918+02 INFO 
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager] (default task-8) 
[38c00ae1-a837-4758-85a9-ee9943395753] Adding task 
'86720608-b5bd-4a28-b7ee-b1a3507592aa' (Parent Command 'CreateSnapshot', 
Parameters Type 
'org.ovirt.engine.core.comm

[ovirt-users] Backup/restore of Hosted Engine VM

2022-09-26 Thread Volenbovskyi, Konstantin
Hi,

I am aware that there is a procedure of backup/restore documented in 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/self-hosted_engine_guide/backing_up_and_restoring_a_self-hosted_engine
 , but I would like to have also else as well when it comes to backup (and 
restore) of hosted engine VM and avoid using hosted-engine --deploy / 
engine-backup

Is anyone doing Libvirt snapshot or any other similar thing to back up ovengine 
VM?
Part of that is the XML of the HE VM should be intact, so currently I am 
considering 
https://libvirt.org/kbase/live_full_disk_backup.html#full-backup-with-older-libvirt-versions
and https://gist.github.com/cabal95/e36c06e716d3328b512

BR,
Konstantin
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6ZT6UPL73EC3ERZD5VPN6NKHC53XJNQN/


[ovirt-users] Backup prozess

2022-02-14 Thread marcel d'heureuse
Moin,

We have in our Environment 12 servers managed by one self hosted engine. It is 
ovirt 4.3.9. We are Freizeit on that Version.

How did you make Backups? We use a github Script which generate via api a 
snapshot and Mount this disk into the vm where the backup Script is running. 
The backup Script Export this additional Hard disk to a storage and disconnect 
the disk and remove the snapshot.

This works on Linux vm fine if they have Medium load. If we try this with a 
Windows 10 vm or Windows Server vm or a Linux vm with high load or with a very 
big Hard drive this will not work. Disk can't Export and snapshot will not 
delete. 

I have found winchin and bareos but I have not start to check this first I want 
to have some more possible options. 

Thanks

Marcel
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/N2WKXI4VAQFS6S6DJLUHQLZ3LS3I4RUX/


[ovirt-users] Backup to tape

2021-08-24 Thread duparchy
Hi, 

Part of our Disaster Recovery Plan we do tape backup.

Our previous infrastructure was Oracle VM and VMs fisk were files (.img) we 
could apply filters to our tar and backup to tape only required files.

Now preparing the migration to Oracle flavor of oVirt (OLVM).  
VMs disks are LVM partitions, within  an iSCSI LUNs.

I've tested "dd" to backup  the entire iSCSI LUN to the tape. Seems OK 
,providing the right block size we achieve reasonable performances.
Though I don't quite see how to have that granular backup we had, in a simple 
manner, which a goal too.

Although there is compression at the LTO level, the dd conv=sparse parameter 
may speed-up things. To be tested.
I'm just wondering if conv=sparse may breaks things at the LVM / qcow2 
containers ?




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5XPQHPXBANCXUAU62LE2UMZJRZZ7JH76/


[ovirt-users] Backup software recommendations

2020-04-30 Thread Colin Coe
Hi all

I'm looking for recommendations for backup software.  It needs to handle
physical and virtual Linux and Windows, RHV and Hyper-V.

It doesn't have to be open source and it doesn't have to be free.

The main features we need are:
- disk to disk backups
- inter-site replication with rate limiting
- be able to handle Linux thin volumes (think RHGS)
- support BMR ans granular file / directory restore
- correctly handle Windows VSS
- support RHEL point releases as soon as they are released

I'm as much after "stay away from" as recommendations.

We currently use Arcserve UDP and it is ... well ... sub optimal

Thanks in advance

CC
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ODNLL3HBOPNPNKEMQ5SSXPSTSD4F6RVP/


[ovirt-users] backup

2020-02-17 Thread Nazan CENGİZ
Hi all,

I am trying https://github.com/vacosta94/VirtBKP.

ovirt version:4.3.5

my config file;

[bkp]
url = https://xxx/ovirt-engine/api
user= admin@internal
password= yyy
ca_file = /opt/VirtBKP/ca.crt
bkpvm   = VirtBKM
bckdir  = /mnt/backup

[restore]
url = https:/xxx/ovirt-engine/api
user= admin@internal
password= yyy
ca_file = ca.crt
storage = hosted_storage(storage domain name for new vm???)
proxy   = xxx(engine FQDN)
proxyport   = 54323


Fail on below;


[root@virtbkp VirtBKP]# /opt/VirtBKP/backup_vm.py default.conf Bacchus
[OK] Connection to oVIrt API success 
https://ovirtengine2.5ghvl.local/ovirt-engi 
ne/api
[INFO] Trying to create snapshot of VM: 8a95f435-94dd-4a69-aed0-46395bcbd082
[INFO] Waiting until snapshot creation ends
[INFO] Waiting until snapshot creation ends
[OK] Snapshot created
[INFO] Trying to create a qcow2 file of disk 
aa564596-fd33-4734-8050-0f82130a677b
[INFO] Attach snap disk to bkpvm
Traceback (most recent call last):
  File "/opt/VirtBKP/backup_vm.py", line 6, in 
b.main()
  File "/opt/VirtBKP/backup_vm_last.py", line 242, in main
self.backup(self.vmid,self.snapid,disk_id,self.bkpvm)
  File "/opt/VirtBKP/backup_vm_last.py", line 210, in backup
self.attach_disk(bkpvm,disk_id,snapid)
  File "/opt/VirtBKP/backup_vm_last.py", line 123, in attach_disk
resp_attach = requests.post(urlattach, data=xmlattach, headers=headers, 
verify=False, auth=(self.user,self.password))
  File "/usr/lib/python2.7/site-packages/requests/api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 498, in 
request
prep = self.prepare_request(req)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 441, in 
prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
  File "/usr/lib/python2.7/site-packages/requests/models.py", line 309, in 
prepare
self.prepare_url(url, params)
  File "/usr/lib/python2.7/site-packages/requests/models.py", line 377, in 
prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: 
https://ovirtengine2.5ghvl.local/ovirt-engine/api/v3/vms/13d45c7f-7812-4f01-9bd8-a3e8ff91c15b/disks/




[cid:imageaec16d.PNG@45f7abd5.42935efe] 
[cid:image18fddf.JPG@d09bcf00.45bddac6]
Nazan CENGİZ
AR-GE MÜHENDİSİ
Mustafa Kemal Mahallesi 2120 Cad. No:39 06510 Çankaya Ankara TÜRKİYE
[cid:image0149e5.PNG@59a3254a.4b8a79be] +90 312 219 57 87   
[cid:image71c9d4.PNG@6aa43e9d.46b24ebe] +90 312 219 57 97


[cid:imagebc8991.JPG@fe1bbae1.41bc2c01]
YASAL UYARI: Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul 
ve Şartlar dokümanına tabidir. 

LEGAL NOTICE: This e-mail is subject to the Terms and Conditions document which 
can be accessed with this link. 


[http://www.havelsan.com.tr/Library/images/mail/email.jpg]  Lütfen 
gerekmedikçe bu sayfa ve eklerini yazdırmayınız / Please consider the 
environment before printing this email


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/NDLWEVOS6MEASC5KUDSMYZIKCH7NHVNB/


[ovirt-users] Backup Solution

2020-02-06 Thread Christian Reiss

Hey folks,

Running a 3-way HCI (again (sigh)) on gluster. Now the _inside_ of the 
vms is backup'ed seperatly using bareos on an hourly basis, so files are 
present with worst case 59 minutes data loss.


Now, on the outside I thought of doing gluster snapshots and then 
syncing those .snap dirs away to a remote 10gig connected machine on a 
weekly-or-so basis. As those contents of the snaps are the oVirt images 
(entire DC) I could re-setup gluster and copy those files back into 
gluster and be done with it.


Now some questions, if I may:

 - If the hosts remain intact but gluster dies, I simply setup Gluster, 
stop the ovirt engine (seperate standalone hardware) copy everything 
back and start ovirt engine again. All disks are accessible again 
(tested). The bricks are marked as down (new bricks, same name). There 
is a "reset brick" button that made the bricks come back online again. 
What _exactly_ does it do? Does it reset the brick info in oVirt or copy 
all the data over from another node and really, really reset the brick?


- If the hosts remain intact, but the engine dies: Can I re-attach the 
engine the the running cluster?


- If hosts and engine dies and everything needs to be re-setup would it 
be possible to do the setup wizard(s) again up to a running point then 
copy the disk images to the new gluster-dc-data-dir? Would oVirt rescan 
the dir for newly found vms?


- If _one_ host dies, but 2 and the engine remain online: Whats the 
oVirt way of resetting up the failed one? Reinstalling the node and then 
what? From all the cases above this is the most likely one.


Having had to reinstall the entire Cluster three times already scares 
me. Always gluster related.


Again thank you community for your great efforts!


--
with kind regards,
mit freundlichen Gruessen,

Christian Reiss
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/A4IVGFXXYQI4GSFINR4OZVHBYIG3RUQ5/


[ovirt-users] Backup VMs to external USB Disk

2019-04-01 Thread daniel94 . oeller
Hi all,
I'm new in Ovirt and have tested a lot of things how to backup my VMS to a 
external USB Disk.

How have you solved this Problem - have anybody a Tutorial or something similar 
for me?

Thanks for your helps.

Daniel
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/UWRIZGJHQULNV47Y6DQ2CHFL2PGP2423/


[ovirt-users] Backup Ovirt VMs with Python not working

2019-03-20 Thread daniel94 . oeller
Hello,

I have set up Ovirt Backup how it is explained in this link:
http://blog.infratic.com/create-ovirtrhevs-vm-backup/

I also have changed the settings on the default.conf.

When I started the backup it works until it begins to create the qcow2 file

It writes:
qemu-img: Could not open '/home/DC01/2019-03-20-20/DC01_Disk1.qcow2': Failed to 
get shared "write" lock
Is another process using the image?

Have anyone ideas and can help me?

Thanks
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/RYYI77SBCUYBNRAG74NWDSQOSAB7TWXN/


[ovirt-users] Backup Strategies

2018-07-24 Thread Markus Schaufler
Hi!

We use in our test infrastructure a NetApp shared fc storage and wonder how a 
backup strategie could look like.
Full backups aren't the problem - trigger HV Snapshots including guest FS 
freeze / quiece, trigger NetApp Snapshot, delete HV Snapshots.

Currently I'm struggeling on how to recover those Backups. I would provide the 
Snapshot volume to the hosts and import it as a new data domain, so the hosts 
have the snapshot disks as logical volumes. But how could I recover 
respectively move the content of the snapshot volumes onto the currently used 
vm "disk volumes"?
If I have the proof of concept then scripting it to make this process more 
comfortable wouldn't be a problem. 

How do you do your backups with shared san? How can I provide incremental 
Backups?

Thanks for any help!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/6EKWFWOCPLR2EORP4IBI72KEKH6RXTDC/


[ovirt-users] Backup VMs on oVirt 4.2+ with Disk image transfer

2018-06-06 Thread wodel youchi
Hi,

I am testing a product that can interface with oVirt API to backup VMs.

The product can use v3 API (for oVirt 3.5.1+) with a proxy VM on oVirt to
backup the VMs to the Export domain.

And it can use v4 API (for oVirt 4+) to backup VMs, and it offers two
methods for that :

   - for oVirt 4+ it can use Disk attachment mode, this mode uses a proxy
   VM on oVirt to attach the snapshot of the VM to be backed-up, and then the
   proxy VM can do the backup of the disk or communicate with an external
   backup software. This mode offers only full backups (pretty similar to v3).



   - for oVirt 4.2+ it can use Disk image transfer, this mode does not need
   a proxy VM, it exports data directly using the oVirt 4.2+ API to the backup
   server, and uses snapshot-chains provided by the new RHV/oVirt, which make
   it possible to have incremental VMs backups.

I cannot get any documentation about the later approach (Disk image
transfer), and my question is : what network does this approach uses to
transfer the backup stream, is it ovirtmgmt network since we're talking to
the API?

My concern is about the bandwidth of this network, especially when
backing-up huge and multiple VMs.

Regards.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/ZOY3XBVRQ6DKPJLUQ5XKH64FZZL7VCOK/


Re: [ovirt-users] Backup & Restore

2018-03-01 Thread suporte
Yes, it happens in a clean machine. I try it twice and restore always fails. 


From: "Yedidyah Bar David"  
To: supo...@logicworks.pt, "Eli Mesika"  
Cc: "ovirt users"  
Sent: Thursday, March 1, 2018 7:28:13 AM 
Subject: Re: [ovirt-users] Backup & Restore 

On Wed, Feb 28, 2018 at 4:44 PM,  wrote: 
> If I run 
> 
> # engine-backup --mode=restore --file=back_futur --log=log_futur 
> --provision-db --restore-permissions --provision-dwh-db --log=/root/rest-log 
> 
> to create a log, I found these errors: 
> 
> 2018-02-28 14:36:31 6339: pg_cmd running: psql -w -U ovirt_engine_history -h 
> localhost -p 5432 ovirt_engine_history -t -c show lc_messages 
> 2018-02-28 14:36:31 6339: pg_cmd running: pg_dump -w -U ovirt_engine_history 
> -h localhost -p 5432 ovirt_engine_history -s 
> 2018-02-28 14:36:31 6339: OUTPUT: - Engine database 'engine' 
> 2018-02-28 14:36:31 6339: Restoring engine database backup at 
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db 
> 2018-02-28 14:36:31 6339: restoreDB: backupfile 
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db user engine host localhost 
> port 5432 database engine orig_user compressor format custom jobsnum 2 
> 2018-02-28 14:36:31 6339: pg_cmd running: pg_restore -w -U engine -h 
> localhost -p 5432 -d engine -j 2 
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db 
> pg_restore: [archiver (db)] Error while PROCESSING TOC: 
> pg_restore: [archiver (db)] Error from TOC entry 7314; 0 0 COMMENT EXTENSION 
> plpgsql 
> pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of 
> extension plpgsql 
> Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; 
> 
> 
> 
> pg_restore: [archiver (db)] Error from TOC entry 693; 1255 211334 FUNCTION 
> uuid_generate_v1() engine 
> pg_restore: [archiver (db)] could not execute query: ERROR: function 
> "uuid_generate_v1" already exists with same argument types 

This is the error that fails you. I have a pending patch to make this more 
visible in the log [1], need to find time to verify it... 

Does this happen on a clean machine? Perhaps 'engine-cleanup' after such 
a failed restore is not enough. Please try reinstalling the OS and trying 
again. 

If it's not an important machine (test/dev/etc), this will probably be 
enough, as a faster replacement for a full OS reinstall: 

engine-cleanup 
systemctl stop postgresql 
systemctl stop rh-postgresql95-postgresql 
rm -rf /var/lib/pgsql/data /var/opt/rh/rh-postgresql95/lib/pgsql/data 

Then try restore again. 

[1] https://gerrit.ovirt.org/86395 

> Command was: CREATE FUNCTION uuid_generate_v1() RETURNS uuid 
> LANGUAGE plpgsql STABLE 
> AS ' 
> DECLARE 
> v_val BIGINT; 
> v_4_1_par... 
> pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of 
> function uuid_generate_v1 
> Command was: ALTER FUNCTION public.uuid_generate_v1() OWNER TO engine; 

Adding also Eli. Eli - perhaps we need to patch engine-backup to ignore 
also this error? I think the minimal flow to reproduce is: 

engine-setup 
engine-backup --mode=backup --file=f1 --log=l1 
engine-cleanup 
engine-backup --mode=restore --file=f1 --provision-db 
--provision-dwh-db --log=l2 

Didn't try this myself. 

> 
> 
> pg_restore: WARNING: column "user_role_title" has type "unknown" 
> DETAIL: Proceeding with relation creation anyway. 
> pg_restore: WARNING: no privileges could be revoked for "public" 
> pg_restore: WARNING: no privileges could be revoked for "public" 
> pg_restore: WARNING: no privileges were granted for "public" 
> pg_restore: WARNING: no privileges were granted for "public" 
> WARNING: errors ignored on restore: 3 
> 2018-02-28 14:37:23 6339: FATAL: Errors while restoring database engine 
> 
>  
> De: supo...@logicworks.pt 
> Para: "Yedidyah Bar David"  
> Cc: "ovirt users"  
> Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:45:04 
> 
> Assunto: Re: [ovirt-users] Backup & Restore 
> 
> Still no luck: 
> 
> # engine-backup --mode=restore --file=back_futur --log=log_futur 
> --provision-db --restore-permissions --provision-dwh-db 
> Preparing to restore: 
> - Unpacking file 'back_futur' 
> Restoring: 
> - Files 
> Provisioning PostgreSQL users/databases: 
> - user 'engine', database 'engine' 
> - user 'ovirt_engine_history', database 'ovirt_engine_history' 
> Restoring: 
> - Engine database 'engine' 
> FATAL: Errors while restoring database engine 
> 
> I did a engine-cleanup, try it again but still the same error. 
> 
> __

Re: [ovirt-users] Backup & Restore

2018-02-28 Thread Yedidyah Bar David
On Wed, Feb 28, 2018 at 4:44 PM,   wrote:
> If I run
>
> # engine-backup --mode=restore --file=back_futur --log=log_futur
> --provision-db --restore-permissions --provision-dwh-db --log=/root/rest-log
>
> to create a log, I found these errors:
>
> 2018-02-28 14:36:31 6339: pg_cmd running: psql -w -U ovirt_engine_history -h
> localhost -p 5432 ovirt_engine_history -t -c show lc_messages
> 2018-02-28 14:36:31 6339: pg_cmd running: pg_dump -w -U ovirt_engine_history
> -h localhost -p 5432 ovirt_engine_history -s
> 2018-02-28 14:36:31 6339: OUTPUT: - Engine database 'engine'
> 2018-02-28 14:36:31 6339: Restoring engine database backup at
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db
> 2018-02-28 14:36:31 6339: restoreDB: backupfile
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db user engine host localhost
> port 5432 database engine orig_user compressor format custom jobsnum 2
> 2018-02-28 14:36:31 6339: pg_cmd running: pg_restore -w -U engine -h
> localhost -p 5432 -d engine -j 2
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db
> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 7314; 0 0 COMMENT EXTENSION
> plpgsql
> pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of
> extension plpgsql
> Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
>
>
>
> pg_restore: [archiver (db)] Error from TOC entry 693; 1255 211334 FUNCTION
> uuid_generate_v1() engine
> pg_restore: [archiver (db)] could not execute query: ERROR: function
> "uuid_generate_v1" already exists with same argument types

This is the error that fails you. I have a pending patch to make this more
visible in the log [1], need to find time to verify it...

Does this happen on a clean machine? Perhaps 'engine-cleanup' after such
a failed restore is not enough. Please try reinstalling the OS and trying
again.

If it's not an important machine (test/dev/etc), this will probably be
enough, as a faster replacement for a full OS reinstall:

engine-cleanup
systemctl stop postgresql
systemctl stop rh-postgresql95-postgresql
rm -rf /var/lib/pgsql/data /var/opt/rh/rh-postgresql95/lib/pgsql/data

Then try restore again.

[1] https://gerrit.ovirt.org/86395

> Command was: CREATE FUNCTION uuid_generate_v1() RETURNS uuid
> LANGUAGE plpgsql STABLE
> AS '
> DECLARE
> v_val BIGINT;
> v_4_1_par...
> pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of
> function uuid_generate_v1
> Command was: ALTER FUNCTION public.uuid_generate_v1() OWNER TO engine;

Adding also Eli. Eli - perhaps we need to patch engine-backup to ignore
also this error? I think the minimal flow to reproduce is:

engine-setup
engine-backup --mode=backup --file=f1 --log=l1
engine-cleanup
engine-backup --mode=restore --file=f1 --provision-db
--provision-dwh-db --log=l2

Didn't try this myself.

>
>
> pg_restore: WARNING: column "user_role_title" has type "unknown"
> DETAIL: Proceeding with relation creation anyway.
> pg_restore: WARNING: no privileges could be revoked for "public"
> pg_restore: WARNING: no privileges could be revoked for "public"
> pg_restore: WARNING: no privileges were granted for "public"
> pg_restore: WARNING: no privileges were granted for "public"
> WARNING: errors ignored on restore: 3
> 2018-02-28 14:37:23 6339: FATAL: Errors while restoring database engine
>
> 
> De: supo...@logicworks.pt
> Para: "Yedidyah Bar David" 
> Cc: "ovirt users" 
> Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:45:04
>
> Assunto: Re: [ovirt-users] Backup & Restore
>
> Still no luck:
>
> # engine-backup --mode=restore --file=back_futur --log=log_futur
> --provision-db --restore-permissions --provision-dwh-db
> Preparing to restore:
> - Unpacking file 'back_futur'
> Restoring:
> - Files
> Provisioning PostgreSQL users/databases:
> - user 'engine', database 'engine'
> - user 'ovirt_engine_history', database 'ovirt_engine_history'
> Restoring:
> - Engine database 'engine'
> FATAL: Errors while restoring database engine
>
> I did a engine-cleanup, try it again but still the same error.
>
> 
> De: "Yedidyah Bar David" 
> Para: supo...@logicworks.pt
> Cc: "ovirt users" 
> Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50
> Assunto: Re: [ovirt-users] Backup & Restore
>
> On Wed, Feb 28, 2018 at 2:10 PM,   wrote:
>> Hi,
>>
>> I'm testing backup & restore on Ovirt 4.2.
>> I follow this doc
&g

Re: [ovirt-users] Backup & Restore

2018-02-28 Thread suporte
If I run 

# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db 
--restore-permissions --provision-dwh-db --log=/root/rest-log 

to create a log, I found these errors: 

2018-02-28 14:36:31 6339: pg_cmd running: psql -w -U ovirt_engine_history -h 
localhost -p 5432 ovirt_engine_history -t -c show lc_messages 
2018-02-28 14:36:31 6339: pg_cmd running: pg_dump -w -U ovirt_engine_history -h 
localhost -p 5432 ovirt_engine_history -s 
2018-02-28 14:36:31 6339: OUTPUT: - Engine database 'engine' 
2018-02-28 14:36:31 6339: Restoring engine database backup at 
/tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db 
2018-02-28 14:36:31 6339: restoreDB: backupfile 
/tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db user engine host localhost 
port 5432 database engine orig_user compressor format custom jobsnum 2 
2018-02-28 14:36:31 6339: pg_cmd running: pg_restore -w -U engine -h localhost 
-p 5432 -d engine -j 2 /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db 
pg_restore: [archiver (db)] Error while PROCESSING TOC: 
pg_restore: [archiver (db)] Error from TOC entry 7314; 0 0 COMMENT EXTENSION 
plpgsql 
pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of 
extension plpgsql 
Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; 



pg_restore: [archiver (db)] Error from TOC entry 693; 1255 211334 FUNCTION 
uuid_generate_v1() engine 
pg_restore: [archiver (db)] could not execute query: ERROR: function 
"uuid_generate_v1" already exists with same argument types 
Command was: CREATE FUNCTION uuid_generate_v1() RETURNS uuid 
LANGUAGE plpgsql STABLE 
AS ' 
DECLARE 
v_val BIGINT; 
v_4_1_par... 
pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of 
function uuid_generate_v1 
Command was: ALTER FUNCTION public.uuid_generate_v1() OWNER TO engine; 


pg_restore: WARNING: column "user_role_title" has type "unknown" 
DETAIL: Proceeding with relation creation anyway. 
pg_restore: WARNING: no privileges could be revoked for "public" 
pg_restore: WARNING: no privileges could be revoked for "public" 
pg_restore: WARNING: no privileges were granted for "public" 
pg_restore: WARNING: no privileges were granted for "public" 
WARNING: errors ignored on restore: 3 
2018-02-28 14:37:23 6339: FATAL: Errors while restoring database engine 


De: supo...@logicworks.pt 
Para: "Yedidyah Bar David"  
Cc: "ovirt users"  
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:45:04 
Assunto: Re: [ovirt-users] Backup & Restore 

Still no luck: 

# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db 
--restore-permissions --provision-dwh-db 
Preparing to restore: 
- Unpacking file 'back_futur' 
Restoring: 
- Files 
Provisioning PostgreSQL users/databases: 
- user 'engine', database 'engine' 
- user 'ovirt_engine_history', database 'ovirt_engine_history' 
Restoring: 
- Engine database 'engine' 
FATAL: Errors while restoring database engine 

I did a engine-cleanup, try it again but still the same error. 


De: "Yedidyah Bar David"  
Para: supo...@logicworks.pt 
Cc: "ovirt users"  
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50 
Assunto: Re: [ovirt-users] Backup & Restore 

On Wed, Feb 28, 2018 at 2:10 PM,  wrote: 
> Hi, 
> 
> I'm testing backup & restore on Ovirt 4.2. 
> I follow this doc 
> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/ 
> Try to restore to a fresh installation but always get this error message: 
> 
> restore-permissions 
> Preparing to restore: 
> - Unpacking file 'back_file' 
> Restoring: 
> - Files 
> Provisioning PostgreSQL users/databases: 
> - user 'engine', database 'engine' 
> Restoring: 
> FATAL: Can't connect to database 'ovirt_engine_history'. Please see 
> '/usr/bin/engine-backup --help'. 
> 
> On the live engine I run # engine-backup --scope=all --mode=backup 
> --file=file_name --log=log_file_name 
> 
> And try to restore on a fresh installation: 
> # engine-backup --mode=restore --file=file_name --log=log_file_name 
> --provision-db --restore-permissions 
> 
> Any Idea? 

Please try adding to restore command '--providion-dwh-db'. Thanks. 
-- 
Didi 

___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup & Restore

2018-02-28 Thread suporte
Still no luck: 

# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db 
--restore-permissions --provision-dwh-db 
Preparing to restore: 
- Unpacking file 'back_futur' 
Restoring: 
- Files 
Provisioning PostgreSQL users/databases: 
- user 'engine', database 'engine' 
- user 'ovirt_engine_history', database 'ovirt_engine_history' 
Restoring: 
- Engine database 'engine' 
FATAL: Errors while restoring database engine 

I did a engine-cleanup, try it again but still the same error. 


De: "Yedidyah Bar David"  
Para: supo...@logicworks.pt 
Cc: "ovirt users"  
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50 
Assunto: Re: [ovirt-users] Backup & Restore 

On Wed, Feb 28, 2018 at 2:10 PM,  wrote: 
> Hi, 
> 
> I'm testing backup & restore on Ovirt 4.2. 
> I follow this doc 
> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/ 
> Try to restore to a fresh installation but always get this error message: 
> 
> restore-permissions 
> Preparing to restore: 
> - Unpacking file 'back_file' 
> Restoring: 
> - Files 
> Provisioning PostgreSQL users/databases: 
> - user 'engine', database 'engine' 
> Restoring: 
> FATAL: Can't connect to database 'ovirt_engine_history'. Please see 
> '/usr/bin/engine-backup --help'. 
> 
> On the live engine I run # engine-backup --scope=all --mode=backup 
> --file=file_name --log=log_file_name 
> 
> And try to restore on a fresh installation: 
> # engine-backup --mode=restore --file=file_name --log=log_file_name 
> --provision-db --restore-permissions 
> 
> Any Idea? 

Please try adding to restore command '--providion-dwh-db'. Thanks. 
-- 
Didi 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup & Restore

2018-02-28 Thread Yedidyah Bar David
On Wed, Feb 28, 2018 at 2:10 PM,   wrote:
> Hi,
>
> I'm testing backup & restore on Ovirt 4.2.
> I follow this doc
> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/
> Try to restore to a fresh installation but always get this error message:
>
> restore-permissions
> Preparing to restore:
> - Unpacking file 'back_file'
> Restoring:
> - Files
> Provisioning PostgreSQL users/databases:
> - user 'engine', database 'engine'
> Restoring:
> FATAL: Can't connect to database 'ovirt_engine_history'. Please see
> '/usr/bin/engine-backup --help'.
>
> On the live engine I run # engine-backup --scope=all --mode=backup
> --file=file_name --log=log_file_name
>
> And try to restore on a fresh installation:
> # engine-backup --mode=restore --file=file_name --log=log_file_name
> --provision-db --restore-permissions
>
> Any Idea?

Please try adding to restore command '--providion-dwh-db'. Thanks.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup & Restore

2018-02-28 Thread suporte
Hi, 

I'm testing backup & restore on Ovirt 4.2. 
I follow this doc 
https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/ 
Try to restore to a fresh installation but always get this error message: 

restore-permissions 
Preparing to restore: 
- Unpacking file 'back_file' 
Restoring: 
- Files 
Provisioning PostgreSQL users/databases: 
- user 'engine', database 'engine' 
Restoring: 
FATAL: Can't connect to database 'ovirt_engine_history'. Please see 
'/usr/bin/engine-backup --help'. 

On the live engine I run # engine-backup --scope=all --mode=backup 
--file=file_name --log=log_file_name 

And try to restore on a fresh installation: 
# engine-backup --mode=restore --file=file_name --log=log_file_name 
--provision-db --restore-permissions 

Any Idea? 

Thanks 



-- 

Jose Ferradeira 
http://www.logicworks.pt 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup oVirt Node configuration

2017-07-18 Thread Fernando Frediani
Folks. I had a need to reinstall a oVirt Node a few times these days. This
imposed reconfigure it all in order to add it back to oVirt Engine.

What is a better way to backup a oVirt Node configuration, for when you
reinstall it or if it fail completelly you just reinstall it and restore
the backed up files with network configuration, UUID, VDSM, etc ?

Thanks
Fernando
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup ovirt engine

2017-05-16 Thread Simone Tiraboschi
On Mon, May 15, 2017 at 5:04 PM,  wrote:

>
> I'm not sure how to backup the Ovirt engine to an external hard drive. I plan 
> on updating to Ovirt 3.6 (as I currently have 3.5), then centOS 7 (currently 
> using centOS 6), and after updating the Ovirt 3.6 to 4.0, but I want to have 
> a backup file on an external drive before going through with the updates.
>
>
The right tool is engine-backup

You should reach 3.6/el6 and then follow this guide to get 4.0/el7:
https://www.ovirt.org/documentation/migration-engine-36-to-40/


>
> Thanks
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup ovirt engine

2017-05-16 Thread andrewzabomb



I'm not sure how to backup the Ovirt engine to an external hard drive. I plan 
on updating to Ovirt 3.6 (as I currently have 3.5), then centOS 7 (currently 
using centOS 6), and after updating the Ovirt 3.6 to 4.0, but I want to have a 
backup file on an external drive before going through with the updates. 


Thanks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] backup-engine 3.6.4.1-1 Files Compressor still broken in Centos 6.7? Work around

2016-04-17 Thread Jack Greene
Of course, I meant "annoying" in a good way ;)

Yep, 'xz' was missing, libs were there but not the compressor

[root@engine1 ~]# rpm -qa | grep xz
xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64

Installed package xz 

[root@engine1 ~]# rpm -qa | grep xz
xz-4.999.9-0.5.beta.20091007git.el6.x86_64
xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64

Backup worked like a charm.  Cheers



On Sun, Apr 17, 2016 at 7:36 AM, Jack Greene  wrote:
> Been trying to run a complete backup on a fresh install to get rid of 
> that annoying alert.

Well, I hope you prefer that over not be able to restore you engine if it dies 
:-)

http://www.ovirt.org/develop/release-management/features/backupawareness/

Believe me, this was done after real people lost data and time, not because 
anyone found it fun to do.

>
>
>
> engine-backup --scope=all
>
>
>
> Kept failing with the error:
>
> 2016-04-17 04:05:31 8742: Creating temp folder 
> /tmp/engine-backup.ymrXeYZay1/tar
>
> 2016-04-17 04:05:31 8742: OUTPUT: - Files
>
> 2016-04-17 04:05:31 8742: Backing up files to 
> /tmp/engine-backup.ymrXeYZay1/tar/files
>
> 2016-04-17 04:05:31 8742: FATAL: Failed backing up /etc/ovirt-engine

Perhaps it's because you do not have 'xz' installed, and engine-backup defaults 
to use xz for the --files-compressor?

It will be fixed in 3.6.5, where engine-backup is packaged separately, with 
proper 'Require:' lines in the spec file:

https://bugzilla.redhat.com/show_bug.cgi?id=1320092
https://gerrit.ovirt.org/55045

Please try installing 'xz' and run engine-backup again. If it fails, please 
report back. Thanks.

>
>
>
> Research shows a bug reported on version 3.6.0 related to the tar 
> options
>
> https://gerrit.ovirt.org/#/c/48596/3/packaging/bin/engine-backup.sh
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1282397
>
>
>
> But a grep of the script shows the changes have been made
>
> [root@engine1 iso]# grep cpSs 
> /usr/share/ovirt-engine/bin/engine-backup.sh
>
> [root@engine1 iso]# grep cpS 
> /usr/share/ovirt-engine/bin/engine-backup.sh
>
> tar -C "${dir}" -cpS"${ARCHIVE_COMPRESS_OPTION}"f "${file}" . 
> >> "${tar_log}" 2>&1
>
> tar -C / --files-from - 
> -cpS"${FILES_COMPRESS_OPTION}"f "${target}" || logdie "Failed backing up 
> ${paths}"
>
>
>
> Verified I had a new version (just re-installed ovirt-engine today)
>
>
>
> ovirt-engine-3.6.4.1-1.el6.noarch
>
> Linux engine1.attlocal.net 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 
> 23
> 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> # ovirt-engine-backup - oVirt engine backup and restore utility
>
> # Copyright (C) 2013-2016 Red Hat, Inc.
>
>
>
> Then I noticed there is an option to turn off –files-compressor.  
> Doing this I was able to get a complete backup.
>
>
>
> [root@engine1 iso]# engine-backup --mode=backup --scope=files
> --file=/mnt/h97m/backup_files_20160417
> --log=/root/backup_files_20160417.log --files-compressor=None
>
> Backing up:
>
> Notifying engine
>
> - Files
>
> Packing into file '/mnt/h97m/backup_files_20160417'
>
> Notifying engine
>
> Done.

That's an option too.

And you do not loose much by using it, because the files tar is compressed 
anyway when the archive is compressed, using gzip by default. 'files' are 
usually very small, compared to the databases, so the difference is not 
significant.

Best,
--
Didi

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] backup-engine 3.6.4.1-1 Files Compressor still broken in Centos 6.7? Work around

2016-04-17 Thread Yedidyah Bar David
On Sun, Apr 17, 2016 at 7:36 AM, Jack Greene  wrote:
> Been trying to run a complete backup on a fresh install to get rid of that
> annoying alert.

Well, I hope you prefer that over not be able to restore you engine if
it dies :-)

http://www.ovirt.org/develop/release-management/features/backupawareness/

Believe me, this was done after real people lost data and time, not
because anyone
found it fun to do.

>
>
>
> engine-backup --scope=all
>
>
>
> Kept failing with the error:
>
> 2016-04-17 04:05:31 8742: Creating temp folder
> /tmp/engine-backup.ymrXeYZay1/tar
>
> 2016-04-17 04:05:31 8742: OUTPUT: - Files
>
> 2016-04-17 04:05:31 8742: Backing up files to
> /tmp/engine-backup.ymrXeYZay1/tar/files
>
> 2016-04-17 04:05:31 8742: FATAL: Failed backing up /etc/ovirt-engine

Perhaps it's because you do not have 'xz' installed, and engine-backup
defaults to use xz for the --files-compressor?

It will be fixed in 3.6.5, where engine-backup is packaged separately,
with proper 'Require:' lines in the spec file:

https://bugzilla.redhat.com/show_bug.cgi?id=1320092
https://gerrit.ovirt.org/55045

Please try installing 'xz' and run engine-backup again. If it fails,
please report back. Thanks.

>
>
>
> Research shows a bug reported on version 3.6.0 related to the tar options
>
> https://gerrit.ovirt.org/#/c/48596/3/packaging/bin/engine-backup.sh
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1282397
>
>
>
> But a grep of the script shows the changes have been made
>
> [root@engine1 iso]# grep cpSs /usr/share/ovirt-engine/bin/engine-backup.sh
>
> [root@engine1 iso]# grep cpS /usr/share/ovirt-engine/bin/engine-backup.sh
>
> tar -C "${dir}" -cpS"${ARCHIVE_COMPRESS_OPTION}"f "${file}" . >>
> "${tar_log}" 2>&1
>
> tar -C / --files-from - -cpS"${FILES_COMPRESS_OPTION}"f
> "${target}" || logdie "Failed backing up ${paths}"
>
>
>
> Verified I had a new version (just re-installed ovirt-engine today)
>
>
>
> ovirt-engine-3.6.4.1-1.el6.noarch
>
> Linux engine1.attlocal.net 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23
> 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> # ovirt-engine-backup - oVirt engine backup and restore utility
>
> # Copyright (C) 2013-2016 Red Hat, Inc.
>
>
>
> Then I noticed there is an option to turn off –files-compressor.  Doing this
> I was able to get a complete backup.
>
>
>
> [root@engine1 iso]# engine-backup --mode=backup --scope=files
> --file=/mnt/h97m/backup_files_20160417
> --log=/root/backup_files_20160417.log --files-compressor=None
>
> Backing up:
>
> Notifying engine
>
> - Files
>
> Packing into file '/mnt/h97m/backup_files_20160417'
>
> Notifying engine
>
> Done.

That's an option too.

And you do not loose much by using it, because the files tar is compressed
anyway when the archive is compressed, using gzip by default. 'files' are
usually very small, compared to the databases, so the difference is not
significant.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] backup-engine 3.6.4.1-1 Files Compressor still broken in Centos 6.7? Work around

2016-04-16 Thread Jack Greene
Been trying to run a complete backup on a fresh install to get rid of that
annoying alert.

 

engine-backup --scope=all

 

Kept failing with the error:

2016-04-17 04:05:31 8742: Creating temp folder
/tmp/engine-backup.ymrXeYZay1/tar

2016-04-17 04:05:31 8742: OUTPUT: - Files

2016-04-17 04:05:31 8742: Backing up files to
/tmp/engine-backup.ymrXeYZay1/tar/files

2016-04-17 04:05:31 8742: FATAL: Failed backing up /etc/ovirt-engine

 

Research shows a bug reported on version 3.6.0 related to the tar options

https://gerrit.ovirt.org/#/c/48596/3/packaging/bin/engine-backup.sh

https://bugzilla.redhat.com/show_bug.cgi?id=1282397

 

But a grep of the script shows the changes have been made

[root@engine1 iso]# grep cpSs /usr/share/ovirt-engine/bin/engine-backup.sh

[root@engine1 iso]# grep cpS /usr/share/ovirt-engine/bin/engine-backup.sh

tar -C "${dir}" -cpS"${ARCHIVE_COMPRESS_OPTION}"f "${file}" . >>
"${tar_log}" 2>&1

tar -C / --files-from - -cpS"${FILES_COMPRESS_OPTION}"f
"${target}" || logdie "Failed backing up ${paths}"

 

Verified I had a new version (just re-installed ovirt-engine today)

 

ovirt-engine-3.6.4.1-1.el6.noarch

Linux engine1.attlocal.net 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

 

# ovirt-engine-backup - oVirt engine backup and restore utility

# Copyright (C) 2013-2016 Red Hat, Inc.

 

Then I noticed there is an option to turn off -files-compressor.  Doing this
I was able to get a complete backup.

 

[root@engine1 iso]# engine-backup --mode=backup --scope=files
--file=/mnt/h97m/backup_files_20160417
--log=/root/backup_files_20160417.log --files-compressor=None

Backing up:

Notifying engine

- Files

Packing into file '/mnt/h97m/backup_files_20160417'

Notifying engine

Done.

[root@engine1 iso]# engine-backup --mode=backup --scope=all
--file=/mnt/h97m/backup_all_20160417  --log=/root/backup_all_20160417.log
--files-compressor=None

Backing up:

Notifying engine

- Files

- Engine database 'engine'

Packing into file '/mnt/h97m/backup_all_20160417'

Notifying engine

Done.

[root@engine1 iso]# service ovirt-engine start

 

Passing this on in case I need the work around again ;)

 

Jack Greene

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup of vm

2015-12-08 Thread Budur Nagaraju
Is there a way to export to qcow format ?

On Tue, Dec 8, 2015 at 2:49 PM,  wrote:

> Hi,
>
> even  online fullbackup's, e.g. :
>
> https://github.com/wefixit-AT/oVirtBackup
>
>
> Tschau,
> Emanuel
>
>
>
> Von:Fred Rolland 
> An:Budur Nagaraju ,
> Kopie:users 
> Datum:    08.12.2015 10:08
> Betreff:Re: [ovirt-users] Backup of vm
> Gesendet von:users-boun...@ovirt.org
> --
>
>
>
> Hi,
>
> You can take a look at Backup/Restore API [1].
> You can also export the VM and disks to an export domain. (The VM needs to
> be down)
>
> Regards,
>
> Fred
>
> [1] *http://www.ovirt.org/Features/Backup-Restore_API_Integration*
> <http://www.ovirt.org/Features/Backup-Restore_API_Integration>
>
> On Tue, Dec 8, 2015 at 10:18 AM, Budur Nagaraju <*nbud...@gmail.com*
> > wrote:
> HI
>
>
> Pls let me know how to take backup of vms and restore in oVirt ?
>
> Thanks,
> Nagaraju
>
>
> ___
> Users mailing list
> *Users@ovirt.org* 
> *http://lists.ovirt.org/mailman/listinfo/users*
> <http://lists.ovirt.org/mailman/listinfo/users>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup of vm

2015-12-08 Thread Fred Rolland
Hi,

You can take a look at Backup/Restore API [1].
You can also export the VM and disks to an export domain. (The VM needs to
be down)

Regards,

Fred

[1] http://www.ovirt.org/Features/Backup-Restore_API_Integration

On Tue, Dec 8, 2015 at 10:18 AM, Budur Nagaraju  wrote:

> HI
>
>
> Pls let me know how to take backup of vms and restore in oVirt ?
>
> Thanks,
> Nagaraju
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup of vm

2015-12-08 Thread Budur Nagaraju
HI


Pls let me know how to take backup of vms and restore in oVirt ?

Thanks,
Nagaraju
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup / Export Storage

2015-10-28 Thread Liron Aravot


- Original Message -
> From: "Soeren Malchow" 
> To: users@ovirt.org
> Sent: Monday, October 19, 2015 3:26:29 PM
> Subject: [ovirt-users] Backup / Export Storage
> 
> Dear all,
> 
> We have a large amount of Vms in the backup/export storage, basically every
> of the approx 50 machines in approx 20-30 generations, the listing (in VM
> Import Tab of the storage) was always very slow, but now i get an error – am
> small popup with a 502.
> 
> I can not even delete Vms to make the storage smaller again.
> 
> Regarding this i have a few questions
> 
> 
> 1. How do i reduce the amount of VMS so that i can access the VM Import
> again ? Can i just delete on storage level ?
> 2. Is there anything i can do to speed up the listing
> 3. Does anyone have an idea how to export the exported (yes :-) ) VMS to
> another storage in a way that they can be accessed and reimported if
> necessary, as far as i know the machines are already ovf formats, i
> would only need to get the name for each machine and write it somehwere
> else, suggestions ?
> Cheers
> Soeren

Hi Soeren,
1. Please attach the vdsm logs so i can inspect if there's an abnormal cause to 
the slowness and if improvement can be done.
2. In the meanwhile, I'd suggest you to increase the config value vdsTimeout to 
a value larger then 180 which is the current max time for a vds operation 
rather than delete it directly from the storage as it's error prone.
3. You can create a new export domain and then copy the ovf and disks to it, 
please check that you copied all you needed and that the import works before 
deleting the source.


Thanks,
Liron.
 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup / Export Storage

2015-10-28 Thread Soeren Malchow
Dear all,

We have a large amount of Vms in the backup/export storage, basically every of 
the approx 50 machines in approx 20-30 generations, the listing (in VM Import 
Tab of the storage) was always very slow, but now i get an error – am small 
popup with a 502.

I can not even delete Vms to make the storage smaller again.

Regarding this i have a few questions

  1.  How do i reduce the amount of VMS so that i can access the VM Import 
again ? Can i just delete on storage level ?
  2.  Is there anything i can do to speed up the listing
  3.  Does anyone have an idea how to export the exported (yes :-) ) VMS to 
another storage in a way that they can be accessed and reimported if necessary, 
as far as i know the machines are already ovf formats, i would only need to get 
the name for each machine and write it somehwere else, suggestions ?

Cheers
Soeren
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup / Export Storage

2015-10-28 Thread Soeren Malchow
Dear all,

We have a large amount of Vms in the backup/export storage, basically every of 
the approx 50 machines in approx 20-30 generations, the listing (in VM Import 
Tab of the storage) was always very slow, but now i get an error – am small 
popup with a 502.

I can not even delete Vms to make the storage smaller again.

Regarding this i have a few questions

  1.  How do i reduce the amount of VMS so that i can access the VM Import 
again ? Can i just delete on storage level ?
  2.  Is there anything i can do to speed up the listing
  3.  Does anyone have an idea how to export the exported (yes :-) ) VMS to 
another storage in a way that they can be accessed and reimported if necessary, 
as far as i know the machines are already ovf formats, i would only need to get 
the name for each machine and write it somehwere else, suggestions ?

Cheers
Soeren
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup storage domain for the meta data ONLY?

2015-10-20 Thread Yaniv Dary
You can backup the engine only.
http://www.ovirt.org/Ovirt-engine-backup
But without the disks, you will not be able to start any VM.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Thu, Sep 24, 2015 at 11:38 AM, Nicolas Ecarnot 
wrote:

> Hi,
>
> In a lab, I have an oVirt test datacenter using a very old SAN (iSCSI
> setup).
> There are very few VM on it, and none of them are in critical.
>
> Some risky maintenance is to be planned on the SAN, and the risk is to
> lose it all.
> To be honnest, to lose these VMs is bearable, but to lose the setup would
> be painful (quite long to set everything back up).
>
> This is not an hosted setup, so I guess most of the config lies in the
> manager, and this part will stay untouched.
>
> My question : Is there any benefit to add an small additionnal temporary
> storage domain where (some unknown by me) meta datas could be duplicated
> (knowing that I have not enough room to export the VM)?
> What additionnal setup would be saved this way?
>
> --
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] backup and restore the vm

2015-09-24 Thread Eli Mesika


- Original Message -
> From: "Budur Nagaraju" 
> To: users@ovirt.org
> Sent: Tuesday, September 22, 2015 1:24:17 PM
> Subject: [ovirt-users] backup and restore the vm
> 
> Hi
> 
> can you pls provide me the tools to backup and restore the vm images in
> Ovirt?

Please take a look at
http://www.ovirt.org/Features/Backup-Restore_API_Integration

> 
> Thanks,
> Nagaraju
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup storage domain for the meta data ONLY?

2015-09-24 Thread Nicolas Ecarnot

Hi,

In a lab, I have an oVirt test datacenter using a very old SAN (iSCSI 
setup).

There are very few VM on it, and none of them are in critical.

Some risky maintenance is to be planned on the SAN, and the risk is to 
lose it all.
To be honnest, to lose these VMs is bearable, but to lose the setup 
would be painful (quite long to set everything back up).


This is not an hosted setup, so I guess most of the config lies in the 
manager, and this part will stay untouched.


My question : Is there any benefit to add an small additionnal temporary 
storage domain where (some unknown by me) meta datas could be duplicated 
(knowing that I have not enough room to export the VM)?

What additionnal setup would be saved this way?

--
Nicolas ECARNOT
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] backup and restore the vm

2015-09-22 Thread Budur Nagaraju
Hi

can you pls provide me the tools to backup and restore the vm images in
Ovirt?

Thanks,
Nagaraju
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup through export and clone

2015-05-19 Thread Soeren Malchow
One small addition: if someone has an idea how to keep the load down even when 
clone within the gluster storage domain, any suggestions are welcome and we 
would test that

From: mailto:users-boun...@ovirt.org>> on behalf of 
Soeren Malchow
Date: Wednesday 20 May 2015 00:19
To: "users@ovirt.org<mailto:users@ovirt.org>"
Subject: [ovirt-users] Backup through export and clone

Dear all,

I am no python developer (basically no developer at all) but i struggled with 
the backup for a while but finally i have a script almost OK for the backup.

Due to the fact that the “snapshot -> export” feature is coming as it seems in 
3.6 we still need to clone and then export.

This script is threaded to do backups of 3 Vms concurrently, however, in our 
setup ( compute server with 3 separate gluster machines) parallel backups of 3 
VMS create very heavy load on the gluster storage servers, and i would like to 
do the “clone snapshot” to a separate intermediate storage already, can anybody 
help me with that ? (somewhere around line 70)
The cloning can hopefully go away in September with 3.6 but until then we still 
need that.

Any other improvements are more than welcome – please keep in mind i am not a 
developer and I only tried my very best to write a decent script.

Also: do we have a place (git repo or so) where we can put this script for 
everybody ?

I am pretty sure there is more than one person out there looking for something 
like that (at least i hope :-) )

Regards
Soeren

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup through export and clone

2015-05-19 Thread Soeren Malchow
Dear all,

I am no python developer (basically no developer at all) but i struggled with 
the backup for a while but finally i have a script almost OK for the backup.

Due to the fact that the “snapshot -> export” feature is coming as it seems in 
3.6 we still need to clone and then export.

This script is threaded to do backups of 3 Vms concurrently, however, in our 
setup ( compute server with 3 separate gluster machines) parallel backups of 3 
VMS create very heavy load on the gluster storage servers, and i would like to 
do the “clone snapshot” to a separate intermediate storage already, can anybody 
help me with that ? (somewhere around line 70)
The cloning can hopefully go away in September with 3.6 but until then we still 
need that.

Any other improvements are more than welcome – please keep in mind i am not a 
developer and I only tried my very best to write a decent script.

Also: do we have a place (git repo or so) where we can put this script for 
everybody ?

I am pretty sure there is more than one person out there looking for something 
like that (at least i hope :-) )

Regards
Soeren

#!/usr/bin/python

import Queue
import threading
import time
from ovirtsdk.api import API
from ovirtsdk.xml import params
import sys
import datetime
import smtplib
from email.mime.text import MIMEText


global SNAPSHOT_NAME

VERSION = params.Version(major='3', minor='0')
ENGINE_SERVER   = ''
ENGINE_USER = 'admin@internal'
ENGINE_PASSWORD = ''
ENGINE_CERT = ''
NOW = datetime.datetime.now()
SNAPSHOT_NAME   = 'BACKUP_' + NOW.strftime("%Y-%m-%d-%H%M")
DAY_OF_WEEK = NOW.strftime("%w")
BACKUP  = "FULL"

exitFlag = 0

class myThread (threading.Thread):
def __init__(self, threadID, name, q):
threading.Thread.__init__(self)
self.threadID = threadID
self.name = name
self.q = q
self.api = api
global message
def run(self):
print "Starting " + self.name
process_data(self.name, self.q)
print "Exiting " + self.name

def process_data(threadName, q):
while not exitFlag:
queueLock.acquire()
if not workQueue.empty():
data = q.get()
queueLock.release()
print "%s processing %s" % (threadName, data.name)
vm = api.vms.get(name=data.name)
vmname = data.name +"_"
newvmname = vmname + SNAPSHOT_NAME
cluster = api.clusters.get(id=vm.cluster.id)
dc = api.datacenters.get(id=cluster.data_center.id)
export = None
for sd in dc.storagedomains.list():
if sd.type_ == "export":
export = sd
if not export:
print("Export domain required, and none found, exitting...\n")
sys.exit(1)

if vm.name != "HostedEngine":
vm.snapshots.add(params.Snapshot(description=SNAPSHOT_NAME, vm=vm ))
snap = vm.snapshots.list(description=SNAPSHOT_NAME)[0]
while vm.snapshots.get(id=snap.id).snapshot_status == "locked":
print("%s Waiting for snapshot of %s to finish") % (threadName, vm.name)
time.sleep(10)
print("%s Snapshotting %s is done") % (threadName,vm.name)
try:
snapshots = params.Snapshots(snapshot=[params.Snapshot(id=snap.id)])
api.vms.add(params.VM(name=newvmname, snapshots=snapshots, cluster=cluster, template=api.templates.get(name="Blank")))
while api.vms.get(name=newvmname).status.state == "image_locked":
print("%s Waiting for clone of %s to finish") % (threadName, vm.name)
time.sleep(60)
print("%s Cloning of %s  done") % (threadName, vm.name)
api.vms.get(name=newvmname).export(params.Action(storage_domain=export))
while api.vms.get(name=newvmname).status.state == "image_locked":
print("%s Waiting for export of %s finish") % (threadName, vm.name)
time.sleep(60)
print("%s Exporting %s done") % (threadName, vm.name)
api.vms.get(name=newvmname).delete()
except Exception as e:
print ("Something went wrong with the coling or exporting\n%s") % str(e)
snapshotlist = vm.snapshots.list()
for snapshot in snapshotlist:
if snapshot.description != "Active VM":
snapshot.delete()
time.sleep(3)
try:
while api.vms.get(name=vm.name).snapshots.get(id=snapshot.id).snapshot_status == "locked":
print("%s Waiting for snapshot %s on %s deletion to finish") % (threadName, snapshot.name, vm.name)
  

Re: [ovirt-users] Backup solution using the API

2015-02-16 Thread Soeren Malchow
Dear Liron,

thanks alot, i know, i was following that, however the Live Merge Feature was 
missing in CentOS 7, that was already the discussion.

Now on Fedora 20 the Live Merge works (we have to stick to Fedora then until 
this is in CentOS 7.1 ?! )

I am experimenting with scripts to iterate through all machines and do a backup 
for all machines on a separate VM, I will let you know how that goes

Cheers
Soeren 

-Original Message-
From: Liron Aravot [mailto:lara...@redhat.com] 
Sent: Monday, February 16, 2015 10:15 AM
To: Soeren Malchow
Cc: Adam Litke; Nir Soffer; Thomas Keppler (PEBA); users@ovirt.org
Subject: Re: [ovirt-users] Backup solution using the API



- Original Message -
> From: "Soeren Malchow" 
> To: "Adam Litke" , "Nir Soffer" 
> 
> Cc: "Thomas Keppler (PEBA)" , users@ovirt.org
> Sent: Wednesday, February 11, 2015 7:30:48 PM
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> Dear all,
> 
> i am a little lost, i tried quite a few things with the snapshots, so 
> far with python scripts I can iterate through the existing machines, 
> take one, make a snapshot and all this.
> 
> However, there are 2 problems I can not get around:
> 
> 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if 
> I understood that correctly this relies on the Live Merge Feature 
> where the code is available in vdsm already but it needs a certain 
> libvirt version !?!?
> So question here is, can I delete a snapshot or not ? can I use only 
> the rest API not python  (excuse me I am not a developer)
> 
> 2. when I attach a snapshot to another virtual machine, how do I do 
> the backup then ? Does anybody have this already ?
Hi Soeren,
you can find detailed example for Backup/Restore flows here - 
http://www.ovirt.org/Features/Backup-Restore_API_Integration

thanks,
laravot.
> 
> The environment is running on CentOS 7 (hypervisors), Centos 6 (hosted 
> engine), the ovirt is on version 3.5.1, also we use gluster as a 
> storage backend where the gluster servers are managed within the 
> hosted engine in a separate cluster exporting the storage only.
> 
> Regards
> Soeren
> 
> 
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
> Behalf Of Adam Litke
> Sent: Tuesday, January 6, 2015 5:04 PM
> To: Nir Soffer
> Cc: Thomas Keppler (PEBA); users@ovirt.org
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> On 15/12/14 04:31 -0500, Nir Soffer wrote:
> >----- Original Message -
> >> From: "Blaster" 
> >> To: "Thomas Keppler (PEBA)" , 
> >> users@ovirt.org
> >> Sent: Wednesday, December 10, 2014 8:06:58 PM
> >> Subject: Re: [ovirt-users] Backup solution using the API
> >>
> >> On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:
> >>
> >>
> >>
> >> Now, before I go into any more hassle, has somebody else of you 
> >> done a live-backup solution for oVirt? Are there any recommendations?
> >> Thanks for any help provided!
> >>
> >>
> >> I've been looking for a similar scheme for the last year. It was 
> >> not
> >> (really) possible in the past as there wasn't any way to destroy a 
> >> snapshot w/o shutting down the VM. Is this still the case, or are 
> >> snap shots fully implemented now?
> >>
> >> Basically, I'd like to:
> >> Tell VM to flush it's buffers
> >> suspend VM
> >> take snap shot of boot virtual disk resume VM
> >
> >You don't need to suspend the vm, qemu can create live snapshot. When 
> >the snapshot is done, you don't care about future io, it will simply 
> >not included in the backup.
> >
> >> backup the virtual boot disk from the Hypervisor using standard 
> >> commands (tar, cp, whatever)
> >
> >You can by attaching the snapshot to another vm
> >
> >> destroy the snapshot
> >
> >You can in ovirt 3.5.1 - we do not depend any more on future libvirt 
> >features.
> >Adam, can you confirm?
> 
> Yes, on 3.5.1 you'll be able to destroy the snapshot without impacting 
> the running VM.
> 
> >>
> >> This would at least give some BMR capabilities of your VMs.
> >>
> >> Ideally, I'd also like to be able to create a snapshot from within 
> >> the VM, do
> >
> >You can do this "within" the vm by using the engine REST API. But 
> >this can be fragile - for example, if the vm pauses, your backup tool 
> >within the vm will never complete :-)
> >
> >> a yum u

Re: [ovirt-users] Backup solution using the API

2015-02-16 Thread Liron Aravot


- Original Message -
> From: "Soeren Malchow" 
> To: "Adam Litke" , "Nir Soffer" 
> Cc: "Thomas Keppler (PEBA)" , users@ovirt.org
> Sent: Wednesday, February 11, 2015 7:30:48 PM
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> Dear all,
> 
> i am a little lost, i tried quite a few things with the snapshots, so far
> with python scripts I can iterate through the existing machines, take one,
> make a snapshot and all this.
> 
> However, there are 2 problems I can not get around:
> 
> 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if I
> understood that correctly this relies on the Live Merge Feature where the
> code is available in vdsm already but it needs a certain libvirt version
> !?!?
> So question here is, can I delete a snapshot or not ? can I use only the rest
> API not python  (excuse me I am not a developer)
> 
> 2. when I attach a snapshot to another virtual machine, how do I do the
> backup then ? Does anybody have this already ?
Hi Soeren,
you can find detailed example for Backup/Restore flows here -
http://www.ovirt.org/Features/Backup-Restore_API_Integration

thanks,
laravot.
> 
> The environment is running on CentOS 7 (hypervisors), Centos 6 (hosted
> engine), the ovirt is on version 3.5.1, also we use gluster as a storage
> backend where the gluster servers are managed within the hosted engine in a
> separate cluster exporting the storage only.
> 
> Regards
> Soeren
> 
> 
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
> Adam Litke
> Sent: Tuesday, January 6, 2015 5:04 PM
> To: Nir Soffer
> Cc: Thomas Keppler (PEBA); users@ovirt.org
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> On 15/12/14 04:31 -0500, Nir Soffer wrote:
> >- Original Message -
> >> From: "Blaster" 
> >> To: "Thomas Keppler (PEBA)" , users@ovirt.org
> >> Sent: Wednesday, December 10, 2014 8:06:58 PM
> >> Subject: Re: [ovirt-users] Backup solution using the API
> >>
> >> On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:
> >>
> >>
> >>
> >> Now, before I go into any more hassle, has somebody else of you done
> >> a live-backup solution for oVirt? Are there any recommendations?
> >> Thanks for any help provided!
> >>
> >>
> >> I've been looking for a similar scheme for the last year. It was not
> >> (really) possible in the past as there wasn't any way to destroy a
> >> snapshot w/o shutting down the VM. Is this still the case, or are
> >> snap shots fully implemented now?
> >>
> >> Basically, I'd like to:
> >> Tell VM to flush it's buffers
> >> suspend VM
> >> take snap shot of boot virtual disk
> >> resume VM
> >
> >You don't need to suspend the vm, qemu can create live snapshot. When
> >the snapshot is done, you don't care about future io, it will simply
> >not included in the backup.
> >
> >> backup the virtual boot disk from the Hypervisor using standard
> >> commands (tar, cp, whatever)
> >
> >You can by attaching the snapshot to another vm
> >
> >> destroy the snapshot
> >
> >You can in ovirt 3.5.1 - we do not depend any more on future libvirt
> >features.
> >Adam, can you confirm?
> 
> Yes, on 3.5.1 you'll be able to destroy the snapshot without impacting the
> running VM.
> 
> >>
> >> This would at least give some BMR capabilities of your VMs.
> >>
> >> Ideally, I'd also like to be able to create a snapshot from within
> >> the VM, do
> >
> >You can do this "within" the vm by using the engine REST API. But this
> >can be fragile - for example, if the vm pauses, your backup tool within
> >the vm will never complete :-)
> >
> >> a yum update, see if I like it or not, if I do, then destroy the snap
> >> shot.
> >
> >Possible in 3.5.1 using REST API
> >
> >> If I don't, I want to promote the snapshot and boot from that, then
> >> destroy the "original".
> >
> >Same
> >
> >Nir
> 
> --
> Adam Litke
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2015-02-15 Thread Adam Litke

- Soeren Malchow  wrote:
> Dear all,
> 
> thank you for the help, right now we are at a state where we can do snapshots 
> and remove them, since there are no ovirt packages for Fedora 21 we are using 
> fedora 20 + virt-preview.

> Everything is working fine from a spanshot perspective.

Excellent.  Glad to hear it!

> 
> Regards
> Soeren
> 
> From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com]
> Sent: Wednesday, February 11, 2015 10:23 PM
> To: Adam Litke
> Cc: users; Soeren Malchow; Thomas Keppler (PEBA)
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> 
> Il 11/Feb/2015 19:10 "Adam Litke" 
> mailto:ali...@redhat.com>> ha scritto:
> >
> > On 11/02/15 17:30 +, Soeren Malchow wrote:
> >>
> >> Dear all,
> >>
> >> i am a little lost, i tried quite a few things with the snapshots, so
> >> far with python scripts I can iterate through the existing machines,
> >> take one, make a snapshot and all this.
> >>
> >> However, there are 2 problems I can not get around:
> >>
> >> 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if
> >> I understood that correctly this relies on the Live Merge Feature
> >> where the code is available in vdsm already but it needs a certain
> >> libvirt version !?!?  So question here is, can I delete a snapshot or
> >> not ? can I use only the rest API not python  (excuse me I am not a
> >> developer)
> >
> >
> > I can answer this one at least.  For now, Centos 7 is lacking a new
> > enough version of libvirt to support Live Merge (> 1.2.7).  The
> > virt-preview repository for Fedora is shipping a newer libvirt.  You
> > can check if vdsm will support live merge by executing the following
> > on the host in question:
> >
> >   sudo vdsClient -s 0 getVdsCaps | grep liveMerge
> >
> > RHEL 7.1 will be shipping a version with the neccessary backports to
> > support live merge so I imagine Centos 7.1 will pick those up
> > automatically?
> >
> >
> > --
> > Adam Litke
> > ___
> > Users mailing list
> > Users@ovirt.org<mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> I confirm that at least on f21 tc3 I was able to live delete snapshots,  also 
> into the active layer.
> See:
> http://lists.ovirt.org/pipermail/users/2014-November/029450.html
> and the whole thread.
> I hope that RHEL 7.1 (and CentOS) will have the merging into the active layer 
> too and not only into the chain history.
> 
> Gianluca

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2015-02-15 Thread Soeren Malchow
Dear all,

thank you for the help, right now we are at a state where we can do snapshots 
and remove them, since there are no ovirt packages for Fedora 21 we are using 
fedora 20 + virt-preview.

Everything is working fine from a spanshot perspective.

Regards
Soeren

From: Gianluca Cecchi [mailto:gianluca.cec...@gmail.com]
Sent: Wednesday, February 11, 2015 10:23 PM
To: Adam Litke
Cc: users; Soeren Malchow; Thomas Keppler (PEBA)
Subject: Re: [ovirt-users] Backup solution using the API


Il 11/Feb/2015 19:10 "Adam Litke" mailto:ali...@redhat.com>> 
ha scritto:
>
> On 11/02/15 17:30 +, Soeren Malchow wrote:
>>
>> Dear all,
>>
>> i am a little lost, i tried quite a few things with the snapshots, so
>> far with python scripts I can iterate through the existing machines,
>> take one, make a snapshot and all this.
>>
>> However, there are 2 problems I can not get around:
>>
>> 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if
>> I understood that correctly this relies on the Live Merge Feature
>> where the code is available in vdsm already but it needs a certain
>> libvirt version !?!?  So question here is, can I delete a snapshot or
>> not ? can I use only the rest API not python  (excuse me I am not a
>> developer)
>
>
> I can answer this one at least.  For now, Centos 7 is lacking a new
> enough version of libvirt to support Live Merge (> 1.2.7).  The
> virt-preview repository for Fedora is shipping a newer libvirt.  You
> can check if vdsm will support live merge by executing the following
> on the host in question:
>
>   sudo vdsClient -s 0 getVdsCaps | grep liveMerge
>
> RHEL 7.1 will be shipping a version with the neccessary backports to
> support live merge so I imagine Centos 7.1 will pick those up
> automatically?
>
>
> --
> Adam Litke
> ___
> Users mailing list
> Users@ovirt.org<mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users

I confirm that at least on f21 tc3 I was able to live delete snapshots,  also 
into the active layer.
See:
http://lists.ovirt.org/pipermail/users/2014-November/029450.html
and the whole thread.
I hope that RHEL 7.1 (and CentOS) will have the merging into the active layer 
too and not only into the chain history.

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2015-02-11 Thread Gianluca Cecchi
Il 11/Feb/2015 19:10 "Adam Litke"  ha scritto:
>
> On 11/02/15 17:30 +, Soeren Malchow wrote:
>>
>> Dear all,
>>
>> i am a little lost, i tried quite a few things with the snapshots, so
>> far with python scripts I can iterate through the existing machines,
>> take one, make a snapshot and all this.
>>
>> However, there are 2 problems I can not get around:
>>
>> 1. even when on 3.5.1 I can not delete a snapshot on a running VM, if
>> I understood that correctly this relies on the Live Merge Feature
>> where the code is available in vdsm already but it needs a certain
>> libvirt version !?!?  So question here is, can I delete a snapshot or
>> not ? can I use only the rest API not python  (excuse me I am not a
>> developer)
>
>
> I can answer this one at least.  For now, Centos 7 is lacking a new
> enough version of libvirt to support Live Merge (> 1.2.7).  The
> virt-preview repository for Fedora is shipping a newer libvirt.  You
> can check if vdsm will support live merge by executing the following
> on the host in question:
>
>   sudo vdsClient -s 0 getVdsCaps | grep liveMerge
>
> RHEL 7.1 will be shipping a version with the neccessary backports to
> support live merge so I imagine Centos 7.1 will pick those up
> automatically?
>
>
> --
> Adam Litke
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

I confirm that at least on f21 tc3 I was able to live delete snapshots,
also into the active layer.
See:
http://lists.ovirt.org/pipermail/users/2014-November/029450.html
and the whole thread.
I hope that RHEL 7.1 (and CentOS) will have the merging into the active
layer too and not only into the chain history.

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2015-02-11 Thread Adam Litke

On 11/02/15 17:30 +, Soeren Malchow wrote:

Dear all,

i am a little lost, i tried quite a few things with the snapshots, so
far with python scripts I can iterate through the existing machines,
take one, make a snapshot and all this.

However, there are 2 problems I can not get around:

1. even when on 3.5.1 I can not delete a snapshot on a running VM, if
I understood that correctly this relies on the Live Merge Feature
where the code is available in vdsm already but it needs a certain
libvirt version !?!?  So question here is, can I delete a snapshot or
not ? can I use only the rest API not python  (excuse me I am not a
developer)


I can answer this one at least.  For now, Centos 7 is lacking a new
enough version of libvirt to support Live Merge (> 1.2.7).  The
virt-preview repository for Fedora is shipping a newer libvirt.  You
can check if vdsm will support live merge by executing the following
on the host in question:

  sudo vdsClient -s 0 getVdsCaps | grep liveMerge

RHEL 7.1 will be shipping a version with the neccessary backports to
support live merge so I imagine Centos 7.1 will pick those up
automatically?

--
Adam Litke
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2015-02-11 Thread Soeren Malchow
Dear all,

i am a little lost, i tried quite a few things with the snapshots, so far with 
python scripts I can iterate through the existing machines, take one, make a 
snapshot and all this.

However, there are 2 problems I can not get around:

1. even when on 3.5.1 I can not delete a snapshot on a running VM, if I 
understood that correctly this relies on the Live Merge Feature where the code 
is available in vdsm already but it needs a certain libvirt version !?!?
So question here is, can I delete a snapshot or not ? can I use only the rest 
API not python  (excuse me I am not a developer)

2. when I attach a snapshot to another virtual machine, how do I do the backup 
then ? Does anybody have this already ?

The environment is running on CentOS 7 (hypervisors), Centos 6 (hosted engine), 
the ovirt is on version 3.5.1, also we use gluster as a storage backend where 
the gluster servers are managed within the hosted engine in a separate cluster 
exporting the storage only.

Regards
Soeren 


-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Adam Litke
Sent: Tuesday, January 6, 2015 5:04 PM
To: Nir Soffer
Cc: Thomas Keppler (PEBA); users@ovirt.org
Subject: Re: [ovirt-users] Backup solution using the API

On 15/12/14 04:31 -0500, Nir Soffer wrote:
>- Original Message -
>> From: "Blaster" 
>> To: "Thomas Keppler (PEBA)" , users@ovirt.org
>> Sent: Wednesday, December 10, 2014 8:06:58 PM
>> Subject: Re: [ovirt-users] Backup solution using the API
>>
>> On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:
>>
>>
>>
>> Now, before I go into any more hassle, has somebody else of you done 
>> a live-backup solution for oVirt? Are there any recommendations? 
>> Thanks for any help provided!
>>
>>
>> I've been looking for a similar scheme for the last year. It was not 
>> (really) possible in the past as there wasn't any way to destroy a 
>> snapshot w/o shutting down the VM. Is this still the case, or are 
>> snap shots fully implemented now?
>>
>> Basically, I'd like to:
>> Tell VM to flush it's buffers
>> suspend VM
>> take snap shot of boot virtual disk
>> resume VM
>
>You don't need to suspend the vm, qemu can create live snapshot. When 
>the snapshot is done, you don't care about future io, it will simply 
>not included in the backup.
>
>> backup the virtual boot disk from the Hypervisor using standard 
>> commands (tar, cp, whatever)
>
>You can by attaching the snapshot to another vm
>
>> destroy the snapshot
>
>You can in ovirt 3.5.1 - we do not depend any more on future libvirt features.
>Adam, can you confirm?

Yes, on 3.5.1 you'll be able to destroy the snapshot without impacting the 
running VM.

>>
>> This would at least give some BMR capabilities of your VMs.
>>
>> Ideally, I'd also like to be able to create a snapshot from within 
>> the VM, do
>
>You can do this "within" the vm by using the engine REST API. But this 
>can be fragile - for example, if the vm pauses, your backup tool within 
>the vm will never complete :-)
>
>> a yum update, see if I like it or not, if I do, then destroy the snap shot.
>
>Possible in 3.5.1 using REST API
>
>> If I don't, I want to promote the snapshot and boot from that, then 
>> destroy the "original".
>
>Same
>
>Nir

--
Adam Litke
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2015-01-13 Thread Nathanaël Blanchet

Hello,

Could you please share your translated backup-vm plugin ?
Thank you.

Le 23/12/2014 10:31, Soeren Malchow a écrit :

Hi,

that is exactly right, altough we are getting closer now, we are just checking 
the plugins that were posted a few days ago

https://github.com/ovirt-china/vm-backup-scheduler

they seem to work pretty good so far, I will talk to a few developers after the 
holidays and see whether we can improve something, we already translated a few 
things in those plugins from mandarin to English.
We will have a look into improvements of that plugin.

I will keep you guys posted.

Thanks
Soeren



-Original Message-
From: Blaster [mailto:blas...@556nato.com]
Sent: Tuesday, December 23, 2014 4:56 AM
To: Vered Volansky
Cc: Soeren Malchow; Users@ovirt.org
Subject: Re: [ovirt-users] Backup and Restore of VMs


Vered,

It sounds like Soeren already knows about that page.  His issue seems to be, as 
well as the issue of others judging by comments on here, is that there aren't 
any real world examples of how the API is used.



On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:


Please take a look at:
http://www.ovirt.org/Features/Backup-Restore_API_Integration

Specifically:
http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_B
ackups

Regards,
Vered

- Original Message -

From: "Soeren Malchow" 
To: Users@ovirt.org
Sent: Friday, December 19, 2014 1:44:38 PM
Subject: [ovirt-users] Backup and Restore of VMs



Dear all,



ovirt: 3.5

gluster: 3.6.1

OS: CentOS 7 (except ovirt hosted engine = centos 6.6)



i spent quite a while researching backup and restore for VMs right
now, so far I have come up with this as a start for us



- API calls to create schedule snapshots of virtual machines This is
or short term storage and to guard against accidential deletion
within the VM but not for storage corruption



- Since we are using a gluster backend, gluster snapshots I wasn't
able so far to really test it since the LV needs to be thin
provisioned and we did not do that in the setup



For the API calls we have the problem that we can not find any
existing scripts or something like that to do those snapshots (and
i/we are not developers enough to do that).



As an additional information, we have a ZFS based storage with
deduplication that we use for other backup purposes which does a
great job especially because of the deduplication (we can storage
generations of backups without problems), this storage can be NFS exported and 
used as backup repository.



Are there any backup and restore procedure you guys are using for
backup and restore that works for you and can you point me into the right 
direction ?

I am a little bit list right now and would appreciate any help.



Regards

Soeren

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2015-01-06 Thread Adam Litke

On 15/12/14 04:31 -0500, Nir Soffer wrote:

- Original Message -

From: "Blaster" 
To: "Thomas Keppler (PEBA)" , users@ovirt.org
Sent: Wednesday, December 10, 2014 8:06:58 PM
Subject: Re: [ovirt-users] Backup solution using the API

On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:



Now, before I go into any more hassle, has somebody else of you done a
live-backup solution for oVirt? Are there any recommendations? Thanks for
any help provided!


I've been looking for a similar scheme for the last year. It was not (really)
possible in the past as there wasn't any way to destroy a snapshot w/o
shutting down the VM. Is this still the case, or are snap shots fully
implemented now?

Basically, I'd like to:
Tell VM to flush it's buffers
suspend VM
take snap shot of boot virtual disk
resume VM


You don't need to suspend the vm, qemu can create live snapshot. When the
snapshot is done, you don't care about future io, it will simply not
included in the backup.


backup the virtual boot disk from the Hypervisor using standard commands
(tar, cp, whatever)


You can by attaching the snapshot to another vm


destroy the snapshot


You can in ovirt 3.5.1 - we do not depend any more on future libvirt features.
Adam, can you confirm?


Yes, on 3.5.1 you'll be able to destroy the snapshot without impacting
the running VM.



This would at least give some BMR capabilities of your VMs.

Ideally, I'd also like to be able to create a snapshot from within the VM, do


You can do this "within" the vm by using the engine REST API. But this can
be fragile - for example, if the vm pauses, your backup tool within the vm
will never complete :-)


a yum update, see if I like it or not, if I do, then destroy the snap shot.


Possible in 3.5.1 using REST API


If I don't, I want to promote the snapshot and boot from that, then destroy
the "original".


Same

Nir


--
Adam Litke
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2014-12-29 Thread Nathanaël Blanchet


Le 29/12/2014 12:10, Nathanaël Blanchet a écrit :

Hello,

Thank you for the script, yes, it is clearer now.
However, there is a something I misunderstand, my raisoning may be 
stupid, just tell me.
It is closely about the backup process, precisely when the disk is 
attached to the vm... At this moment, an extern process should do this 
step. If we consider using the dd command to have a byte-to-byte copy 
from the snapshot disk, why not directly attaching this cloned raw 
virtual disk to the new OVF cloned VM instead of creating a new 
provisonned disk?
But you just might consider doing file copy during the backup process 
(rsnyc like) which implies to format the new created disk and many 
additionnal steps as creating Logical Volumes if needed, etc...

Can anybody help me with understanding this step?
Thank you.

Le 28/12/2014 10:02, Liron Aravot a écrit :

Hi All,
I've uploaded an example script (oVirt python-sdk) that contains 
examples to the steps
described on 
http://www.ovirt.org/Features/Backup-Restore_API_Integration


let me know how it works out for you -
https://github.com/laravot/backuprestoreapi


- Original Message -

From: "Liron Aravot" 
To: "Soeren Malchow" 
Cc: "Vered Volansky" , Users@ovirt.org
Sent: Wednesday, December 24, 2014 12:20:36 PM
Subject: Re: [ovirt-users] Backup and Restore of VMs

Hi guys,
I'm currently working on complete example of the steps appear in -
http://www.ovirt.org/Features/Backup-Restore_API_Integration

will share with you as soon as i'm done with it.

thanks,
Liron

- Original Message -

From: "Soeren Malchow" 
To: "Vered Volansky" 
Cc: Users@ovirt.org
Sent: Wednesday, December 24, 2014 11:58:01 AM
Subject: Re: [ovirt-users] Backup and Restore of VMs

Dear Vered,

at some point we have to start, and right now we are getting 
closer, even
with the documentation it is sometime hard to find the correct 
place to

start, especially without specific examples (and I have decades of
experience now)

with the backup plugin that came from Lucas Vandroux we have a 
starting

point
right now, and we will continue form here and try to work with him 
on this.


Regards
Soeren


-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
Behalf Of

Blaster
Sent: Tuesday, December 23, 2014 5:49 PM
To: Vered Volansky
Cc: Users@ovirt.org
Subject: Re: [ovirt-users] Backup and Restore of VMs

Sounds like a Chicken/Egg problem.



On 12/23/2014 12:03 AM, Vered Volansky wrote:

Well, real world is community...
Maybe change the name of the thread in order to make this more 
clear for

someone from the community that might be able to could help.
Maybe something like:
Request for sharing real world example of VM backups.

We obviously use it as part as developing, but I don't have what 
you're

asking for.
If you try it yourself and stumble onto questions in the process, 
please

ask the list and we'll do our best to help.

Best Regards,
Vered

- Original Message -

From: "Blaster" 
To: "Vered Volansky" 
Cc: Users@ovirt.org
Sent: Tuesday, December 23, 2014 5:56:13 AM
Subject: Re: [ovirt-users] Backup and Restore of VMs


Vered,

It sounds like Soeren already knows about that page. His issue seems
to be, as well as the issue of others judging by comments on 
here, is

that there aren’t any real world examples of how the API is used.



On Dec 22, 2014, at 9:26 AM, Vered Volansky  
wrote:



Please take a look at:
http://www.ovirt.org/Features/Backup-Restore_API_Integration

Specifically:
http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM 


_Backups

Regards,
Vered

- Original Message -

From: "Soeren Malchow" 
To: Users@ovirt.org
Sent: Friday, December 19, 2014 1:44:38 PM
Subject: [ovirt-users] Backup and Restore of VMs



Dear all,



ovirt: 3.5

gluster: 3.6.1

OS: CentOS 7 (except ovirt hosted engine = centos 6.6)



i spent quite a while researching backup and restore for VMs right
now, so far I have come up with this as a start for us



- API calls to create schedule snapshots of virtual machines This
is or short term storage and to guard against accidential deletion
within the VM but not for storage corruption



- Since we are using a gluster backend, gluster snapshots I wasn’t
able so far to really test it since the LV needs to be thin
provisioned and we did not do that in the setup



For the API calls we have the problem that we can not find any
existing scripts or something like that to do those snapshots (and
i/we are not developers enough to do that).



As an additional information, we have a ZFS based storage with
deduplication that we use for other backup purposes which does a
great job especially because of the deduplication (we can storage
generations of backups without problems), this storage can be NFS
exported and used as backup repository.



Are there any backup and

Re: [ovirt-users] Backup and Restore of VMs

2014-12-28 Thread Liron Aravot
Hi All,
I've uploaded an example script (oVirt python-sdk) that contains examples to 
the steps
described on http://www.ovirt.org/Features/Backup-Restore_API_Integration

let me know how it works out for you -
https://github.com/laravot/backuprestoreapi

 

- Original Message -
> From: "Liron Aravot" 
> To: "Soeren Malchow" 
> Cc: "Vered Volansky" , Users@ovirt.org
> Sent: Wednesday, December 24, 2014 12:20:36 PM
> Subject: Re: [ovirt-users] Backup and Restore of VMs
> 
> Hi guys,
> I'm currently working on complete example of the steps appear in -
> http://www.ovirt.org/Features/Backup-Restore_API_Integration
> 
> will share with you as soon as i'm done with it.
> 
> thanks,
> Liron
> 
> - Original Message -
> > From: "Soeren Malchow" 
> > To: "Vered Volansky" 
> > Cc: Users@ovirt.org
> > Sent: Wednesday, December 24, 2014 11:58:01 AM
> > Subject: Re: [ovirt-users] Backup and Restore of VMs
> > 
> > Dear Vered,
> > 
> > at some point we have to start, and right now we are getting closer, even
> > with the documentation it is sometime hard to find the correct place to
> > start, especially without specific examples (and I have decades of
> > experience now)
> > 
> > with the backup plugin that came from Lucas Vandroux we have a starting
> > point
> > right now, and we will continue form here and try to work with him on this.
> > 
> > Regards
> > Soeren
> > 
> > 
> > -----Original Message-
> > From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
> > Blaster
> > Sent: Tuesday, December 23, 2014 5:49 PM
> > To: Vered Volansky
> > Cc: Users@ovirt.org
> > Subject: Re: [ovirt-users] Backup and Restore of VMs
> > 
> > Sounds like a Chicken/Egg problem.
> > 
> > 
> > 
> > On 12/23/2014 12:03 AM, Vered Volansky wrote:
> > > Well, real world is community...
> > > Maybe change the name of the thread in order to make this more clear for
> > > someone from the community that might be able to could help.
> > > Maybe something like:
> > > Request for sharing real world example of VM backups.
> > >
> > > We obviously use it as part as developing, but I don't have what you're
> > > asking for.
> > > If you try it yourself and stumble onto questions in the process, please
> > > ask the list and we'll do our best to help.
> > >
> > > Best Regards,
> > > Vered
> > >
> > > - Original Message -
> > >> From: "Blaster" 
> > >> To: "Vered Volansky" 
> > >> Cc: Users@ovirt.org
> > >> Sent: Tuesday, December 23, 2014 5:56:13 AM
> > >> Subject: Re: [ovirt-users] Backup and Restore of VMs
> > >>
> > >>
> > >> Vered,
> > >>
> > >> It sounds like Soeren already knows about that page.  His issue seems
> > >> to be, as well as the issue of others judging by comments on here, is
> > >> that there aren’t any real world examples of how the API is used.
> > >>
> > >>
> > >>
> > >> On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:
> > >>
> > >>> Please take a look at:
> > >>> http://www.ovirt.org/Features/Backup-Restore_API_Integration
> > >>>
> > >>> Specifically:
> > >>> http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM
> > >>> _Backups
> > >>>
> > >>> Regards,
> > >>> Vered
> > >>>
> > >>> - Original Message -
> > >>>> From: "Soeren Malchow" 
> > >>>> To: Users@ovirt.org
> > >>>> Sent: Friday, December 19, 2014 1:44:38 PM
> > >>>> Subject: [ovirt-users] Backup and Restore of VMs
> > >>>>
> > >>>>
> > >>>>
> > >>>> Dear all,
> > >>>>
> > >>>>
> > >>>>
> > >>>> ovirt: 3.5
> > >>>>
> > >>>> gluster: 3.6.1
> > >>>>
> > >>>> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
> > >>>>
> > >>>>
> > >>>>
> > >>>> i spent quite a while researching backup and restore for VMs right
> > >>>> now, so far I have come up with this as a start fo

Re: [ovirt-users] Backup and Restore of VMs

2014-12-24 Thread Liron Aravot
Hi guys,
I'm currently working on complete example of the steps appear in -
http://www.ovirt.org/Features/Backup-Restore_API_Integration

will share with you as soon as i'm done with it.

thanks,
Liron

- Original Message -
> From: "Soeren Malchow" 
> To: "Vered Volansky" 
> Cc: Users@ovirt.org
> Sent: Wednesday, December 24, 2014 11:58:01 AM
> Subject: Re: [ovirt-users] Backup and Restore of VMs
> 
> Dear Vered,
> 
> at some point we have to start, and right now we are getting closer, even
> with the documentation it is sometime hard to find the correct place to
> start, especially without specific examples (and I have decades of
> experience now)
> 
> with the backup plugin that came from Lucas Vandroux we have a starting point
> right now, and we will continue form here and try to work with him on this.
> 
> Regards
> Soeren
> 
> 
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
> Blaster
> Sent: Tuesday, December 23, 2014 5:49 PM
> To: Vered Volansky
> Cc: Users@ovirt.org
> Subject: Re: [ovirt-users] Backup and Restore of VMs
> 
> Sounds like a Chicken/Egg problem.
> 
> 
> 
> On 12/23/2014 12:03 AM, Vered Volansky wrote:
> > Well, real world is community...
> > Maybe change the name of the thread in order to make this more clear for
> > someone from the community that might be able to could help.
> > Maybe something like:
> > Request for sharing real world example of VM backups.
> >
> > We obviously use it as part as developing, but I don't have what you're
> > asking for.
> > If you try it yourself and stumble onto questions in the process, please
> > ask the list and we'll do our best to help.
> >
> > Best Regards,
> > Vered
> >
> > - Original Message -
> >> From: "Blaster" 
> >> To: "Vered Volansky" 
> >> Cc: Users@ovirt.org
> >> Sent: Tuesday, December 23, 2014 5:56:13 AM
> >> Subject: Re: [ovirt-users] Backup and Restore of VMs
> >>
> >>
> >> Vered,
> >>
> >> It sounds like Soeren already knows about that page.  His issue seems
> >> to be, as well as the issue of others judging by comments on here, is
> >> that there aren’t any real world examples of how the API is used.
> >>
> >>
> >>
> >> On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:
> >>
> >>> Please take a look at:
> >>> http://www.ovirt.org/Features/Backup-Restore_API_Integration
> >>>
> >>> Specifically:
> >>> http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM
> >>> _Backups
> >>>
> >>> Regards,
> >>> Vered
> >>>
> >>> - Original Message -
> >>>> From: "Soeren Malchow" 
> >>>> To: Users@ovirt.org
> >>>> Sent: Friday, December 19, 2014 1:44:38 PM
> >>>> Subject: [ovirt-users] Backup and Restore of VMs
> >>>>
> >>>>
> >>>>
> >>>> Dear all,
> >>>>
> >>>>
> >>>>
> >>>> ovirt: 3.5
> >>>>
> >>>> gluster: 3.6.1
> >>>>
> >>>> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
> >>>>
> >>>>
> >>>>
> >>>> i spent quite a while researching backup and restore for VMs right
> >>>> now, so far I have come up with this as a start for us
> >>>>
> >>>>
> >>>>
> >>>> - API calls to create schedule snapshots of virtual machines This
> >>>> is or short term storage and to guard against accidential deletion
> >>>> within the VM but not for storage corruption
> >>>>
> >>>>
> >>>>
> >>>> - Since we are using a gluster backend, gluster snapshots I wasn’t
> >>>> able so far to really test it since the LV needs to be thin
> >>>> provisioned and we did not do that in the setup
> >>>>
> >>>>
> >>>>
> >>>> For the API calls we have the problem that we can not find any
> >>>> existing scripts or something like that to do those snapshots (and
> >>>> i/we are not developers enough to do that).
> >>>>
> >>>>
> >>>>
> >>>> As an additional information, we have a ZFS based storage with
> >&

Re: [ovirt-users] Backup and Restore of VMs

2014-12-24 Thread Soeren Malchow
Dear Vered,

at some point we have to start, and right now we are getting closer, even with 
the documentation it is sometime hard to find the correct place to start, 
especially without specific examples (and I have decades of experience now)

with the backup plugin that came from Lucas Vandroux we have a starting point 
right now, and we will continue form here and try to work with him on this.

Regards
Soeren


-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Blaster
Sent: Tuesday, December 23, 2014 5:49 PM
To: Vered Volansky
Cc: Users@ovirt.org
Subject: Re: [ovirt-users] Backup and Restore of VMs

Sounds like a Chicken/Egg problem.



On 12/23/2014 12:03 AM, Vered Volansky wrote:
> Well, real world is community...
> Maybe change the name of the thread in order to make this more clear for 
> someone from the community that might be able to could help.
> Maybe something like:
> Request for sharing real world example of VM backups.
>
> We obviously use it as part as developing, but I don't have what you're 
> asking for.
> If you try it yourself and stumble onto questions in the process, please ask 
> the list and we'll do our best to help.
>
> Best Regards,
> Vered
>
> - Original Message -
>> From: "Blaster" 
>> To: "Vered Volansky" 
>> Cc: Users@ovirt.org
>> Sent: Tuesday, December 23, 2014 5:56:13 AM
>> Subject: Re: [ovirt-users] Backup and Restore of VMs
>>
>>
>> Vered,
>>
>> It sounds like Soeren already knows about that page.  His issue seems 
>> to be, as well as the issue of others judging by comments on here, is 
>> that there aren’t any real world examples of how the API is used.
>>
>>
>>
>> On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:
>>
>>> Please take a look at:
>>> http://www.ovirt.org/Features/Backup-Restore_API_Integration
>>>
>>> Specifically:
>>> http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM
>>> _Backups
>>>
>>> Regards,
>>> Vered
>>>
>>> - Original Message -
>>>> From: "Soeren Malchow" 
>>>> To: Users@ovirt.org
>>>> Sent: Friday, December 19, 2014 1:44:38 PM
>>>> Subject: [ovirt-users] Backup and Restore of VMs
>>>>
>>>>
>>>>
>>>> Dear all,
>>>>
>>>>
>>>>
>>>> ovirt: 3.5
>>>>
>>>> gluster: 3.6.1
>>>>
>>>> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
>>>>
>>>>
>>>>
>>>> i spent quite a while researching backup and restore for VMs right 
>>>> now, so far I have come up with this as a start for us
>>>>
>>>>
>>>>
>>>> - API calls to create schedule snapshots of virtual machines This 
>>>> is or short term storage and to guard against accidential deletion 
>>>> within the VM but not for storage corruption
>>>>
>>>>
>>>>
>>>> - Since we are using a gluster backend, gluster snapshots I wasn’t 
>>>> able so far to really test it since the LV needs to be thin 
>>>> provisioned and we did not do that in the setup
>>>>
>>>>
>>>>
>>>> For the API calls we have the problem that we can not find any 
>>>> existing scripts or something like that to do those snapshots (and 
>>>> i/we are not developers enough to do that).
>>>>
>>>>
>>>>
>>>> As an additional information, we have a ZFS based storage with 
>>>> deduplication that we use for other backup purposes which does a 
>>>> great job especially because of the deduplication (we can storage 
>>>> generations of backups without problems), this storage can be NFS 
>>>> exported and used as backup repository.
>>>>
>>>>
>>>>
>>>> Are there any backup and restore procedure you guys are using for 
>>>> backup and restore that works for you and can you point me into the 
>>>> right direction ?
>>>>
>>>> I am a little bit list right now and would appreciate any help.
>>>>
>>>>
>>>>
>>>> Regards
>>>>
>>>> Soeren
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2014-12-23 Thread Blaster

Sounds like a Chicken/Egg problem.



On 12/23/2014 12:03 AM, Vered Volansky wrote:

Well, real world is community...
Maybe change the name of the thread in order to make this more clear for 
someone from the community that might be able to could help.
Maybe something like:
Request for sharing real world example of VM backups.

We obviously use it as part as developing, but I don't have what you're asking 
for.
If you try it yourself and stumble onto questions in the process, please ask 
the list and we'll do our best to help.

Best Regards,
Vered

- Original Message -

From: "Blaster" 
To: "Vered Volansky" 
Cc: Users@ovirt.org
Sent: Tuesday, December 23, 2014 5:56:13 AM
Subject: Re: [ovirt-users] Backup and Restore of VMs


Vered,

It sounds like Soeren already knows about that page.  His issue seems to be,
as well as the issue of others judging by comments on here, is that there
aren’t any real world examples of how the API is used.



On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:


Please take a look at:
http://www.ovirt.org/Features/Backup-Restore_API_Integration

Specifically:
http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups

Regards,
Vered

- Original Message -

From: "Soeren Malchow" 
To: Users@ovirt.org
Sent: Friday, December 19, 2014 1:44:38 PM
Subject: [ovirt-users] Backup and Restore of VMs



Dear all,



ovirt: 3.5

gluster: 3.6.1

OS: CentOS 7 (except ovirt hosted engine = centos 6.6)



i spent quite a while researching backup and restore for VMs right now, so
far I have come up with this as a start for us



- API calls to create schedule snapshots of virtual machines
This is or short term storage and to guard against accidential deletion
within the VM but not for storage corruption



- Since we are using a gluster backend, gluster snapshots
I wasn’t able so far to really test it since the LV needs to be thin
provisioned and we did not do that in the setup



For the API calls we have the problem that we can not find any existing
scripts or something like that to do those snapshots (and i/we are not
developers enough to do that).



As an additional information, we have a ZFS based storage with
deduplication
that we use for other backup purposes which does a great job especially
because of the deduplication (we can storage generations of backups
without
problems), this storage can be NFS exported and used as backup repository.



Are there any backup and restore procedure you guys are using for backup
and
restore that works for you and can you point me into the right direction ?

I am a little bit list right now and would appreciate any help.



Regards

Soeren

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2014-12-23 Thread Soeren Malchow
Hi,

that is exactly right, altough we are getting closer now, we are just checking 
the plugins that were posted a few days ago

https://github.com/ovirt-china/vm-backup-scheduler

they seem to work pretty good so far, I will talk to a few developers after the 
holidays and see whether we can improve something, we already translated a few 
things in those plugins from mandarin to English.
We will have a look into improvements of that plugin. 

I will keep you guys posted.

Thanks
Soeren



-Original Message-
From: Blaster [mailto:blas...@556nato.com] 
Sent: Tuesday, December 23, 2014 4:56 AM
To: Vered Volansky
Cc: Soeren Malchow; Users@ovirt.org
Subject: Re: [ovirt-users] Backup and Restore of VMs


Vered,

It sounds like Soeren already knows about that page.  His issue seems to be, as 
well as the issue of others judging by comments on here, is that there aren't 
any real world examples of how the API is used.



On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:

> Please take a look at:
> http://www.ovirt.org/Features/Backup-Restore_API_Integration
> 
> Specifically:
> http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_B
> ackups
> 
> Regards,
> Vered
> 
> - Original Message -
>> From: "Soeren Malchow" 
>> To: Users@ovirt.org
>> Sent: Friday, December 19, 2014 1:44:38 PM
>> Subject: [ovirt-users] Backup and Restore of VMs
>> 
>> 
>> 
>> Dear all,
>> 
>> 
>> 
>> ovirt: 3.5
>> 
>> gluster: 3.6.1
>> 
>> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
>> 
>> 
>> 
>> i spent quite a while researching backup and restore for VMs right 
>> now, so far I have come up with this as a start for us
>> 
>> 
>> 
>> - API calls to create schedule snapshots of virtual machines This is 
>> or short term storage and to guard against accidential deletion 
>> within the VM but not for storage corruption
>> 
>> 
>> 
>> - Since we are using a gluster backend, gluster snapshots I wasn't 
>> able so far to really test it since the LV needs to be thin 
>> provisioned and we did not do that in the setup
>> 
>> 
>> 
>> For the API calls we have the problem that we can not find any 
>> existing scripts or something like that to do those snapshots (and 
>> i/we are not developers enough to do that).
>> 
>> 
>> 
>> As an additional information, we have a ZFS based storage with 
>> deduplication that we use for other backup purposes which does a 
>> great job especially because of the deduplication (we can storage 
>> generations of backups without problems), this storage can be NFS exported 
>> and used as backup repository.
>> 
>> 
>> 
>> Are there any backup and restore procedure you guys are using for 
>> backup and restore that works for you and can you point me into the right 
>> direction ?
>> 
>> I am a little bit list right now and would appreciate any help.
>> 
>> 
>> 
>> Regards
>> 
>> Soeren
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2014-12-22 Thread Vered Volansky
Well, real world is community...
Maybe change the name of the thread in order to make this more clear for 
someone from the community that might be able to could help.
Maybe something like:
Request for sharing real world example of VM backups.

We obviously use it as part as developing, but I don't have what you're asking 
for.
If you try it yourself and stumble onto questions in the process, please ask 
the list and we'll do our best to help.

Best Regards,
Vered

- Original Message -
> From: "Blaster" 
> To: "Vered Volansky" 
> Cc: Users@ovirt.org
> Sent: Tuesday, December 23, 2014 5:56:13 AM
> Subject: Re: [ovirt-users] Backup and Restore of VMs
> 
> 
> Vered,
> 
> It sounds like Soeren already knows about that page.  His issue seems to be,
> as well as the issue of others judging by comments on here, is that there
> aren’t any real world examples of how the API is used.
> 
> 
> 
> On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:
> 
> > Please take a look at:
> > http://www.ovirt.org/Features/Backup-Restore_API_Integration
> > 
> > Specifically:
> > http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups
> > 
> > Regards,
> > Vered
> > 
> > - Original Message -
> >> From: "Soeren Malchow" 
> >> To: Users@ovirt.org
> >> Sent: Friday, December 19, 2014 1:44:38 PM
> >> Subject: [ovirt-users] Backup and Restore of VMs
> >> 
> >> 
> >> 
> >> Dear all,
> >> 
> >> 
> >> 
> >> ovirt: 3.5
> >> 
> >> gluster: 3.6.1
> >> 
> >> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
> >> 
> >> 
> >> 
> >> i spent quite a while researching backup and restore for VMs right now, so
> >> far I have come up with this as a start for us
> >> 
> >> 
> >> 
> >> - API calls to create schedule snapshots of virtual machines
> >> This is or short term storage and to guard against accidential deletion
> >> within the VM but not for storage corruption
> >> 
> >> 
> >> 
> >> - Since we are using a gluster backend, gluster snapshots
> >> I wasn’t able so far to really test it since the LV needs to be thin
> >> provisioned and we did not do that in the setup
> >> 
> >> 
> >> 
> >> For the API calls we have the problem that we can not find any existing
> >> scripts or something like that to do those snapshots (and i/we are not
> >> developers enough to do that).
> >> 
> >> 
> >> 
> >> As an additional information, we have a ZFS based storage with
> >> deduplication
> >> that we use for other backup purposes which does a great job especially
> >> because of the deduplication (we can storage generations of backups
> >> without
> >> problems), this storage can be NFS exported and used as backup repository.
> >> 
> >> 
> >> 
> >> Are there any backup and restore procedure you guys are using for backup
> >> and
> >> restore that works for you and can you point me into the right direction ?
> >> 
> >> I am a little bit list right now and would appreciate any help.
> >> 
> >> 
> >> 
> >> Regards
> >> 
> >> Soeren
> >> 
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >> 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2014-12-22 Thread Blaster

Vered,

It sounds like Soeren already knows about that page.  His issue seems to be, as 
well as the issue of others judging by comments on here, is that there aren’t 
any real world examples of how the API is used.



On Dec 22, 2014, at 9:26 AM, Vered Volansky  wrote:

> Please take a look at:
> http://www.ovirt.org/Features/Backup-Restore_API_Integration
> 
> Specifically:
> http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups
> 
> Regards,
> Vered
> 
> - Original Message -
>> From: "Soeren Malchow" 
>> To: Users@ovirt.org
>> Sent: Friday, December 19, 2014 1:44:38 PM
>> Subject: [ovirt-users] Backup and Restore of VMs
>> 
>> 
>> 
>> Dear all,
>> 
>> 
>> 
>> ovirt: 3.5
>> 
>> gluster: 3.6.1
>> 
>> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
>> 
>> 
>> 
>> i spent quite a while researching backup and restore for VMs right now, so
>> far I have come up with this as a start for us
>> 
>> 
>> 
>> - API calls to create schedule snapshots of virtual machines
>> This is or short term storage and to guard against accidential deletion
>> within the VM but not for storage corruption
>> 
>> 
>> 
>> - Since we are using a gluster backend, gluster snapshots
>> I wasn’t able so far to really test it since the LV needs to be thin
>> provisioned and we did not do that in the setup
>> 
>> 
>> 
>> For the API calls we have the problem that we can not find any existing
>> scripts or something like that to do those snapshots (and i/we are not
>> developers enough to do that).
>> 
>> 
>> 
>> As an additional information, we have a ZFS based storage with deduplication
>> that we use for other backup purposes which does a great job especially
>> because of the deduplication (we can storage generations of backups without
>> problems), this storage can be NFS exported and used as backup repository.
>> 
>> 
>> 
>> Are there any backup and restore procedure you guys are using for backup and
>> restore that works for you and can you point me into the right direction ?
>> 
>> I am a little bit list right now and would appreciate any help.
>> 
>> 
>> 
>> Regards
>> 
>> Soeren
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup and Restore of VMs

2014-12-22 Thread Vered Volansky
Please take a look at:
http://www.ovirt.org/Features/Backup-Restore_API_Integration

Specifically:
http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups

Regards,
Vered

- Original Message -
> From: "Soeren Malchow" 
> To: Users@ovirt.org
> Sent: Friday, December 19, 2014 1:44:38 PM
> Subject: [ovirt-users] Backup and Restore of VMs
> 
> 
> 
> Dear all,
> 
> 
> 
> ovirt: 3.5
> 
> gluster: 3.6.1
> 
> OS: CentOS 7 (except ovirt hosted engine = centos 6.6)
> 
> 
> 
> i spent quite a while researching backup and restore for VMs right now, so
> far I have come up with this as a start for us
> 
> 
> 
> - API calls to create schedule snapshots of virtual machines
> This is or short term storage and to guard against accidential deletion
> within the VM but not for storage corruption
> 
> 
> 
> - Since we are using a gluster backend, gluster snapshots
> I wasn’t able so far to really test it since the LV needs to be thin
> provisioned and we did not do that in the setup
> 
> 
> 
> For the API calls we have the problem that we can not find any existing
> scripts or something like that to do those snapshots (and i/we are not
> developers enough to do that).
> 
> 
> 
> As an additional information, we have a ZFS based storage with deduplication
> that we use for other backup purposes which does a great job especially
> because of the deduplication (we can storage generations of backups without
> problems), this storage can be NFS exported and used as backup repository.
> 
> 
> 
> Are there any backup and restore procedure you guys are using for backup and
> restore that works for you and can you point me into the right direction ?
> 
> I am a little bit list right now and would appreciate any help.
> 
> 
> 
> Regards
> 
> Soeren
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup and Restore of VMs

2014-12-19 Thread Soeren Malchow
Dear all,

ovirt: 3.5
gluster: 3.6.1
OS: CentOS 7 (except ovirt hosted engine = centos 6.6)

i spent quite a while researching backup and restore for VMs right now, so far 
I have come up with this as a start for us


-  API calls to create schedule snapshots of virtual machines
This is or short term storage and to guard against accidential deletion within 
the VM but not for storage corruption


-  Since we are using a gluster backend, gluster snapshots
I wasn't able so far to really test it since the LV needs to be thin 
provisioned and we did not do that in the setup

For the API calls we have the problem that we can not find any existing scripts 
or something like that to do those snapshots (and i/we are not developers 
enough to do that).

As an additional information, we have a ZFS based storage with deduplication 
that we use for other backup purposes which does a great job especially because 
of the deduplication (we can storage generations of backups without problems), 
this storage can be NFS exported and used as backup repository.

Are there any backup and restore procedure you guys are using for backup and 
restore that works for you and can you point me into the right direction ?
I am a little bit list right now and would appreciate any help.

Regards
Soeren
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2014-12-15 Thread Nir Soffer
- Original Message -
> From: "Blaster" 
> To: "Thomas Keppler (PEBA)" , users@ovirt.org
> Sent: Wednesday, December 10, 2014 8:06:58 PM
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:
> 
> 
> 
> Now, before I go into any more hassle, has somebody else of you done a
> live-backup solution for oVirt? Are there any recommendations? Thanks for
> any help provided!
> 
> 
> I've been looking for a similar scheme for the last year. It was not (really)
> possible in the past as there wasn't any way to destroy a snapshot w/o
> shutting down the VM. Is this still the case, or are snap shots fully
> implemented now?
> 
> Basically, I'd like to:
> Tell VM to flush it's buffers
> suspend VM
> take snap shot of boot virtual disk
> resume VM

You don't need to suspend the vm, qemu can create live snapshot. When the
snapshot is done, you don't care about future io, it will simply not 
included in the backup.

> backup the virtual boot disk from the Hypervisor using standard commands
> (tar, cp, whatever)

You can by attaching the snapshot to another vm

> destroy the snapshot

You can in ovirt 3.5.1 - we do not depend any more on future libvirt features.
Adam, can you confirm?

> 
> This would at least give some BMR capabilities of your VMs.
> 
> Ideally, I'd also like to be able to create a snapshot from within the VM, do

You can do this "within" the vm by using the engine REST API. But this can
be fragile - for example, if the vm pauses, your backup tool within the vm
will never complete :-)

> a yum update, see if I like it or not, if I do, then destroy the snap shot.

Possible in 3.5.1 using REST API

> If I don't, I want to promote the snapshot and boot from that, then destroy
> the "original".

Same

Nir
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2014-12-12 Thread Itamar Heim

On 12/10/2014 01:06 PM, Blaster wrote:

On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:


Now, before I go into any more hassle, has somebody else of you done a
live-backup solution for oVirt? Are there any recommendations? Thanks
for any help provided!



I've been looking for a similar scheme for the last year.  It was not
(really) possible in the past as there wasn't any way to destroy a
snapshot w/o shutting down the VM.   Is this still the case, or are snap
shots fully implemented now?

Basically, I'd like to:
Tell VM to flush it's buffers
suspend VM
take snap shot of boot virtual disk
resume VM
backup the virtual boot disk from the Hypervisor using standard commands
(tar, cp, whatever)
destroy the snapshot

This would at least give some BMR capabilities of your VMs.

Ideally, I'd also like to be able to create a snapshot from within the
VM, do a yum update, see if I like it or not, if I do, then destroy the
snap shot.  If I don't, I want to promote the snapshot and boot from
that, then destroy the "original".
(Yes, I know, BTRFS is supposed to be the solution to this with in the
VM at some point, isn't it?)

I have looked at the oVirt backup API wiki, but the code examples look
more like pseudo code than real world examples.



that's "live merge". its in 3.5, but pending rhel/centos 7.1 (and 
accompanying 3.5.z patches around for bugs found during testing with 
that upcoming release)


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2014-12-10 Thread Blaster

On 11/27/2014 9:12 AM, Keppler, Thomas (PEBA) wrote:


Now, before I go into any more hassle, has somebody else of you done a 
live-backup solution for oVirt? Are there any recommendations? Thanks 
for any help provided!




I've been looking for a similar scheme for the last year.  It was not 
(really) possible in the past as there wasn't any way to destroy a 
snapshot w/o shutting down the VM.   Is this still the case, or are snap 
shots fully implemented now?


Basically, I'd like to:
Tell VM to flush it's buffers
suspend VM
take snap shot of boot virtual disk
resume VM
backup the virtual boot disk from the Hypervisor using standard commands 
(tar, cp, whatever)

destroy the snapshot

This would at least give some BMR capabilities of your VMs.

Ideally, I'd also like to be able to create a snapshot from within the 
VM, do a yum update, see if I like it or not, if I do, then destroy the 
snap shot.  If I don't, I want to promote the snapshot and boot from 
that, then destroy the "original".
(Yes, I know, BTRFS is supposed to be the solution to this with in the 
VM at some point, isn't it?)


I have looked at the oVirt backup API wiki, but the code examples look 
more like pseudo code than real world examples.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2014-12-04 Thread Liron Aravot


- Original Message -
> From: "Thomas Keppler (PEBA)" 
> To: "Liron Aravot" 
> Sent: Thursday, December 4, 2014 12:01:28 PM
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> The Export Phase.
> 
There's no export phase, you create a snapshot and then you backup the data 
present to the time of the snapshot.
> --
> Best regards
> Thomas Keppler
> 
> > Am 04.12.2014 um 10:54 schrieb Liron Aravot :
> > 
> > 
> > 
> > - Original Message -
> >> From: "Thomas Keppler (PEBA)" 
> >> To: "Liron Aravot" 
> >> Sent: Thursday, December 4, 2014 11:41:13 AM
> >> Subject: Re: [ovirt-users] Backup solution using the API
> >> 
> >> This it requires you to halt the  vm, therefore it's not usable for us.
> > What phase requires to halt the vm?
> >> --
> >> Best regards
> >> Thomas Keppler
> >> 
> >>> Am 04.12.2014 um 08:51 schrieb Liron Aravot :
> >>> 
> >>> Hi Thomas/plysan
> >>> oVirt has the Backup/Restore api designated to provide the capabilities
> >>> to
> >>> backup/restore a vm.
> >>> see here:
> >>> http://www.ovirt.org/Features/Backup-Restore_API_Integration
> >>> 
> >>> - Original Message -
> >>>> From: "plysan" 
> >>>> To: "Thomas Keppler (PEBA)" 
> >>>> Cc: users@ovirt.org
> >>>> Sent: Thursday, December 4, 2014 3:51:24 AM
> >>>> Subject: Re: [ovirt-users] Backup solution using the API
> >>>> 
> >>>> Hi,
> >>>> 
> >>>> For the live-backup, i think you can make a live snapshot of the vm, and
> >>>> then
> >>>> clone a new vm from that snapshot, after that you can do export.
> >>>> 
> >>>> 2014-11-27 23:12 GMT+08:00 Keppler, Thomas (PEBA) <
> >>>> thomas.kepp...@kit.edu
> >>>> :
> >>>> 
> >>>> 
> >>>> 
> >>>> Hello,
> >>>> 
> >>>> now that our oVirt Cluster runs great, I'd like to know if anybody has
> >>>> done a
> >>>> backup solution for oVirt before.
> >>>> 
> >>>> My basic idea goes as follows:
> >>>> - Create a JSON file with machine's preferences for later restore,
> >>>> create
> >>>> a
> >>>> snapshot, snatch the disk by its disk-id (copy it to the fileserver),
> >>>> then
> >>>> deleting the snapshot and be done with it.
> >>>> - On restore I'd just create a new VM with the Disks and NICs specified
> >>>> in
> >>>> the preferences; then I'd go ahead and and put back the disk... t
> >>>> 
> >>>> I've played a little bit around with building a JSON file and so far it
> >>>> works
> >>>> great; I haven't tried to make a VM with that, though...
> >>>> 
> >>>> Using the export domain or a simple export command is not what I want
> >>>> since
> >>>> you'd have to turn off the machine to do that - AFAIK. Correct me if
> >>>> that
> >>>> should not be true.
> >>>> 
> >>>> Now, before I go into any more hassle, has somebody else of you done a
> >>>> live-backup solution for oVirt? Are there any recommendations? Thanks
> >>>> for
> >>>> any help provided!
> >>>> 
> >>>> Best regards
> >>>> Thomas Keppler
> >>>> 
> >>>> ___
> >>>> Users mailing list
> >>>> Users@ovirt.org
> >>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>> 
> >>>> 
> >>>> 
> >>>> ___
> >>>> Users mailing list
> >>>> Users@ovirt.org
> >>>> http://lists.ovirt.org/mailman/listinfo/users
> >> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2014-12-03 Thread Liron Aravot
Hi Thomas/plysan
oVirt has the Backup/Restore api designated to provide the capabilities to 
backup/restore a vm.
see here:
http://www.ovirt.org/Features/Backup-Restore_API_Integration

- Original Message -
> From: "plysan" 
> To: "Thomas Keppler (PEBA)" 
> Cc: users@ovirt.org
> Sent: Thursday, December 4, 2014 3:51:24 AM
> Subject: Re: [ovirt-users] Backup solution using the API
> 
> Hi,
> 
> For the live-backup, i think you can make a live snapshot of the vm, and then
> clone a new vm from that snapshot, after that you can do export.
> 
> 2014-11-27 23:12 GMT+08:00 Keppler, Thomas (PEBA) < thomas.kepp...@kit.edu >
> :
> 
> 
> 
> Hello,
> 
> now that our oVirt Cluster runs great, I'd like to know if anybody has done a
> backup solution for oVirt before.
> 
> My basic idea goes as follows:
> - Create a JSON file with machine's preferences for later restore, create a
> snapshot, snatch the disk by its disk-id (copy it to the fileserver), then
> deleting the snapshot and be done with it.
> - On restore I'd just create a new VM with the Disks and NICs specified in
> the preferences; then I'd go ahead and and put back the disk... t
> 
> I've played a little bit around with building a JSON file and so far it works
> great; I haven't tried to make a VM with that, though...
> 
> Using the export domain or a simple export command is not what I want since
> you'd have to turn off the machine to do that - AFAIK. Correct me if that
> should not be true.
> 
> Now, before I go into any more hassle, has somebody else of you done a
> live-backup solution for oVirt? Are there any recommendations? Thanks for
> any help provided!
> 
> Best regards
> Thomas Keppler
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solution using the API

2014-12-03 Thread plysan
Hi,

For the live-backup, i think you can make a live snapshot of the vm, and
then clone a new vm from that snapshot, after that you can do export.

2014-11-27 23:12 GMT+08:00 Keppler, Thomas (PEBA) :

>  Hello,
>
> now that our oVirt Cluster runs great, I'd like to know if anybody has
> done a backup solution for oVirt before.
>
> My basic idea goes as follows:
> - Create a JSON file with machine's preferences for later restore, create
> a snapshot, snatch the disk by its disk-id (copy it to the fileserver),
> then deleting the snapshot and be done with it.
> - On restore I'd just create a new VM with the Disks and NICs specified in
> the preferences; then I'd go ahead and and put back the disk... t
>
> I've played a little bit around with building a JSON file and so far it
> works great; I haven't tried to make a VM with that, though...
>
> Using the export domain or a simple export command is not what I want
> since you'd have to turn off the machine to do that - AFAIK. Correct me if
> that should not be true.
>
> Now, before I go into any more hassle, has somebody else of you done a
> live-backup solution for oVirt? Are there any recommendations? Thanks for
> any help provided!
>
> Best regards
> Thomas Keppler
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup solution using the API

2014-11-27 Thread Keppler, Thomas (PEBA)
Hello,

now that our oVirt Cluster runs great, I'd like to know if anybody has done a 
backup solution for oVirt before.

My basic idea goes as follows:
- Create a JSON file with machine's preferences for later restore, create a 
snapshot, snatch the disk by its disk-id (copy it to the fileserver), then 
deleting the snapshot and be done with it.
- On restore I'd just create a new VM with the Disks and NICs specified in the 
preferences; then I'd go ahead and and put back the disk... t

I've played a little bit around with building a JSON file and so far it works 
great; I haven't tried to make a VM with that, though...

Using the export domain or a simple export command is not what I want since 
you'd have to turn off the machine to do that - AFAIK. Correct me if that 
should not be true.

Now, before I go into any more hassle, has somebody else of you done a 
live-backup solution for oVirt? Are there any recommendations? Thanks for any 
help provided!

Best regards
Thomas Keppler
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solutions for Ovirt

2014-07-22 Thread Federico Alberto Sayd

On 22/07/14 11:52, Itamar Heim wrote:

On 07/22/2014 05:26 PM, Jiří Sléžka wrote:

Dne 18.7.2014 9:27, saurabh napsal(a):

It would be great as any of you provide any pointer on this issue.


Hello,

I believe there is currently no backup solution for oVirt. You can do
backups inside of vms or you can simply power-off vm and then export it
to the export storage. There is work underway on the backup API -
http://www.ovirt.org/Features/Backup-Restore_API_Integration


the backup api is implemented in 3.3 or 3.4 already. now backup 
solutions need to provide integration with it (or open source backup 
solutions - not familiar with these)



http://www.ovirt.org/Features/Backup-Restore_API_Integration
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solutions for Ovirt

2014-07-22 Thread Itamar Heim

On 07/22/2014 05:26 PM, Jiří Sléžka wrote:

Dne 18.7.2014 9:27, saurabh napsal(a):

It would be great as any of you provide any pointer on this issue.


Hello,

I believe there is currently no backup solution for oVirt. You can do
backups inside of vms or you can simply power-off vm and then export it
to the export storage. There is work underway on the backup API -
http://www.ovirt.org/Features/Backup-Restore_API_Integration


the backup api is implemented in 3.3 or 3.4 already. now backup 
solutions need to provide integration with it (or open source backup 
solutions - not familiar with these)



Jiri Slezka





Regards,


On Tuesday 15 July 2014 02:35 PM, saurabh wrote:

Hi All,

I am using Ovirt for my QA environment almost 15 virtual servers, and
it is working as expected. The only thing I am worried about is the
backup solutions in case of failure or system crash.

I tried looking into the LVM structure that is created by Ovirt but it
seems a bit complex.
Please let me know the proper solution (if there is any) for backing
up my environment in case of failure.


Best Regards,







___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solutions for Ovirt

2014-07-22 Thread Jiří Sléžka

Dne 18.7.2014 9:27, saurabh napsal(a):

It would be great as any of you provide any pointer on this issue.


Hello,

I believe there is currently no backup solution for oVirt. You can do 
backups inside of vms or you can simply power-off vm and then export it 
to the export storage. There is work underway on the backup API - 
http://www.ovirt.org/Features/Backup-Restore_API_Integration


Jiri Slezka





Regards,


On Tuesday 15 July 2014 02:35 PM, saurabh wrote:

Hi All,

I am using Ovirt for my QA environment almost 15 virtual servers, and
it is working as expected. The only thing I am worried about is the
backup solutions in case of failure or system crash.

I tried looking into the LVM structure that is created by Ovirt but it
seems a bit complex.
Please let me know the proper solution (if there is any) for backing
up my environment in case of failure.


Best Regards,





<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup solutions for Ovirt

2014-07-18 Thread saurabh

It would be great as any of you provide any pointer on this issue.


Regards,


On Tuesday 15 July 2014 02:35 PM, saurabh wrote:

Hi All,

I am using Ovirt for my QA environment almost 15 virtual servers, and 
it is working as expected. The only thing I am worried about is the 
backup solutions in case of failure or system crash.


I tried looking into the LVM structure that is created by Ovirt but it 
seems a bit complex.
Please let me know the proper solution (if there is any) for backing 
up my environment in case of failure.



Best Regards,



--
Saurabh Kumar
System Admin
Red Hat Certified Engineer (RHCE)
Red Hat Certified System Administrator (RHCSA)
Red Hat Certified Virtualization Administrator (RHCVA)
Red Hat Certified Server Hardening Expert (RH-413)

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup solutions for Ovirt

2014-07-15 Thread saurabh

Hi All,

I am using Ovirt for my QA environment almost 15 virtual servers, and it 
is working as expected. The only thing I am worried about is the backup 
solutions in case of failure or system crash.


I tried looking into the LVM structure that is created by Ovirt but it 
seems a bit complex.
Please let me know the proper solution (if there is any) for backing up 
my environment in case of failure.



Best Regards,

--
Saurabh Kumar
System Admin
Red Hat Certified Engineer (RHCE)
Red Hat Certified System Administrator (RHCSA)
Red Hat Certified Virtualization Administrator (RHCVA)
Red Hat Certified Server Hardening Expert (RH-413)

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup

2014-07-05 Thread Alexandr Krivulya
I think you could start from:
- http://www.ovirt.org/Features/Backup-Restore_API_Integration
- http://www.ovirt.org/Features/Backup_API
- http://www.ovirt.org/Ovirt-engine-backup

In our production environment we use storage filesystem snapshots with
subsequent archiving (NFS over ZFS), but it can't be useful in some tasks.

03.07.2014 04:26, Punit Dambiwal ?:
> Hi,
>
> I have one question regarding the backup architecture for ovirt
>
> 1. How to take the backup of VM ??
> 2. Is there any way we can schedule the backup of all VM's on another
> storage(Suppose we have two storage one for VM disks and another for
> VM backups) ??
> 3. Is there any way to restore the backup (after point 2) ??
> 4. How to take the ovirt-engine database backup and restore itis
> there any automated way to do this or we need to manually take the
> backup as we take the backup of postgresql ??
>
> Thanks,
> Punit
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup

2014-07-02 Thread Punit Dambiwal
Hi,

I have one question regarding the backup architecture for ovirt

1. How to take the backup of VM ??
2. Is there any way we can schedule the backup of all VM's on another
storage(Suppose we have two storage one for VM disks and another for VM
backups) ??
3. Is there any way to restore the backup (after point 2) ??
4. How to take the ovirt-engine database backup and restore itis there
any automated way to do this or we need to manually take the backup as we
take the backup of postgresql ??

Thanks,
Punit
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users