
--_000_EE4D679B9474414187D2E27D8B6890F6931BF6G08CNEXMBPEKD03g0_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SGksQWxsDQogICAgICAgICBBcyB0aGUgbWF1dWFsLCBJIGNhbqGvdCBmaW5kIGFueXdheSB0byBi YWNrdXAvcmVzdG9yZSB0aGUgcmhldm0tVk0gaW4gdGhlIGhvc3RlZC1lbmdpbmUuIFRoZSBJIGp1 c3QgdHJ5IHRvIGJhY2t1cCB0aGUgc3RvcmFnZSBvZiByaGV2bS1WTSAodXNpbmcgY3AgqENwcmYg IHRvIG1ha2UgYSBjb3B5IG9mIGZvbGRlcikuIFRoZW4gSSBtYWtlIHNvbWUgY2hhbmdlIGFuZCBy ZXBsYWNlIHRoZSBvcmlnaW4gUkhFVk0tVk0gY29udGVudCB3aXRoIG15IGJhY2t1cCBmb2xkZXIg KG9mIGNvdXJzZSBJIHNodXRkb3duIHRoZSByaGV2bS12bSBmaXJzdCkuICBBdCBsYXN0IHRoZSB2 bSBjYW4gYmUgdXAsYnV0IHRoZSBzdGF0dXMgaXMgTk9UIGhlYWx0aCBidXQgYXMgYmVsb3c6DQoN Cj09PT09PT09PT09PT09PT09PT09DQpTdGF0dXMgdXAtdG8tZGF0ZSAgICAgICAgICAgICAgICAg IDogRmFsc2UNCkhvc3RuYW1lICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAxOTMuMTY4LjE5 NS4yNDgNCkhvc3QgSUQgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAxDQpFbmdpbmUgc3Rh dHVzICAgICAgICAgICAgICAgICAgICAgIDogdW5rbm93biBzdGFsZS1kYXRhDQpTY29yZSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIDogMjQwMA0KTG9jYWwgbWFpbnRlbmFuY2UgICAgICAg ICAgICAgICAgICA6IEZhbHNlDQpIb3N0IHRpbWVzdGFtcCAgICAgICAgICAgICAgICAgICAgIDog MTQwOTc0MzQ2MQ0KRXh0cmEgbWV0YWRhdGEgKHZhbGlkIGF0IHRpbWVzdGFtcCk6DQogICAgICAg ICBtZXRhZGF0YV9wYXJzZV92ZXJzaW9uPTENCiAgICAgICAgIG1ldGFkYXRhX2ZlYXR1cmVfdmVy c2lvbj0xDQogICAgICAgICB0aW1lc3RhbXA9MTQwOTc0MzQ2MSAoV2VkIFNlcCAgMyAwNzoyNDoy MSAyMDE0KQ0KICAgICAgICAgaG9zdC1pZD0xDQogICAgICAgICBzY29yZT0yNDAwDQogICAgICAg ICBtYWludGVuYW5jZT1GYWxzZQ0KICAgICAgICAgc3RhdGU9RW5naW5lVXANCg0KPT09PT09PT09 PT09PT09PT09PT09PT09PT09PT0NCg0KU28gYXJlIHRoZXJlIHNvbWUgcHJvcGVyIHdheSB0byBi YWNrdXAgdGhlIHJoZXZtLXZtPw0K --_000_EE4D679B9474414187D2E27D8B6890F6931BF6G08CNEXMBPEKD03g0_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dgb2312"> <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:=CB=CE=CC=E5; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:"\@=CB=CE=CC=E5"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} /* Page Definitions */ @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"ZH-CN" link=3D"blue" vlink=3D"purple" style=3D"text-justify-t= rim:punctuation"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span lang=3D"EN-US">Hi,All<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; As the mauual, I can=A1=AFt find anyway to backup/restore= the rhevm-VM in the hosted-engine. The I just try to backup the storage of= rhevm-VM (using cp =A8Cprf to make a copy of folder). Then I make so= me change and replace the origin RHEVM-VM content with my backup folder (of course I shu= tdown the rhevm-vm first). At last the vm can be up,but the status is <b>NOT</b> health but as below:<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Status up-to-date &n= bsp;  = ; : False<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Hostname  = ; &n= bsp; : 193.168.195.24= 8<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Host ID = &nb= sp; : 1<o:p></o= :p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Engine status = &nb= sp; : unknown stale-data<o:p></o:p></span></p=
<p class=3D"MsoNormal"><span lang=3D"EN-US">Score &n= bsp;  = ; := 2400<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Local maintenance &n= bsp;  = ; : False<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Host timestamp  = ; &= nbsp; : 1409743461<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Extra metadata (valid at timest= amp):<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; metadata_parse_version=3D1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; metadata_feature_version=3D1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; timestamp=3D1409743461 (Wed Sep 3 07:24:21 2014)<o:= p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; host-id=3D1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; score=3D2400<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; maintenance=3DFalse<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; state=3DEngineUp<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">So are there some proper way to= backup the rhevm-vm? <o:p></o:p></span></p> </div> </body> </html> --_000_EE4D679B9474414187D2E27D8B6890F6931BF6G08CNEXMBPEKD03g0_--

To:</b> users@ovirt.org<br><b>Subject:</b> [ovirt-users] How to backup/res= tore the rhevm-VM in hosted-engine ?<o:p></o:p></span></p></div></div><p cl= ass=3DMsoNormal align=3Dleft style=3D'text-align:left'><o:p> </o:p></p= <p class=3DMsoNormal><span lang=3DEN-US>Hi,All<o:p></o:p></span></p><p cla= ss=3DMsoNormal><span lang=3DEN-US>  = ; As the mauual, I can’t find anyway to backup/restore the rhev= m-VM in the hosted-engine. The I just try to backup the storage of rhevm-VM= (using cp –prf to make a copy of folder). Then I make some cha= nge and replace the origin RHEVM-VM content with my backup folder (of cours= e I shutdown the rhevm-vm first). At last the vm can be up,but the st= atus is <b>NOT</b> health but as below:<o:p></o:p></span></p><p class=3DMso= Normal><span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal>= <span lang=3DEN-US>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Status = up-to-date  = ; : False<o:p></o:p></span></p><p class= =3DMsoNormal><span lang=3DEN-US>Hostname  = ; &n= bsp; : 193.168.195.248<o:p></o:p>= </span></p><p class=3DMsoNormal><span lang=3DEN-US>Host ID  = ; &n= bsp; : 1<= o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Engine status&= nbsp; &nbs=
</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Score = &nb= sp; = : 2400<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3D= EN-US>Local maintenance &nbs=
</p><p class=3DMsoNormal><span lang=3DEN-US>Host timestamp &nbs=
</span></p><p class=3DMsoNormal><span lang=3DEN-US>  = ; metadata_parse_version=3D1<o:p></o:p></span></p><=
--_000_61A8344D117D814CA4DA393472F38CF4018CB9C7C9CD1001M360cor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In 3.4 there is a backup/restore utility called engine-backup. You can use= this to backup the RHEV-M database(s) as well as restore. Of course this = won't backup the Guest OS itself. My DR strategy is to simply copy off these engine-backup files to another l= ocation. If the hosted-engine needs to be restored for some reason I will = just recreate the OS and restore the engine database. Check this link for documentation: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualiza= tion/3.4/html/Administration_Guide/chap-Backups.html From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of= xiec.fnst@cn.fujitsu.com Sent: September-03-14 9:54 PM To: users@ovirt.org Subject: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine = ? Hi,All As the mauual, I can't find anyway to backup/restore the rhevm-VM = in the hosted-engine. The I just try to backup the storage of rhevm-VM (usi= ng cp -prf to make a copy of folder). Then I make some change and replace = the origin RHEVM-VM content with my backup folder (of course I shutdown the= rhevm-vm first). At last the vm can be up,but the status is NOT health bu= t as below: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Status up-to-date : False Hostname : 193.168.195.248 Host ID : 1 Engine status : unknown stale-data Score : 2400 Local maintenance : False Host timestamp : 1409743461 Extra metadata (valid at timestamp): metadata_parse_version=3D1 metadata_feature_version=3D1 timestamp=3D1409743461 (Wed Sep 3 07:24:21 2014) host-id=3D1 score=3D2400 maintenance=3DFalse state=3DEngineUp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D So are there some proper way to backup the rhevm-vm? --_000_61A8344D117D814CA4DA393472F38CF4018CB9C7C9CD1001M360cor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"Century Gothic"; panose-1:2 11 5 2 2 2 2 2 2 4;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif"; mso-fareast-language:ZH-CN;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Century Gothic","sans-serif"; color:blue;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-CA link=3Dblue vli= nk=3Dpurple style=3D'text-justify-trim:punctuation'><div class=3DWordSectio= n1><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Centur= y Gothic","sans-serif";color:blue'>In 3.4 there is a backup/restore utility= called engine-backup. You can use this to backup the RHEV-M database= (s) as well as restore. Of course this won’t backup the Guest O= S itself.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-siz= e:10.0pt;font-family:"Century Gothic","sans-serif";color:blue'>My DR strate= gy is to simply copy off these engine-backup files to another location.&nbs= p; If the hosted-engine needs to be restored for some reason I will just re= create the OS and restore the engine database.<o:p></o:p></span></p><p clas= s=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Century Gothic",= "sans-serif";color:blue'><o:p> </o:p></span></p><p class=3DMsoNormal><= span style=3D'font-size:10.0pt;font-family:"Century Gothic","sans-serif";co= lor:blue'>Check this link for documentation:<o:p></o:p></span></p><p class= =3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Century Gothic","= sans-serif";color:blue'><o:p> </o:p></span></p><p class=3DMsoNormal><s= pan style=3D'font-size:10.0pt;font-family:"Century Gothic","sans-serif";col= or:blue'><a href=3D"https://access.redhat.com/documentation/en-US/Red_Hat_E= nterprise_Virtualization/3.4/html/Administration_Guide/chap-Backups.html">h= ttps://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualizat= ion/3.4/html/Administration_Guide/chap-Backups.html</a><o:p></o:p></span></= p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Century= Gothic","sans-serif";color:blue'><o:p> </o:p></span></p><p class=3DMs= oNormal><span style=3D'font-size:10.0pt;font-family:"Century Gothic","sans-= serif";color:blue'><o:p> </o:p></span></p><div><div style=3D'border:no= ne;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=3DMso= Normal align=3Dleft style=3D'text-align:left'><b><span lang=3DEN-US style= =3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><sp= an lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"= '> users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] <b>On Behalf Of= </b>xiec.fnst@cn.fujitsu.com<br><b>Sent:</b> September-03-14 9:54 PM<br><b= p; : unknown stale-data<o:p= p; : False<o:p></o:p></span= p; = : 1409743461<o:p></o:p></span></p><p class=3D= MsoNormal><span lang=3DEN-US>Extra metadata (valid at timestamp):<o:p></o:p= p class=3DMsoNormal><span lang=3DEN-US> = metadata_feature_version=3D1<o:p></o:p></span></p><p class=3DM= soNormal><span lang=3DEN-US>  = ; timestamp=3D1409743461 (Wed Sep 3 07:24:21 2014)<o:p></o:p></span><= /p><p class=3DMsoNormal><span lang=3DEN-US> &n= bsp; host-id=3D1<o:p></o:p></span></p><p class=3DMsoNormal><spa= n lang=3DEN-US> score=3D240= 0<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US> = maintenance=3DFalse<o:p></o:p></span><= /p><p class=3DMsoNormal><span lang=3DEN-US> &n= bsp; state=3DEngineUp<o:p></o:p></span></p><p class=3DMsoNormal=
<span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span></p><p class=3DMsoNormal><span= lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span lang= =3DEN-US>So are there some proper way to backup the rhevm-vm? <o:p></o:p></= span></p></div></body></html>=
--_000_61A8344D117D814CA4DA393472F38CF4018CB9C7C9CD1001M360cor_--

RE: How to backup/restore the rhevm-VM in hosted-engine ?<o:p></o:p></spa= n></span></p> </div> </div> <p class=3D"MsoNormal" align=3D"left" style=3D"text-align:left"><span lang= =3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue">In 3.4=
--_000_EE4D679B9474414187D2E27D8B6890F6931EEFG08CNEXMBPEKD03g0_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Enc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AgIDMgMDc6MjQ6MjEgMjAxNCkNCiAgICAgICAgIGhvc3QtaWQ9MQ0KICAg ICAgICAgc2NvcmU9MjQwMA0KICAgICAgICAgbWFpbnRlbmFuY2U9RmFsc2UNCiAgICAgICAgIHN0 YXRlPUVuZ2luZVVwDQoNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQoNClNvIGFyZSB0 aGVyZSBzb21lIHByb3BlciB3YXkgdG8gYmFja3VwIHRoZSByaGV2bS12bT8NCg== --_000_EE4D679B9474414187D2E27D8B6890F6931EEFG08CNEXMBPEKD03g0_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dgb2312"> <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:=CB=CE=CC=E5; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"\@=CB=CE=CC=E5"; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Century Gothic"; panose-1:2 11 5 2 2 2 2 2 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"=C5=FA=D7=A2=BF=F2=CE=C4=B1=BE Char"; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:9.0pt; font-family:"Calibri","sans-serif";} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:"Century Gothic","sans-serif"; color:blue;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.Char {mso-style-name:"=C5=FA=D7=A2=BF=F2=CE=C4=B1=BE Char"; mso-style-priority:99; mso-style-link:=C5=FA=D7=A2=BF=F2=CE=C4=B1=BE; font-family:"Calibri","sans-serif";} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"ZH-CN" link=3D"blue" vlink=3D"purple" style=3D"text-justify-t= rim:punctuation"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D">Hi, Rya= n<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D"> &= nbsp; Thanks for replying. I know your = meaning and engine-backup command. But I have some questions with your way:= =A1=B0</span><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-family:&q= uot;Century Gothic","sans-serif";color:blue">If the hosted-engine needs to be restored for some reason I will just recreat= e the OS and restore the engine database</span><span lang=3D"EN-US" style= =3D"color:#1F497D">=A1=B1.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D"> &= nbsp; Do you recreate the Guest using original host? And the host nee= dn=A1=AFt to be fresh installed and just excute hosted-engine =A8Cdep= loyed again, we can recreate another OS?<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D"><o:p>&n= bsp;</o:p></span></p> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal" align=3D"left" style=3D"text-align:left"><b><span st= yle=3D"font-size:10.0pt;font-family:=CB=CE=CC=E5">=B7=A2=BC=FE=C8=CB<span l= ang=3D"EN-US">:</span></span></b><span lang=3D"EN-US" style=3D"font-size:10= .0pt;font-family:=CB=CE=CC=E5"> Groten, Ryan [mailto:Ryan.Groten@stantec.co= m] <br> </span><b><span style=3D"font-size:10.0pt;font-family:=CB=CE=CC=E5">=B7=A2= =CB=CD=CA=B1=BC=E4<span lang=3D"EN-US">:</span></span></b><span lang=3D"EN-= US" style=3D"font-size:10.0pt;font-family:=CB=CE=CC=E5"> 2014</span><span s= tyle=3D"font-size:10.0pt;font-family:=CB=CE=CC=E5">=C4=EA<span lang=3D"EN-U= S">9</span>=D4=C2<span lang=3D"EN-US">5</span>=C8=D5<span lang=3D"EN-US"> 4:29<br> </span><b>=CA=D5=BC=FE=C8=CB<span lang=3D"EN-US">:</span></b><span lang=3D"= EN-US"> Xie, Chao/</span>=D0=BB =B3=AC<span lang=3D"EN-US">; users@ovirt.or= g<br> </span><b>=D6=F7=CC=E2<span lang=3D"EN-US">:</span></b><span lang=3D"EN-US"= there is a backup/restore utility called engine-backup. You can use = this to backup the RHEV-M database(s) as well as restore. Of course this won=A1=AFt backup the Guest OS itself.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue">My DR = strategy is to simply copy off these engine-backup files to another locatio= n. If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database.<o:p></o:p></s= pan></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue"><o:p>&= nbsp;</o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue">Check = this link for documentation:<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue"><o:p>&= nbsp;</o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue"><a hre= f=3D"https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtu= alization/3.4/html/Administration_Guide/chap-Backups.html">https://access.r= edhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Ad= ministration_Guide/chap-Backups.html</a><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue"><o:p>&= nbsp;</o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-CA" style=3D"font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue"><o:p>&= nbsp;</o:p></span></p> <div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal" align=3D"left" style=3D"text-align:left"><b><span la= ng=3D"EN-US" style=3D"font-size:10.0pt;font-family:"Tahoma","= ;sans-serif"">From:</span></b><span lang=3D"EN-US" style=3D"font-size:= 10.0pt;font-family:"Tahoma","sans-serif""> <a href=3D"mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> [<a = href=3D"mailto:users-bounces@ovirt.org">mailto:users-bounces@ovirt.org</a>] <b>On Behalf Of </b><a href=3D"mailto:xiec.fnst@cn.fujitsu.com">xiec.fnst@c= n.fujitsu.com</a><br> <b>Sent:</b> September-03-14 9:54 PM<br> <b>To:</b> <a href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Subject:</b> [ovirt-users] How to backup/restore the rhevm-VM in hosted-= engine ?<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal" align=3D"left" style=3D"text-align:left"><span lang= =3D"EN-CA"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Hi,All<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; As the mauual, I can=A1=AFt find anyway to backup/restore= the rhevm-VM in the hosted-engine. The I just try to backup the storage of= rhevm-VM (using cp =A8Cprf to make a copy of folder). Then I make so= me change and replace the origin RHEVM-VM content with my backup folder (of course I shu= tdown the rhevm-vm first). At last the vm can be up,but the status is <b>NOT</b> health but as below:<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Status up-to-date &n= bsp;  = ; : False<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Hostname  = ; &n= bsp; : 193.168.195.24= 8<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Host ID = &nb= sp; : 1<o:p></o= :p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Engine status = &nb= sp; : unknown stale-data<o:p></o:p></span></p=
<p class=3D"MsoNormal"><span lang=3D"EN-US">Score &n= bsp;  = ; := 2400<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Local maintenance &n= bsp;  = ; : False<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Host timestamp  = ; &= nbsp; : 1409743461<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Extra metadata (valid at timest= amp):<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; metadata_parse_version=3D1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; metadata_feature_version=3D1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; timestamp=3D1409743461 (Wed Sep 3 07:24:21 2014)<o:= p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; host-id=3D1<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; score=3D2400<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; maintenance=3DFalse<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"> &= nbsp; state=3DEngineUp<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span>= </p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">So are there some proper way to= backup the rhevm-vm? <o:p></o:p></span></p> </div> </body> </html> --_000_EE4D679B9474414187D2E27D8B6890F6931EEFG08CNEXMBPEKD03g0_--

<p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>Hi, Ryan<o= :p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'color:= #1F497D'> Thanks for replyi= ng. I know your meaning and engine-backup command. But I have some question= s with your way: =A1=B0</span><span style=3D'font-size:10.0pt;font-family:"= Century Gothic","sans-serif";color:blue'>If the hosted-engine needs to be r= estored for some reason I will just recreate the OS and restore the engine = database</span><span lang=3DEN-US style=3D'color:#1F497D'>=A1=B1.<o:p></o:p= </span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'= Do you recreate the Guest using original host? And the = host needn=A1=AFt to be fresh installed and just excute hosted-engine= =A8Cdeployed again, we can recreate another OS?<o:p></o:p></span></p><p cl= ass=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'><o:p> </o:p= </span></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;p= adding:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal align=3Dleft style=3D'text-a=
<span lang=3DEN-US>Hostname  = ; &n= bsp; : 193.168.195.248<o:p></o:p></span></p><=
--_000_61A8344D117D814CA4DA393472F38CF4018CB9CC08CD1001M360cor_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SW4gbXkgY2FzZSBJIGFjdHVhbGx5IGhhdmUgYSBzcGFyZSBzZXJ2ZXIgKHBoeXNpY2FsKSB0aGF0 IEkga2VlcCBwYXRjaGVkIGFuZCB1cC10by1kYXRlLCB0aGUgZW5naW5lIGJhY2t1cHMgYXJlIGF1 dG9tYXRpY2FsbHkgdHJhbnNmZXJyZWQgdGhlcmUuICBJZiBteSBob3N0ZWQtZW5naW5lIGdvZXMg ZG93biBJIHJlc3RvcmUgdGhlIGVuZ2luZSBkYXRhYmFzZSBvbiB0aGUgcGh5c2ljYWwgc3BhcmUg YW5kIHJ1biBsaWtlIHRoYXQgdW50aWwgSSBjYW4gZ2V0IHRoZSBob3N0ZWQtZW5naW5lIGJhY2sg dXAuDQoNCkmhr3ZlIG5ldmVyIHRyaWVkIHJlc3RvcmluZyBvbnRvIGEgbmV3bHkgZGVwbG95ZWQg aG9zdGVkLWVuZ2luZSBWTSB1c2luZyBob3N0ZWQtZW5naW5lIC0tZGVwbG95LCBidXQgSSBjYW6h r3Qgc2VlIHdoeSB0aGF0IHdvdWxkbqGvdCB3b3JrIChtYXliZSBzb21lb25lIGVsc2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IHN0YWxlLWRhdGENClNjb3Jl ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAyNDAwDQpMb2NhbCBtYWludGVuYW5jZSAg ICAgICAgICAgICAgICAgIDogRmFsc2UNCkhvc3QgdGltZXN0YW1wICAgICAgICAgICAgICAgICAg ICAgOiAxNDA5NzQzNDYxDQpFeHRyYSBtZXRhZGF0YSAodmFsaWQgYXQgdGltZXN0YW1wKToNCiAg ICAgICAgIG1ldGFkYXRhX3BhcnNlX3ZlcnNpb249MQ0KICAgICAgICAgbWV0YWRhdGFfZmVhdHVy ZV92ZXJzaW9uPTENCiAgICAgICAgIHRpbWVzdGFtcD0xNDA5NzQzNDYxIChXZWQgU2VwICAzIDA3 OjI0OjIxIDIwMTQpDQogICAgICAgICBob3N0LWlkPTENCiAgICAgICAgIHNjb3JlPTI0MDANCiAg ICAgICAgIG1haW50ZW5hbmNlPUZhbHNlDQogICAgICAgICBzdGF0ZT1FbmdpbmVVcA0KDQo9PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQpTbyBhcmUgdGhlcmUgc29tZSBwcm9wZXIgd2F5 IHRvIGJhY2t1cCB0aGUgcmhldm0tdm0/DQo= --_000_61A8344D117D814CA4DA393472F38CF4018CB9CC08CD1001M360cor_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dgb2312"><meta name=3DGenerator content=3D"Microsof= t Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"Century Gothic"; panose-1:2 11 5 2 2 2 2 2 2 4;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif"; mso-fareast-language:ZH-CN;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:9.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:ZH-CN;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif"; mso-fareast-language:ZH-CN;} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Century Gothic","sans-serif"; color:blue;} span.EmailStyle21 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} p.a, li.a, div.a {mso-style-name:\6279\6CE8\6846\6587\672C; mso-style-link:"\6279\6CE8\6846\6587\672C Char"; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif"; mso-fareast-language:ZH-CN;} span.Char {mso-style-name:"\6279\6CE8\6846\6587\672C Char"; mso-style-priority:99; mso-style-link:\6279\6CE8\6846\6587\672C; font-family:"Calibri","sans-serif";} span.EmailStyle24 {mso-style-type:personal-reply; font-family:"Century Gothic","sans-serif"; color:blue;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-CA link=3Dblue vli= nk=3Dpurple style=3D'text-justify-trim:punctuation'><div class=3DWordSectio= n1><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Centur= y Gothic","sans-serif";color:blue'>In my case I actually have a spare serve= r (physical) that I keep patched and up-to-date, the engine backups are aut= omatically transferred there. If my hosted-engine goes down I restore= the engine database on the physical spare and run like that until I can ge= t the hosted-engine back up.<o:p></o:p></span></p><p class=3DMsoNormal><spa= n style=3D'font-size:10.0pt;font-family:"Century Gothic","sans-serif";color= :blue'><o:p> </o:p></span></p><p class=3DMsoNormal><span style=3D'font= -size:10.0pt;font-family:"Century Gothic","sans-serif";color:blue'>I=A1=AFv= e never tried restoring onto a newly deployed hosted-engine VM using hosted= -engine --deploy, but I can=A1=AFt see why that wouldn=A1=AFt work (maybe s= omeone else knows if this is possible?). I=A1=AFll give it a try too.= <o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;= font-family:"Century Gothic","sans-serif";color:blue'><o:p> </o:p></sp= an></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;paddin= g:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal align=3Dleft style=3D'text-align:= left'><b><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Tahoma",= "sans-serif"'>From:</span></b><span lang=3DEN-US style=3D'font-size:10.0pt;= font-family:"Tahoma","sans-serif"'> Xie, Chao [mailto:xiec.fnst@cn.fujitsu.= com] <br><b>Sent:</b> September-05-14 3:23 AM<br><b>To:</b> Groten, Ryan; u= sers@ovirt.org<br><b>Subject:</b> </span><span lang=3DZH-CN style=3D'font-s= ize:10.0pt;font-family:SimSun'>=B4=F0=B8=B4</span><span lang=3DEN-US style= =3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>: How to backup/res= tore the rhevm-VM in hosted-engine ?<o:p></o:p></span></p></div></div><p cl= ass=3DMsoNormal align=3Dleft style=3D'text-align:left'><o:p> </o:p></p= lign:left'><b><span lang=3DZH-CN style=3D'font-size:10.0pt;font-family:SimS= un'>=B7=A2=BC=FE=C8=CB</span></b><b><span lang=3DEN-US style=3D'font-size:1= 0.0pt;font-family:SimSun'>:</span></b><span lang=3DEN-US style=3D'font-size= :10.0pt;font-family:SimSun'> Groten, Ryan [<a href=3D"mailto:Ryan.Groten@st= antec.com">mailto:Ryan.Groten@stantec.com</a>] <br></span><b><span lang=3DZ= H-CN style=3D'font-size:10.0pt;font-family:SimSun'>=B7=A2=CB=CD=CA=B1=BC=E4= </span></b><b><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:SimS= un'>:</span></b><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Si= mSun'> 2014</span><span lang=3DZH-CN style=3D'font-size:10.0pt;font-family:= SimSun'>=C4=EA</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-fami= ly:SimSun'>9</span><span lang=3DZH-CN style=3D'font-size:10.0pt;font-family= :SimSun'>=D4=C2</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-fam= ily:SimSun'>5</span><span lang=3DZH-CN style=3D'font-size:10.0pt;font-famil= y:SimSun'>=C8=D5</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-fa= mily:SimSun'> 4:29<br></span><b><span lang=3DZH-CN style=3D'font-size:10.0p= t;font-family:SimSun'>=CA=D5=BC=FE=C8=CB</span></b><b><span lang=3DEN-US st= yle=3D'font-size:10.0pt;font-family:SimSun'>:</span></b><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:SimSun'> Xie, Chao/</span><span lang= =3DZH-CN style=3D'font-size:10.0pt;font-family:SimSun'>=D0=BB =B3=AC</span>= <span lang=3DEN-US style=3D'font-size:10.0pt;font-family:SimSun'>; <a href= =3D"mailto:users@ovirt.org">users@ovirt.org</a><br></span><b><span lang=3DZ= H-CN style=3D'font-size:10.0pt;font-family:SimSun'>=D6=F7=CC=E2</span></b><= b><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:SimSun'>:</span>= </b><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:SimSun'> RE: H= ow to backup/restore the rhevm-VM in hosted-engine ?<o:p></o:p></span></p><= /div></div><p class=3DMsoNormal align=3Dleft style=3D'text-align:left'><spa= n lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span style= =3D'font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:blue'>= In 3.4 there is a backup/restore utility called engine-backup. You ca= n use this to backup the RHEV-M database(s) as well as restore. Of co= urse this won=A1=AFt backup the Guest OS itself.<o:p></o:p></span></p><p cl= ass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Century Gothic= ","sans-serif";color:blue'>My DR strategy is to simply copy off these engin= e-backup files to another location. If the hosted-engine needs to be = restored for some reason I will just recreate the OS and restore the engine= database.<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-si= ze:10.0pt;font-family:"Century Gothic","sans-serif";color:blue'><o:p> = </o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-= family:"Century Gothic","sans-serif";color:blue'>Check this link for docume= ntation:<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size= :10.0pt;font-family:"Century Gothic","sans-serif";color:blue'><o:p> </= o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa= mily:"Century Gothic","sans-serif";color:blue'><a href=3D"https://access.re= dhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Adm= inistration_Guide/chap-Backups.html">https://access.redhat.com/documentatio= n/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/cha= p-Backups.html</a><o:p></o:p></span></p><p class=3DMsoNormal><span style=3D= 'font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:blue'><o:= p> </o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0= pt;font-family:"Century Gothic","sans-serif";color:blue'><o:p> </o:p><= /span></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;pad= ding:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal align=3Dleft style=3D'text-ali= gn:left'><b><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Tahom= a","sans-serif"'>From:</span></b><span lang=3DEN-US style=3D'font-size:10.0= pt;font-family:"Tahoma","sans-serif"'> <a href=3D"mailto:users-bounces@ovir= t.org">users-bounces@ovirt.org</a> [<a href=3D"mailto:users-bounces@ovirt.o= rg">mailto:users-bounces@ovirt.org</a>] <b>On Behalf Of </b><a href=3D"mail= to:xiec.fnst@cn.fujitsu.com">xiec.fnst@cn.fujitsu.com</a><br><b>Sent:</b> S= eptember-03-14 9:54 PM<br><b>To:</b> <a href=3D"mailto:users@ovirt.org">use= rs@ovirt.org</a><br><b>Subject:</b> [ovirt-users] How to backup/restore the= rhevm-VM in hosted-engine ?<o:p></o:p></span></p></div></div><p class=3DMs= oNormal align=3Dleft style=3D'text-align:left'><o:p> </o:p></p><p clas= s=3DMsoNormal><span lang=3DEN-US>Hi,All<o:p></o:p></span></p><p class=3DMso= Normal><span lang=3DEN-US> = As the mauual, I can=A1=AFt find anyway to backup/restore the rhevm-VM in t= he hosted-engine. The I just try to backup the storage of rhevm-VM (using c= p =A8Cprf to make a copy of folder). Then I make some change and repl= ace the origin RHEVM-VM content with my backup folder (of course I shutdown= the rhevm-vm first). At last the vm can be up,but the status is <b>N= OT</b> health but as below:<o:p></o:p></span></p><p class=3DMsoNormal><span= lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span lang= =3DEN-US>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p><= /o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Status up-to-date&n= bsp;  = ; : False<o:p></o:p></span></p><p class=3DMsoNormal= p class=3DMsoNormal><span lang=3DEN-US>Host ID  = ; &n= bsp; : 1<o:p></o:p></= span></p><p class=3DMsoNormal><span lang=3DEN-US>Engine status &= nbsp; &nbs= p; : unknown stale-data<o:p></o:p></spa= n></p><p class=3DMsoNormal><span lang=3DEN-US>Score = &nb= sp; = : 2400<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Local = maintenance &nbs= p; : False<o:p></o:p></span></p><p clas= s=3DMsoNormal><span lang=3DEN-US>Host timestamp &nbs= p; = : 1409743461<o:p></o:p></span></p><p class=3DMsoNormal><s= pan lang=3DEN-US>Extra metadata (valid at timestamp):<o:p></o:p></span></p>= <p class=3DMsoNormal><span lang=3DEN-US>  = ; metadata_parse_version=3D1<o:p></o:p></span></p><p class=3DMs= oNormal><span lang=3DEN-US> = metadata_feature_version=3D1<o:p></o:p></span></p><p class=3DMsoNormal><sp= an lang=3DEN-US> timestamp= =3D1409743461 (Wed Sep 3 07:24:21 2014)<o:p></o:p></span></p><p class= =3DMsoNormal><span lang=3DEN-US> &= nbsp; host-id=3D1<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN= -US> score=3D2400<o:p></o:p=
</span></p><p class=3DMsoNormal><span lang=3DEN-US>  = ; maintenance=3DFalse<o:p></o:p></span></p><p class= =3DMsoNormal><span lang=3DEN-US> &= nbsp; state=3DEngineUp<o:p></o:p></span></p><p class=3DMsoNormal><span lang= =3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span lang=3DEN-U= S>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-U= S><o:p> </o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>So ar= e there some proper way to backup the rhevm-vm? <o:p></o:p></span></p></div= </body></html>=
--_000_61A8344D117D814CA4DA393472F38CF4018CB9CC08CD1001M360cor_--

----- Original Message -----
From: "Ryan Groten" <Ryan.Groten@stantec.com> To: "Chao Xie" <xiec.fnst@cn.fujitsu.com>, users@ovirt.org Sent: Friday, September 5, 2014 5:27:06 PM Subject: Re: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
In my case I actually have a spare server (physical) that I keep patched and up-to-date, the engine backups are automatically transferred there. If my hosted-engine goes down I restore the engine database on the physical spare and run like that until I can get the hosted-engine back up.
I’ve never tried restoring onto a newly deployed hosted-engine VM using hosted-engine --deploy, but I can’t see why that wouldn’t work (maybe someone else knows if this is possible?). I’ll give it a try too.
Please see also [1] which describes a similar flow. I never tried your exact flow. Main difference is that the database already has the engine's VM and "knows" it's a hosted engine. [1] http://www.ovirt.org/Migrate_to_Hosted_Engine -- Didi
From: Xie, Chao [mailto:xiec.fnst@cn.fujitsu.com] Sent: September-05-14 3:23 AM To: Groten, Ryan; users@ovirt.org Subject: 答复 : How to backup/restore the rhevm-VM in hosted-engine ?
Hi, Ryan
Thanks for replying. I know your meaning and engine-backup command. But I have some questions with your way: “ If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database ”.
Do you recreate the Guest using original host? And the host needn’t to be fresh installed and just excute hosted-engine –deployed again, we can recreate another OS?
发件人 : Groten, Ryan [ mailto:Ryan.Groten@stantec.com ] 发送时间 : 2014 年 9 月 5 日 4:29 收件人 : Xie, Chao/ 谢 超 ; users@ovirt.org 主题 : RE: How to backup/restore the rhevm-VM in hosted-engine ?
In 3.4 there is a backup/restore utility called engine-backup. You can use this to backup the RHEV-M database(s) as well as restore. Of course this won’t backup the Guest OS itself.
My DR strategy is to simply copy off these engine-backup files to another location. If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database.
Check this link for documentation:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualizat...
From: users-bounces@ovirt.org [ mailto:users-bounces@ovirt.org ] On Behalf Of xiec.fnst@cn.fujitsu.com Sent: September-03-14 9:54 PM To: users@ovirt.org Subject: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
Hi,All
As the mauual, I can’t find anyway to backup/restore the rhevm-VM in the hosted-engine. The I just try to backup the storage of rhevm-VM (using cp –prf to make a copy of folder). Then I make some change and replace the origin RHEVM-VM content with my backup folder (of course I shutdown the rhevm-vm first). At last the vm can be up,but the status is NOT health but as below:
====================
Status up-to-date : False
Hostname : 193.168.195.248
Host ID : 1
Engine status : unknown stale-data
Score : 2400
Local maintenance : False
Host timestamp : 1409743461
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=1409743461 (Wed Sep 3 07:24:21 2014)
host-id=1
score=2400
maintenance=False
state=EngineUp
=============================
So are there some proper way to backup the rhevm-vm?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Didi

Top posting Hi, just wrote http://www.ovirt.org/OVirt_Hosted_Engine_Backup_and_Restore and currently testing this. Xie Chao, Groten Ryan: since you already explored this kind of procedure can you help commenting and / or sharing your experience here? Adding infra, since we have Hosted Engine running in oVirt production and they may be interested too. Il 05/09/2014 11:23, Xie, Chao ha scritto:
Hi, Ryan
Thanks for replying. I know your meaning and engine-backup command. But I have some questions with your way: “If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database”.
Do you recreate the Guest using original host? And the host needn’t to be fresh installed and just excute hosted-engine –deployed again, we can recreate another OS?
*发件人:*Groten, Ryan [mailto:Ryan.Groten@stantec.com] *发送时间:*2014年9月5日4:29 *收件人:*Xie, Chao/谢 超; users@ovirt.org *主题:*RE: How to backup/restore the rhevm-VM in hosted-engine ?
In 3.4 there is a backup/restore utility called engine-backup. You can use this to backup the RHEV-M database(s) as well as restore. Of course this won’t backup the Guest OS itself.
My DR strategy is to simply copy off these engine-backup files to another location. If the hosted-engine needs to be restored for some reason I will just recreate the OS and restore the engine database.
Check this link for documentation:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualizat...
*From:*users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> [mailto:users-bounces@ovirt.org] *On Behalf Of *xiec.fnst@cn.fujitsu.com <mailto:xiec.fnst@cn.fujitsu.com> *Sent:* September-03-14 9:54 PM *To:* users@ovirt.org <mailto:users@ovirt.org> *Subject:* [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
Hi,All
As the mauual, I can’t find anyway to backup/restore the rhevm-VM in the hosted-engine. The I just try to backup the storage of rhevm-VM (using cp –prf to make a copy of folder). Then I make some change and replace the origin RHEVM-VM content with my backup folder (of course I shutdown the rhevm-vm first). At last the vm can be up,but the status is *NOT* health but as below:
====================
Status up-to-date : False
Hostname : 193.168.195.248
Host ID : 1
Engine status : unknown stale-data
Score : 2400
Local maintenance : False
Host timestamp : 1409743461
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=1409743461 (Wed Sep 3 07:24:21 2014)
host-id=1
score=2400
maintenance=False
state=EngineUp
=============================
So are there some proper way to backup the rhevm-vm?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

Top posting
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Hi, just wrote http://www.ovirt.org/OVirt_Hosted_Engine_Backup_and_Restore and currently testing this.
Xie Chao, Groten Ryan: since you already explored this kind of procedure can you help commenting and / or sharing your experience here?
Can oVirt project finally start to use real documentation? Why not use publican/docbook. wiki is horrible, outdated and i doubt there is a way to manage responsibility for wiki pages. j.

Il 19/06/2015 10:37, Jiri Belka ha scritto:
Top posting
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Jiri, I top posted because the content of my email was mostly unrelated to the rest of the email. Let's avoid flames on mail etiquette.
Hi, just wrote http://www.ovirt.org/OVirt_Hosted_Engine_Backup_and_Restore and currently testing this.
Xie Chao, Groten Ryan: since you already explored this kind of procedure can you help commenting and / or sharing your experience here?
Can oVirt project finally start to use real documentation? Why not use publican/docbook. wiki is horrible, outdated and i doubt there is a way to manage responsibility for wiki pages.
Feel free to take lead of such project, I gladly contribute documentation there.
j.
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (6)
-
Groten, Ryan
-
Jiri Belka
-
Sandro Bonazzola
-
Xie, Chao
-
xiec.fnst@cn.fujitsu.com
-
Yedidyah Bar David