--_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(a)ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of=
xiec.fnst(a)cn.fujitsu.com
Sent: September-03-14 9:54 PM
To: users(a)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(a)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=
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=
p; :
unknown stale-data<o:p=
</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; :
False<o:p></o:p></span=
</p><p class=3DMsoNormal><span lang=3DEN-US>Host
timestamp &nbs=
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=
</span></p><p class=3DMsoNormal><span
lang=3DEN-US>  =
;
metadata_parse_version=3D1<o:p></o:p></span></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_--