----- Original Message -----
From: "Ryan Groten" <Ryan.Groten(a)stantec.com>
To: "Chao Xie" <xiec.fnst(a)cn.fujitsu.com>, users(a)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  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.
From: Xie, Chao [mailto:email@example.com]
Sent: September-05-14 3:23 AM
To: Groten, Ryan; users(a)ovirt.org
Subject: 答复 : How to backup/restore the rhevm-VM in hosted-engine ?
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
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(a)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:
From: users-bounces(a)ovirt.org [ mailto:firstname.lastname@example.org ] On Behalf Of
Sent: September-03-14 9:54 PM
Subject: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
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
Status up-to-date : False
Hostname : 220.127.116.11
Host ID : 1
Engine status : unknown stale-data
Score : 2400
Local maintenance : False
Host timestamp : 1409743461
Extra metadata (valid at timestamp):
timestamp=1409743461 (Wed Sep 3 07:24:21 2014)
So are there some proper way to backup the rhevm-vm?
Users mailing list