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

Sandro Bonazzola sbonazzo at redhat.com
Thu Jun 18 15:44:31 UTC 2015


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 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 –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 at 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



More information about the Users mailing list