From blanchet at abes.fr Mon Dec 23 10:05:03 2013 Content-Type: multipart/mixed; boundary="===============2047919513594266872==" MIME-Version: 1.0 From: =?utf-8?q?Nathana=C3=ABl_Blanchet_=3Cblanchet_at_abes=2Efr=3E?= To: users at ovirt.org Subject: [Users] recommandations for saving backing up ovirt Date: Mon, 23 Dec 2013 16:05:01 +0100 Message-ID: <52B8511D.7040205@abes.fr> --===============2047919513594266872== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This is a multi-part message in MIME format. --------------080409070709050803070307 Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed Content-Transfer-Encoding: 8bit Hi all, I 'd like to receive any usefull advices from the community about good = practice of backing up ovirt with the restraint of zero down time. This involves : * saving vms without shutting down (Restoring them can be done with a halt). Is live snapshot enough for this? Is lvm or san snapshot recommended? * saving the postgres database (or only some of main tables). Can we do it without stopping engine and the risk of a data corruption? Is there a howto? Thank you for your help. -- = Nathana=C3=ABl Blanchet Supervision r=C3=A9seau P=C3=B4le exploitation et maintenance D=C3=A9partement des syst=C3=A8mes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 = T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet(a)abes.fr --------------080409070709050803070307 Content-Type: text/html; charset=3DISO-8859-1 Content-Transfer-Encoding: 7bit Hi all,

I 'd like to receive any usefull advices from the community about good practice of backing up ovirt with the restraint of zero down time.
This involves :

Thank you for your help.

-- =

Nathanaël Blanchet

Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 	=

Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
bl=
anchet(a)abes.fr 
--------------080409070709050803070307-- --===============2047919513594266872== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" VGhpcyBpc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- From emesika at redhat.com Tue Dec 24 05:00:27 2013 Content-Type: multipart/mixed; boundary="===============0160387881164015665==" MIME-Version: 1.0 From: Eli Mesika To: users at ovirt.org Subject: Re: [Users] recommandations for saving backing up ovirt Date: Tue, 24 Dec 2013 05:00:19 -0500 Message-ID: <1326883504.43333139.1387879219935.JavaMail.root@redhat.com> In-Reply-To: 52B8511D.7040205@abes.fr --===============0160387881164015665== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Nathana=C3=ABl Blanchet" > To: users(a)ovirt.org > Sent: Monday, December 23, 2013 5:05:01 PM > Subject: [Users] recommandations for saving backing up ovirt > = > Hi all, > = > I 'd like to receive any usefull advices from the community about good > practice of backing up ovirt with the restraint of zero down time. > This involves : > = > = > * saving vms without shutting down (Restoring them can be done with a > halt). Is live snapshot enough for this? Is lvm or san snapshot > recommended? See http://www.ovirt.org/Features/Backup_API > * saving the postgres database (or only some of main tables). Can we = do > it without stopping engine and the risk of a data corruption? Is ther= e a > howto? For 3.3 you have share/ovirt-engine/bin/engine-backup.sh for usage please run it with --help You may do it without stopping the engine > = > = > Thank you for your help. > -- > Nathana=C3=ABl Blanchet > = > Supervision r=C3=A9seau > P=C3=B4le exploitation et maintenance > D=C3=A9partement des syst=C3=A8mes d'information > 227 avenue Professeur-Jean-Louis-Viala > 34193 MONTPELLIER CEDEX 5 > T=C3=A9l. 33 (0)4 67 54 84 55 > Fax 33 (0)4 67 54 84 14 blanchet(a)abes.fr > = > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >=20 --===============0160387881164015665==-- From iheim at redhat.com Tue Dec 31 11:28:09 2013 Content-Type: multipart/mixed; boundary="===============2846009434184605742==" MIME-Version: 1.0 From: Itamar Heim To: users at ovirt.org Subject: Re: [Users] recommandations for saving backing up ovirt Date: Tue, 31 Dec 2013 18:28:04 +0200 Message-ID: <52C2F094.3030605@redhat.com> In-Reply-To: 1326883504.43333139.1387879219935.JavaMail.root@redhat.com --===============2846009434184605742== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 12/24/2013 12:00 PM, Eli Mesika wrote: > > > ----- Original Message ----- >> From: "Nathana=C3=ABl Blanchet" >> To: users(a)ovirt.org >> Sent: Monday, December 23, 2013 5:05:01 PM >> Subject: [Users] recommandations for saving backing up ovirt >> >> Hi all, >> >> I 'd like to receive any usefull advices from the community about good >> practice of backing up ovirt with the restraint of zero down time. >> This involves : >> >> >> * saving vms without shutting down (Restoring them can be done with= a >> halt). Is live snapshot enough for this? Is lvm or san snapshot >> recommended? > > See http://www.ovirt.org/Features/Backup_API using storage side snapshot could be interesting as well. ayal - thoughts? > >> * saving the postgres database (or only some of main tables). Can w= e do >> it without stopping engine and the risk of a data corruption? Is th= ere a >> howto? > > For 3.3 you have share/ovirt-engine/bin/engine-backup.sh > for usage please run it with --help > You may do it without stopping the engine >> >> >> Thank you for your help. >> -- >> Nathana=C3=ABl Blanchet >> >> Supervision r=C3=A9seau >> P=C3=B4le exploitation et maintenance >> D=C3=A9partement des syst=C3=A8mes d'information >> 227 avenue Professeur-Jean-Louis-Viala >> 34193 MONTPELLIER CEDEX 5 >> T=C3=A9l. 33 (0)4 67 54 84 55 >> Fax 33 (0)4 67 54 84 14 blanchet(a)abes.fr >> >> _______________________________________________ >> Users mailing list >> Users(a)ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > --===============2846009434184605742==-- From abaron at redhat.com Tue Dec 31 11:36:40 2013 Content-Type: multipart/mixed; boundary="===============0520293483758634104==" MIME-Version: 1.0 From: Ayal Baron To: users at ovirt.org Subject: Re: [Users] recommandations for saving backing up ovirt Date: Tue, 31 Dec 2013 11:36:38 -0500 Message-ID: <607788670.44125996.1388507798941.JavaMail.root@redhat.com> In-Reply-To: 52B8511D.7040205@abes.fr --===============0520293483758634104== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > Hi all, > = > I 'd like to receive any usefull advices from the community about good > practice of backing up ovirt with the restraint of zero down time. > This involves : > = > = > * saving vms without shutting down (Restoring them can be done with a > halt). Is live snapshot enough for this? Is lvm or san snapshot > recommended? live snapshot gives you crash consistent points in time to return to, howev= er, if you want a 'backup' which is stored externally and can then be resto= red in a different configuration etc then you'd need to utilize the backup = API (live snapshot + attach the snap to a virtual appliance and then back i= t up). live snapshots also integrate with the qemu guest agent so if you've deploy= ed this then you can get better consistency (file systems would be quiesced= on linux guests and on windows guests this should cause VSS to quiesce you= r apps as well). If your storage supports snapshots and your VMs contain a single disk (dire= ct lun) then you can snapshot the lun on the storage side and again get cra= sh consistency. If you could get this to work for you then performance wise this is probabl= y the best option. If your backup solution is integrated with your storage then even better. > * saving the postgres database (or only some of main tables). Can we = do > it without stopping engine and the risk of a data corruption? Is ther= e a > howto? > = > = > Thank you for your help. > -- > Nathana=C3=ABl Blanchet > = > Supervision r=C3=A9seau > P=C3=B4le exploitation et maintenance > D=C3=A9partement des syst=C3=A8mes d'information > 227 avenue Professeur-Jean-Louis-Viala > 34193 MONTPELLIER CEDEX 5 > T=C3=A9l. 33 (0)4 67 54 84 55 > Fax 33 (0)4 67 54 84 14 blanchet(a)abes.fr > = > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >=20 --===============0520293483758634104==--