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_tourvi...@hotmail.com> Sent: 18 February 2020 02:26 To: Robert Webb <rw...@ropeguru.com>; users@ovirt.org <users@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 <rw...@ropeguru.com> Sent: Monday, February 17, 2020 1:42 PM To: Jeremy Tourville <jeremy_tourvi...@hotmail.com>; users@ovirt.org <users@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/html/self-hosted_engine_guide/sect-restoring_she_bkup<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccess.redhat.com%2Fdocumentation%2Fen-us%2Fred_hat_virtualization%2F4.0%2Fhtml%2Fself-hosted_engine_guide%2Fsect-restoring_she_bkup&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ccd79555b8ae944903bfb08d7b439437e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637176030350726202&sdata=8wwf7tq7U3bPg43KkObrKdkd8Plr3qt5VdhgkJxyUKs%3D&reserved=0> ________________________________________ From: Jeremy Tourville <jeremy_tourvi...@hotmail.com> Sent: Monday, February 17, 2020 2:26 PM To: Robert Webb; users@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_Restoring_an_EL-Based_Self-Hosted_Environment.html<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fdocumentation%2Fself-hosted%2Fchap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment.html&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ccd79555b8ae944903bfb08d7b439437e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637176030350726202&sdata=m7M4G8R74x21WFDKT%2BGaKISRX01Ua9A749vsQRVROw4%3D&reserved=0> 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 <rw...@ropeguru.com> Sent: Monday, February 17, 2020 9:13 AM To: jeremy_tourvi...@hotmail.com <jeremy_tourvi...@hotmail.com>; users@ovirt.org <users@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_tourvi...@hotmail.com <jeremy_tourvi...@hotmail.com> > Sent: Monday, February 17, 2020 10:11 AM > To: users@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@ovirt.org > To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: > https://www.ovirt.org/site/privacy-policy/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ccd79555b8ae944903bfb08d7b439437e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637176030350726202&sdata=owegPBAiumf618272X4uFwuh0cVWtyVXkaUkxw9hKxE%3D&reserved=0> > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ccd79555b8ae944903bfb08d7b439437e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637176030350736195&sdata=qHZRwoIPowdCARZwjrKx%2BRZxQTOI14o%2BCM8Op8MCgYw%3D&reserved=0> > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/C7IRADM7HZW<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FC7IRADM7HZW&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ccd79555b8ae944903bfb08d7b439437e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637176030350736195&sdata=dlJowDyj6sEz%2Bd82s%2FbdwQv7FwtrSj7IVL%2BUPJhbzYA%3D&reserved=0> > RAD6Y6F76T5CS4ABQ3Y3R/ To view the terms under which this email is distributed, please go to:- http://leedsbeckett.ac.uk/disclaimer/email/
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/UQEWSD6KUVIDS7QCNDOETAFHRQSLYAEB/