------=_Part_20337673_1603009670.1519821904170
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Still no luck:
# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db
--restore-permissions --provision-dwh-db
Preparing to restore:
- Unpacking file 'back_futur'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
- user 'ovirt_engine_history', database 'ovirt_engine_history'
Restoring:
- Engine database 'engine'
FATAL: Errors while restoring database engine
I did a engine-cleanup, try it again but still the same error.
De: "Yedidyah Bar David" <didi(a)redhat.com>
Para: suporte(a)logicworks.pt
Cc: "ovirt users" <users(a)ovirt.org>
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50
Assunto: Re: [ovirt-users] Backup & Restore
On Wed, Feb 28, 2018 at 2:10 PM, <suporte(a)logicworks.pt> wrote:
Hi,
I'm testing backup & restore on Ovirt 4.2.
I follow this doc
https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/
Try to restore to a fresh installation but always get this error message:
restore-permissions
Preparing to restore:
- Unpacking file 'back_file'
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'.
On the live engine I run # engine-backup --scope=all --mode=backup
--file=file_name --log=log_file_name
And try to restore on a fresh installation:
# engine-backup --mode=restore --file=file_name --log=log_file_name
--provision-db --restore-permissions
Any Idea?
Please try adding to restore command '--providion-dwh-db'. Thanks.
--
Didi
------=_Part_20337673_1603009670.1519821904170
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: trebuchet ms,sans-serif;
font-size: =
12pt; color: #000000"><div>Still no
luck:<br></div><div><br data-mce-bogus=
=3D"1"></div><div># engine-backup --mode=3Drestore
--file=3Dback_futur --lo=
g=3Dlog_futur --provision-db --restore-permissions --provision-dwh-db<br>Pr=
eparing to restore:<br>- Unpacking file
'back_futur'<br>Restoring:<br>- Fil=
es<br>Provisioning PostgreSQL users/databases:<br>- user 'engine',
database=
'engine'<br>- user 'ovirt_engine_history', database
'ovirt_engine_history'=
<br>Restoring:<br>- Engine database 'engine'<br>FATAL: Errors
while restori=
ng database engine<br></div><div><br
data-mce-bogus=3D"1"></div><div>I did =
a engine-cleanup, try it again but still the same error.<br data-mce-bogus=
=3D"1"></div><div><br></div><hr
id=3D"zwchr" data-marker=3D"__DIVIDER__"><d=
iv data-marker=3D"__HEADERS__"><b>De: </b>"Yedidyah Bar
David" <didi@red=
hat.com><br><b>Para:
</b>suporte(a)logicworks.pt<br><b>Cc: </b>"ovirt user=
s" &lt;users(a)ovirt.org&gt;<br><b>Enviadas:
</b>Quarta-feira, 28 De Fevereir=
o de 2018 12:24:50<br><b>Assunto: </b>Re: [ovirt-users] Backup &
Restor=
e<br></div><br><div data-marker=3D"__QUOTED_TEXT__">On
Wed, Feb 28, 2018 at=
2:10 PM, &nbsp;&lt;suporte(a)logicworks.pt&gt; wrote:<br>>
Hi,<br>><br=
> I'm testing backup & restore on Ovirt
4.2.<br>> I follow this =
doc<br>>
https://www.ovirt.org/documentation/admin-guide/chap-Backups_an=
d_Migration/<br>> Try to restore to a fresh installation but always get =
this error message:<br>><br>>
restore-permissions<br>> Preparing t=
o restore:<br>> - Unpacking file 'back_file'<br>>
Restoring:<br>> =
- Files<br>> Provisioning PostgreSQL users/databases:<br>> -
user 'en=
gine', database 'engine'<br>> Restoring:<br>> FATAL:
Can't connect to=
database 'ovirt_engine_history'. Please see<br>>
'/usr/bin/engine-backu=
p --help'.<br>><br>> On the live engine I run #
engine-backup --scope=
=3Dall --mode=3Dbackup<br>> --file=3Dfile_name
--log=3Dlog_file_name<br>=
><br>> And try to restore on a fresh installation:<br>> #
engine-b=
ackup --mode=3Drestore --file=3Dfile_name --log=3Dlog_file_name<br>> --p=
rovision-db --restore-permissions<br>><br>> Any
Idea?<br><br>Please t=
ry adding to restore command '--providion-dwh-db'. Thanks.<br>--
<br>Didi<b=
r></div></div></body></html>
------=_Part_20337673_1603009670.1519821904170--