pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
To: pgsql-admin@postgresql.org
Subject: Re: Restore and Backup PG8.4 tp 9.4
Date: Mon, 17 Aug 2015 16:46:08 +0200
Message-ID: <55D1F3B0.4030003@gmx.de> (raw)
In-Reply-To: <CAHOOdKWwdGyaQt6yf2f7n=RZN8TX+hUnDjkm0UuUN+n2pNrnoA@mail.gmail.com>
References: <CAHOOdKWwdGyaQt6yf2f7n=RZN8TX+hUnDjkm0UuUN+n2pNrnoA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (4+ messages)  latest in thread

Message-ID: <55D1F3B0.4030003@gmx.de>
Permalink:  ../55D1F3B0.4030003@gmx.de/
Also on:    postgresql.org/message-id/55D1F3B0.4030003@gmx.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Jan-Peter.Seifert@gmx.de
  Subject: Re: Restore and Backup PG8.4 tp 9.4
  In-Reply-To: <55D1F3B0.4030003@gmx.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox