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