
yes you are right. I miss that. Sorry Thanks a lot De: "Staniforth, Paul" <P.Staniforth@leedsbeckett.ac.uk> Para: suporte@logicworks.pt, "users" <users@ovirt.org> Enviadas: Terça-feira, 12 De Novembro de 2019 17:49:18 Assunto: Re: restore As you did a full backup including the data warehouse you need engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --provision-dwh-db --restore-permissions see https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.h... Backups and Migration | oVirt Chapter 12: Backups and Migration Backing Up and Restoring the oVirt Engine Backing up oVirt Engine - Overview. Use the engine-backup tool to take regular backups of the oVirt Engine. The tool backs up the engine database and configuration files into a single file and can be run without interrupting the ovirt-engine service.. Syntax for the engine-backup Command www.ovirt.org Regards, Paul S. From: suporte@logicworks.pt <suporte@logicworks.pt> Sent: 12 November 2019 17:39 To: users <users@ovirt.org> Subject: [ovirt-users] restore Hi, I did a backup of engine like this # engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name In a newly installed machine try to restore it: # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm # yum update # yum install ovirt-engine # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --restore-permissions but get this error: Start of engine-backup with mode 'restore' scope: all archive file: file_name log file: log_file_name Preparing to restore: - Unpacking file 'file_name' Restoring: - Files Provisioning PostgreSQL users/databases: - user 'engine', database 'engine' Restoring: FATAL: Can't connect to database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'. I'm running ovirt Version:4.3.4.3-1.el7 If I run # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --no-restore-permissions still the same error Any idea? Many Thanks -- Jose Ferradeira http://www.logicworks.pt To view the terms under which this email is distributed, please go to:- http://leedsbeckett.ac.uk/disclaimer/email/

On Tue, Nov 12, 2019 at 7:56 PM <suporte@logicworks.pt> wrote:
yes you are right. I miss that. Sorry
Thanks a lot
------------------------------ *De: *"Staniforth, Paul" <P.Staniforth@leedsbeckett.ac.uk> *Para: *suporte@logicworks.pt, "users" <users@ovirt.org> *Enviadas: *Terça-feira, 12 De Novembro de 2019 17:49:18 *Assunto: *Re: restore
As you did a full backup including the data warehouse you need
engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --provision-dwh-db --restore-permissions
see https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.h...
Also: 1. for reference, you can check 'engine-backup --help'. It should always be the most up-to-date documentation. 2. Since 4.3, almost all options have defaults, see this RFE, and especially the comment I now added there: https://bugzilla.redhat.com/show_bug.cgi?id=1530031 Best regards,
Backups and Migration | oVirt <https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html> Chapter 12: Backups and Migration Backing Up and Restoring the oVirt Engine Backing up oVirt Engine - Overview. Use the engine-backup tool to take regular backups of the oVirt Engine. The tool backs up the engine database and configuration files into a single file and can be run without interrupting the ovirt-engine service.. Syntax for the engine-backup Command www.ovirt.org Regards, Paul S. ------------------------------ *From:* suporte@logicworks.pt <suporte@logicworks.pt> *Sent:* 12 November 2019 17:39 *To:* users <users@ovirt.org> *Subject:* [ovirt-users] restore
Hi,
I did a backup of engine like this # engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name
In a newly installed machine try to restore it:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm # yum update # yum install ovirt-engine # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --restore-permissions
but get this error:
Start of engine-backup with mode 'restore' scope: all archive file: file_name log file: log_file_name Preparing to restore: - Unpacking file 'file_name' Restoring: - Files Provisioning PostgreSQL users/databases: - user 'engine', database 'engine' Restoring: FATAL: Can't connect to database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.
I'm running ovirt Version:4.3.4.3-1.el7
If I run # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --no-restore-permissions still the same error
Any idea?
Many Thanks
-- ------------------------------ Jose Ferradeira http://www.logicworks.pt 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-leave@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/6U52MDVR75F474...
-- Didi

Thank you De: "Yedidyah Bar David" <didi@redhat.com> Para: suporte@logicworks.pt Cc: "Staniforth, Paul" <P.Staniforth@leedsbeckett.ac.uk>, "users" <users@ovirt.org> Enviadas: Quarta-feira, 13 De Novembro de 2019 7:31:16 Assunto: Re: [ovirt-users] Re: restore On Tue, Nov 12, 2019 at 7:56 PM < suporte@logicworks.pt > wrote: yes you are right. I miss that. Sorry Thanks a lot De: "Staniforth, Paul" < P.Staniforth@leedsbeckett.ac.uk > Para: suporte@logicworks.pt , "users" < users@ovirt.org > Enviadas: Terça-feira, 12 De Novembro de 2019 17:49:18 Assunto: Re: restore As you did a full backup including the data warehouse you need engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --provision-dwh-db --restore-permissions see https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.h... Also: 1. for reference, you can check 'engine-backup --help'. It should always be the most up-to-date documentation. 2. Since 4.3, almost all options have defaults, see this RFE, and especially the comment I now added there: https://bugzilla.redhat.com/show_bug.cgi?id=1530031 Best regards, BQ_BEGIN Backups and Migration | oVirt Chapter 12: Backups and Migration Backing Up and Restoring the oVirt Engine Backing up oVirt Engine - Overview. Use the engine-backup tool to take regular backups of the oVirt Engine. The tool backs up the engine database and configuration files into a single file and can be run without interrupting the ovirt-engine service.. Syntax for the engine-backup Command www.ovirt.org Regards, Paul S. From: suporte@logicworks.pt < suporte@logicworks.pt > Sent: 12 November 2019 17:39 To: users < users@ovirt.org > Subject: [ovirt-users] restore Hi, I did a backup of engine like this # engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name In a newly installed machine try to restore it: # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm # yum update # yum install ovirt-engine # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --restore-permissions but get this error: Start of engine-backup with mode 'restore' scope: all archive file: file_name log file: log_file_name Preparing to restore: - Unpacking file 'file_name' Restoring: - Files Provisioning PostgreSQL users/databases: - user 'engine', database 'engine' Restoring: FATAL: Can't connect to database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'. I'm running ovirt Version:4.3.4.3-1.el7 If I run # engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --no-restore-permissions still the same error Any idea? Many Thanks -- Jose Ferradeira http://www.logicworks.pt 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-leave@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/6U52MDVR75F474... BQ_END -- Didi
participants (2)
-
suporte@logicworks.pt
-
Yedidyah Bar David