Re: [one-users] Backup and Restore
You can also try (Xen, VMware also supported in this method) save_as the VM disks (live), sync the FS (within the VMs) before doing it to prevent inconsistencies. You will have a copy of the disks in the Image datastore, that can be used as backup or to instantiate other VMs. Cheers On Thu, Oct 31, 2013 at 9:44 AM, Carlo Daffara carlo.daff...@cloudweavers.eu wrote: There are many solutions; apart from using kvm snapshots (and later image rebuild to have a single clone) we prefer the use of a filesystem that allows for atomic snapshots (like BTRFS) or a distributed filesystem with the same properties (like Ceph). You snapshot the entire datastore or the single file you want, and then reimport it within opennebula. Take care of one thing: if you are using cache=writeback in KVM (or the equivalent in xen or vmware) you are risking inconsistencies, unless you stop the VM, as there are probably outstanding writes that needs to be committed to disk that will not appear in the snapshot at all. Carlo Daffara - Messaggio originale - Da: Soeren Malchow soeren.malc...@mcon.net A: users@lists.opennebula.org Inviato: Giovedì, 31 ottobre 2013 7:41:35 Oggetto: [one-users] Backup and Restore Dear all, i already searched the documentation and the mailing list, but did not come up with an answer. I would like to know how to backup virtual machines in OpenNebula WITHOUT shutting the down, or if there is a solution at all. We have an existing backup system that should be reused, exposure of the virtual machines images files or something like that should be sufficient. Can anybody point me into the right direction ? Regards Soeren ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Backup and Restore
Dear all, i already searched the documentation and the mailing list, but did not come up with an answer. I would like to know how to backup virtual machines in OpenNebula WITHOUT shutting the down, or if there is a solution at all. We have an existing backup system that should be reused, exposure of the virtual machines images files or something like that should be sufficient. Can anybody point me into the right direction ? Regards Soeren ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Backup and Restore
There are many solutions; apart from using kvm snapshots (and later image rebuild to have a single clone) we prefer the use of a filesystem that allows for atomic snapshots (like BTRFS) or a distributed filesystem with the same properties (like Ceph). You snapshot the entire datastore or the single file you want, and then reimport it within opennebula. Take care of one thing: if you are using cache=writeback in KVM (or the equivalent in xen or vmware) you are risking inconsistencies, unless you stop the VM, as there are probably outstanding writes that needs to be committed to disk that will not appear in the snapshot at all. Carlo Daffara - Messaggio originale - Da: Soeren Malchow soeren.malc...@mcon.net A: users@lists.opennebula.org Inviato: Giovedì, 31 ottobre 2013 7:41:35 Oggetto: [one-users] Backup and Restore Dear all, i already searched the documentation and the mailing list, but did not come up with an answer. I would like to know how to backup virtual machines in OpenNebula WITHOUT shutting the down, or if there is a solution at all. We have an existing backup system that should be reused, exposure of the virtual machines images files or something like that should be sufficient. Can anybody point me into the right direction ? Regards Soeren ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org