[ovirt-users] 答复: How to backup/restore the rhevm-VM in hosted-engine ?

Xie, Chao xiec.fnst at cn.fujitsu.com
Fri Sep 5 09:23:27 UTC 2014


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 ¨Cdeployed again, we can recreate another OS?

·¢¼þÈË: Groten, Ryan [mailto:Ryan.Groten at stantec.com]
·¢ËÍʱ¼ä: 2014Äê9ÔÂ5ÈÕ 4:29
ÊÕ¼þÈË: Xie, Chao/л ³¬; users at 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_Virtualization/3.4/html/Administration_Guide/chap-Backups.html


From: users-bounces at ovirt.org<mailto:users-bounces at ovirt.org> [mailto:users-bounces at ovirt.org] On Behalf Of xiec.fnst at cn.fujitsu.com<mailto:xiec.fnst at cn.fujitsu.com>
Sent: September-03-14 9:54 PM
To: users at ovirt.org<mailto:users at 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 ¨Cprf  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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140905/ea58a828/attachment-0001.html>


More information about the Users mailing list