This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--euTEL0bDdeo0xTvs8uoh21Tuv7u73bRqD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Thanks Alon, you were right.
On 12/02/14 17:13, Alon Bar-Lev wrote:
----- Original Message -----
> From: "Juan Pablo Lorier" <jplorier(a)gmail.com>
> To: "Yedidyah Bar David" <didi(a)redhat.com>
> Cc: "users" <users(a)ovirt.org>
> Sent: Wednesday, February 12, 2014 9:10:43 PM
> Subject: Re: [Users] engine-backup --restore
>
> Well, too soon to say boodbye.
> Thought I used --change-db-credentials in the restore, the engine seem=
s
> to be unable to connect to the database. I assume that it
didn't get t=
he
> new password, so, is there a way to tell the engine about the new
pass=
word?
> Regards,
/etc/ovirt-engine/engine.conf/10-setup-database.conf or similar.
Look for ENGINE_DB_* variables.
> On 12/02/14 16:03, Yedidyah Bar David wrote:
>> ----- Original Message -----
>>> From: "Juan Pablo Lorier" <jplorier(a)gmail.com>
>>> To: "Yedidyah Bar David" <didi(a)redhat.com>
>>> Cc: "Sahina Bose" <sabose(a)redhat.com>, "users"
<users(a)ovirt.org>
>>> Sent: Wednesday, February 12, 2014 7:55:35 PM
>>> Subject: Re: [Users] Problems accesing the database
>>>
>>> Hi Yedidyah,
>>>
>>> But If I run engine-setup and then engine-backup restore shuldn't it=
>>> import the data to the existing db created by
engine-setup?
>>> That's shown everywhere so I thought it's a valid way to migrate
>> No.
>>
>> There is a specific case in which this works automatically:
>> All on the same host:
>> 1. engine-setup
>> 2. engine-backup --mode=3Dbackup
>> (perhaps do other stuff here)
>> 3. engine-cleanup
>> 4. engine-backup --mode=3Drestore
>>
>> Why does this work? Because 'engine-cleanup', since 3.3, does not dro=
p
>> the database nor user inside postgres. So when restore tries
to acces=
s
>> this database using this user and password it succeeds.
>>
>> In general, if you do the restore on another machine, and do there
>> 'engine-setup; engine-cleanup' as a quick-postgres-provisioning-tool,=
>> you end up almost ready, but not quite - because the password
is rand=
om,
>> and therefore different between the installations. In
principle you c=
ould
>> have provided just the password to restore, but we decided
that if yo=
u
>> need to change the credentials, you should pass all of them
(except f=
or
>> defaults).
>>
>> Hope this clarifies,
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
--euTEL0bDdeo0xTvs8uoh21Tuv7u73bRqD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQEcBAEBAgAGBQJS/OHGAAoJEC5KDDg2+NMMq9MIAMZjoMybfwupPnHQXb2/0aK4
ram0lufxCiRlfoDrG/CeVfEtOv72g0PZW0Gf07eXSq9YGbaLBdI0FWLwh6pE5bu/
I/FHS4PUG80otHCygFZJMEiW2rnNh1ByoMnWHpwIl8fW7qgxPvQ+/DqpE6Wo3X+9
1qfBO5rOp+nxHcsE1Sv3UDDW8M1nX/urr5utNKhqkbBFrDoXkH8+crY5i4Fy63U6
2Kf3GV7qWZCf/Vv4FyrGlloe3ZXeoP6jNcJDpqjbiyu1wHRha97LZf6MfdI1CRyb
23pUrWa5YJrlHh64ng45TVX/gaFxecbIZ39ek9BA7x8MhXe0oUUaEHfCWTVnaxc=
=JtRm
-----END PGP SIGNATURE-----
--euTEL0bDdeo0xTvs8uoh21Tuv7u73bRqD--