[ovirt-users] hosted-engine restore
Gary Pedretty
gary at ravnalaska.net
Thu Aug 3 01:32:07 UTC 2017
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.
root at 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
Preparing to restore:
- Unpacking file '/backup/ovirt-backup07302017.bak'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
- user 'ovirt_engine_history', database 'ovirt_engine_history'
Restoring:
- Engine database 'engine'
- Cleaning up temporary tables in engine database 'engine'
- Resetting DwhCurrentlyRunning in dwh_history_timekeeping in engine database
------------------------------------------------------------------------------
Please note:
The engine database was backed up at 2017-07-30 23:05:43.000000000 -0800 .
Objects that were added, removed or changed after this date, such as virtual
machines, disks, etc., are missing in the engine, and will probably require
recovery or recreation.
------------------------------------------------------------------------------
- DWH database 'ovirt_engine_history'
FATAL: Errors while restoring database ovirt_engine_history
[root at fai-kvm-engine backup]#
If I continue and run engine-setup, then it fails with the following.
It seems that you are running your engine inside of the hosted-engine VM and are not in "Global Maintenance" mode
------------------------------------------------------------------------
Gary Pedretty gary at ravnalaska.net <mailto:gary at eraalaska.net>
Systems Manager www.flyravn.com <http://www.flyravn.com/>
Ravn Alaska /\ 907-450-7251
5245 Airport Industrial Road / \/\ 907-450-7238 fax
Fairbanks, Alaska 99709 /\ / \ \ Second greatest commandment
Serving All of Alaska / \/ /\ \ \/\ “Love your neighbor as
Green, green as far as the eyes can see yourself” Matt 22:39
------------------------------------------------------------------------
> On Aug 2, 2017, at 9:56 AM, Gary Pedretty <gary at ravnalaska.net> wrote:
>
> When restoring a self hosted-engine from a backup, the documentation at
>
> https://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/ <https://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/>
>
> 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. 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? Or should I use the ovirt-engine-appliance and just run the restore before the engine-setup?
>
>
> Gary
>
>
>
>
> ------------------------------------------------------------------------
> Gary Pedretty gary at ravnalaska.net <mailto:gary at eraalaska.net>
> Systems Manager www.flyravn.com <http://www.flyravn.com/>
> Ravn Alaska /\ 907-450-7251
> 5245 Airport Industrial Road / \/\ 907-450-7238 fax
> Fairbanks, Alaska 99709 /\ / \ \ Second greatest commandment
> Serving All of Alaska / \/ /\ \ \/\ “Love your neighbor as
> Green, green as far as the eyes can see yourself” Matt 22:39
> ------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170802/1e0e2826/attachment.html>
More information about the Users
mailing list