Re: Restore and Backup PG8.4 tp 9.4

From: Mohamed MANSOUR <med(dot)mnsour(at)gmail(dot)com>
To: Jan-Peter Seifert <Jan-Peter(dot)Seifert(at)gmx(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Restore and Backup PG8.4 tp 9.4
Date: 2015-08-17 15:10:23
Message-ID: CAHOOdKWv1DU-kix719nbyM1_S+imEngZOxa+j8D=FpAj4o1Lcg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

it worked fine after adding acces role in the pg_hba.conf !!
thanks @Ville

2015-08-17 15:46 GMT+01:00 Jan-Peter Seifert <Jan-Peter(dot)Seifert(at)gmx(dot)de>:

> Hello,
>
> Am 17.08.2015 um 10:42 schrieb Mohamed MANSOUR:
>
> > i try to import this backup in my new server pg 9.4 with this command
> >
> > |*pg_restore -i -h localhost -p 5432-U postgres -d **myDb**-v
> > "10.70.0.61.backup"*|
> >
> > the backup worked fine but in restoring i get this error !
> >
> > *pg_restore: connecting to database for restore*
> > *pg_restore: [archiver (db)] connection to database "**myDb**" failed:
> > FATAL: Ident authentication failed for user "postgres"*
> > *pg_restore: *** aborted because of error*
>
> I guess you have to use sudo:
> http://wiki.ubuntuusers.de/postgresql
>
> Regards,
>
> Peter
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

--
*Mohamed MANSOUR*
Eléve Ingenieur / Développeur .Net
( + 216 ) 52 958 794

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Craig Ringer 2015-08-18 03:28:18 Re: Two factor authentication role with password and USB Device for PostgreSQL server
Previous Message Jan-Peter Seifert 2015-08-17 14:46:08 Re: Restore and Backup PG8.4 tp 9.4