Hi Jeremy,
I think you must have run the engine-setup before the restore, the
restore is designed to restore to a clean install or the previous install with the same
credentials. If you delete the postgresql config you can then install with your postgres
credentials.
e.g.
systemctl stop rh-postgresql10-postgresql.service
rm -rf /var/opt/rh/rh-postgresql10/lib/pgsql/data/*
regards,
Paul S.
________________________________
From: Jeremy Tourville <jeremy_tourville(a)hotmail.com>
Sent: 18 February 2020 02:26
To: Robert Webb <rwebb(a)ropeguru.com>; users(a)ovirt.org <users(a)ovirt.org>
Subject: [ovirt-users] Re: Move Self Hosted Engine to Standalone
Caution External Mail: Do not click any links or open any attachments unless you trust the
sender and know that the content is safe.
I did get a little further.
First I ran engine-cleanup on my new engine where I will be running the restore operation.
(I had previously run the engine-setup script on this machine)
Then I ran this-
[root@engine ~]# engine-backup --mode=restore
--file=ovirt-engine-backup-20200217125040.backup
--log=ovirt-engine-backup-20200217125040.log --provision-db --provision-dwh-db
--restore-permissions
Start of engine-backup with mode 'restore'
scope: all
archive file: ovirt-engine-backup-20200217125040.backup
log file: ovirt-engine-backup-20200217125040.log
Preparing to restore:
- Unpacking file 'ovirt-engine-backup-20200217125040.backup'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
FATAL: Existing database 'engine' or user 'engine' found and temporary
ones created - Please clean up everything and try again
Time to research further for that FATAL error message. Isn't that the purpose of
engine-cleanup though? Why the conflict?
________________________________
From: Robert Webb <rwebb(a)ropeguru.com>
Sent: Monday, February 17, 2020 1:42 PM
To: Jeremy Tourville <jeremy_tourville(a)hotmail.com>; users(a)ovirt.org
<users(a)ovirt.org>
Subject: Re: [ovirt-users] Move Self Hosted Engine to Standalone
Try looking at the RHEV info here and go to section 6.2.2 and see if that helps.
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.0/...
________________________________________
From: Jeremy Tourville <jeremy_tourville(a)hotmail.com>
Sent: Monday, February 17, 2020 2:26 PM
To: Robert Webb; users(a)ovirt.org
Subject: Re: [ovirt-users] Move Self Hosted Engine to Standalone
OK, I was able to get the backup completed. I am a little confused on how to do the
restore though.
https://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Resto...
Is this link even applicable? My environment is a single node, not EL based. Anyhow,
here is what I have so far-
[root@engine glusterfs]# engine-backup
Start of engine-backup with mode 'backup'
scope: all
archive file: /var/lib/ovirt-engine-backup/ovirt-engine-backup-20200217125040.backup
log file: /var/log/ovirt-engine-backup/ovirt-engine-backup-20200217125040.log
Backing up:
Notifying engine
- Files
- Engine database 'engine'
- DWH database 'ovirt_engine_history'
Packing into file
'/var/lib/ovirt-engine-backup/ovirt-engine-backup-20200217125040.backup'
Notifying engine
Done.
[root@engine glusterfs]#
I moved the backup file to my new engine.
How do I perform the restore?
The directions say:
# engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db
--provision-dwh-db --restore-permissions
What is the file name and log_file name? Do I need to do something to unpack my backup
file?
________________________________
From: Robert Webb <rwebb(a)ropeguru.com>
Sent: Monday, February 17, 2020 9:13 AM
To: jeremy_tourville(a)hotmail.com <jeremy_tourville(a)hotmail.com>; users(a)ovirt.org
<users(a)ovirt.org>
Subject: RE: [ovirt-users] Move Self Hosted Engine to Standalone
Can you take a backup of the original, build the new one, then do a restore?
-----Original Message-----
From: jeremy_tourville(a)hotmail.com <jeremy_tourville(a)hotmail.com>
Sent: Monday, February 17, 2020 10:11 AM
To: users(a)ovirt.org
Subject: [ovirt-users] Move Self Hosted Engine to Standalone
I have a single oVirt host running a self-hosted engine. I'd like to move the
engine off the host and run it on a standalone server. I am running Software
Version:4.3.6.6-1.el7 Can anyone tell me what the procedure is for that?
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org Privacy Statement:
https://www.ovirt.org/site/privacy-policy/<https://eur02.safelinks.pro...
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/<https://eu...
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C7IRADM7HZW...
RAD6Y6F76T5CS4ABQ3Y3R/
To view the terms under which this email is distributed,
please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/