<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">When attempting to do the restore to a clean engine install before engine setup is run as per the documentation, the restore ends with an error about restoring the history.<div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><br class=""><div class=""><br class=""></div><div class=""><div class="">root@fai-kvm-engine backup]# engine-backup --mode=restore --file=/backup/ovirt-backup07302017.bak --log=/usr/local/share/ovirtbackup.log --provision-db --provision-dwh-db --restore-permissions</div><div class="">Preparing to restore:</div><div class="">- Unpacking file '/backup/ovirt-backup07302017.bak'</div><div class="">Restoring:</div><div class="">- Files</div><div class="">Provisioning PostgreSQL users/databases:</div><div class="">- user 'engine', database 'engine'</div><div class="">- user 'ovirt_engine_history', database 'ovirt_engine_history'</div><div class="">Restoring:</div><div class="">- Engine database 'engine'</div><div class="">&nbsp; - Cleaning up temporary tables in engine database 'engine'</div><div class="">&nbsp; - Resetting DwhCurrentlyRunning in dwh_history_timekeeping in engine database</div><div class="">------------------------------------------------------------------------------</div><div class="">Please note:</div><div class=""><br class=""></div><div class="">The engine database was backed up at 2017-07-30 23:05:43.000000000 -0800 .</div><div class=""><br class=""></div><div class="">Objects that were added, removed or changed after this date, such as virtual</div><div class="">machines, disks, etc., are missing in the engine, and will probably require</div><div class="">recovery or recreation.</div><div class="">------------------------------------------------------------------------------</div><div class="">- DWH database 'ovirt_engine_history'</div><div class="">FATAL: Errors while restoring database ovirt_engine_history</div><div class="">[root@fai-kvm-engine backup]#&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">If I continue and run engine-setup, then it fails with the following.</div><div class=""><br class=""></div><div class="">It seems that you are running your engine inside of the hosted-engine VM and are not in "Global Maintenance" mode<br class=""></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Menlo" style="color: rgb(0, 0, 0); font-size: 12px; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="">------------------------------------------------------------------------</div><div class="">Gary Pedretty &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:gary@eraalaska.net" class="">gary@ravnalaska.net</a></div><div class="">Systems Manager &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.flyravn.com" class="">www.flyravn.com</a></div><div class="">Ravn Alaska &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /\ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;907-450-7251</div><div class="">5245 Airport Industrial Road &nbsp; &nbsp; &nbsp; &nbsp; / &nbsp;\/\ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 907-450-7238 fax</div><div class="">Fairbanks, Alaska &nbsp;99709 &nbsp; &nbsp; &nbsp; &nbsp;/\ &nbsp;/ &nbsp; &nbsp;\ \ Second greatest commandment</div></font><font face="Monaco" class=""><span style="font-size: 12px;" class="">Serving All of Alaska &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/ &nbsp;\/ &nbsp;/\ &nbsp;\ \/\ &nbsp;&nbsp;“Love your neighbor as</span></font><br style="font-family: Monaco;" class=""><font face="Menlo" style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-size: 12px;" class="">Green, green as far as the eyes can see &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yourself” Matt 22:39</span></font><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Menlo;" class=""></div><font face="Menlo" style="font-size: 12px;" class=""></font><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><font face="Menlo" class=""><div class="">------------------------------------------------------------------------</div></font></span><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><font face="Menlo" style="font-size: 12px;" class=""><br class=""></font></div></div><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><br class="Apple-interchange-newline"></span></div><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><br class="Apple-interchange-newline"></span></div><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><br class="Apple-interchange-newline"></span></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 2, 2017, at 9:56 AM, Gary Pedretty &lt;<a href="mailto:gary@ravnalaska.net" class="">gary@ravnalaska.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">When restoring a self hosted-engine from a backup, the documentation at<div class=""><br class=""></div><div class=""><a href="https://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/" class="">https://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/</a></div><div class=""><br class=""></div><div class="">Shows creating a new host server and then doing the hosted-engine —deploy and manually installing the ovirt-engine instead of using the ovirt-engine-appliance. &nbsp;If the hosted-engine deployment that was backed up and is being restored, was created using the appliance, should I still follow this documentation and manually install the engine, run the restore, then do the engine-setup? &nbsp;Or should I use the ovirt-engine-appliance and just run the restore before the engine-setup?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Gary</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Menlo" style="font-size: 12px; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="">------------------------------------------------------------------------</div><div class="">Gary Pedretty &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:gary@eraalaska.net" class="">gary@ravnalaska.net</a></div><div class="">Systems Manager &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.flyravn.com/" class="">www.flyravn.com</a></div><div class="">Ravn Alaska &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /\ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;907-450-7251</div><div class="">5245 Airport Industrial Road &nbsp; &nbsp; &nbsp; &nbsp; / &nbsp;\/\ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 907-450-7238 fax</div><div class="">Fairbanks, Alaska &nbsp;99709 &nbsp; &nbsp; &nbsp; &nbsp;/\ &nbsp;/ &nbsp; &nbsp;\ \ Second greatest commandment</div></font><font face="Monaco" class=""><span style="font-size: 12px;" class="">Serving All of Alaska &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/ &nbsp;\/ &nbsp;/\ &nbsp;\ \/\ &nbsp;&nbsp;“Love your neighbor as</span></font><br style="font-family: Monaco;" class=""><font face="Menlo" style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-size: 12px;" class="">Green, green as far as the eyes can see &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yourself” Matt 22:39</span></font><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Menlo;" class=""></div><font face="Menlo" style="font-size: 12px;" class=""></font><span style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><font face="Menlo" class=""><div class="">------------------------------------------------------------------------</div></font></span><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><font face="Menlo" style="font-size: 12px;" class=""><br class=""></font></div></div><span style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><br class="Apple-interchange-newline"></span></div><span style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><br class="Apple-interchange-newline"></span></div><span style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12px;" class=""><br class="Apple-interchange-newline"></span></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></div>_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>