[Users] Problems accesing the database
Eli Mesika
emesika at redhat.com
Wed Feb 12 16:38:28 EST 2014
----- Original Message -----
> From: "Juan Pablo Lorier" <jplorier at gmail.com>
> To: "Yedidyah Bar David" <didi at redhat.com>
> Cc: "users" <users at 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
> Regards,
Hi
Why aren't you using the --db-user --db-password parameters , its seems that you fail to authenticate
>
> On 12/02/14 15:44, Yedidyah Bar David wrote:
> > ----- Original Message -----
> >> From: "Juan Pablo Lorier" <jplorier at gmail.com>
> >> To: "Sahina Bose" <sabose at redhat.com>
> >> Cc: "users" <users at ovirt.org>
> >> Sent: Wednesday, February 12, 2014 7:01:20 PM
> >> Subject: [Users] Problems accesing the database
> >>
> >> Hi Sahina,
> >>
> >> Sorry to ping you directly, but you were of great help last time. I'm
> >> also copying the list.
> >> In the process of recreating the DC I've decided to migrate the engine
> >> from a virtualbox vm to a bare metal host and I can't get engine-backup
> >> to restore the engine.
> >> Both are Centos 6.5 with engine 3.3.3, but in the new box I can't log to
> >> the database with psql -U engine -W
> >> The error is:
> >>
> >> [root at centos-ovirt ~]# engine-backup --mode=restore
> >> --file=/root/backup_20140212.bkp --log=/root/restore.log
> >> Restoring...
> >> FATAL: Can't connect to the database
> >>
> >> I've added to pg_hba.conf the lines I found in the web:
> >>
> >> host all all md5
> >>
> >> and tryied with the conf from the one that works but nothing.
> >> Any clues?
> > Unlike engine-setup, engine-backup does nothing for you regarding
> > creating the database - it's basically the same as creating a database
> > to be used for a remote-db setup. See e.g. [1] for details, also
> > 'engine-backup --help'.
> >
> > [1] http://www.ovirt.org/OVirt_Engine_Development_Environment#Database
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list