<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: Times New Roman; font-size: 10pt; color: #000000;" data-mce-style="font-family: Times New Roman; font-size: 10pt; color: #000000;"><div>Hi,<br></div><br><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">I'm testing backup & restore on Ovirt 4.2.</span><br></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">I follow this doc https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/</span><br></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Try to restore to a fresh installation but always get this error message:</span><br></div><br><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">restore-permissions</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Preparing to restore:</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">- Unpacking file 'back_file'</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Restoring:</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">- Files</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Provisioning PostgreSQL users/databases:</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">- user 'engine', database 'engine'</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Restoring:</span><br><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">FATAL: Can't connect to database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.</span><br></div><br><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">On the live engine I run # engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name</span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;"><br data-mce-bogus="1"></span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">And try to restore on a fresh installation:</span><br></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;"># engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --restore-permissions</span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;"><br data-mce-bogus="1"></span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Any Idea?<br data-mce-bogus="1"></span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;"><br data-mce-bogus="1"></span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;">Thanks<br data-mce-bogus="1"></span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;"><br data-mce-bogus="1"></span></div><div><span style="font-size: 11pt; font-family: terminal, monaco;" data-mce-style="font-size: 11pt; font-family: terminal, monaco;"><br data-mce-bogus="1"></span></div><br><div>-- <br></div><div><hr style="width: 100%; height: 2px;" data-mce-style="width: 100%; height: 2px;">Jose Ferradeira<br>http://www.logicworks.pt</div></div><br></div></div></body></html>