pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Branka Stancic <brankastancic@hotmail.com>
To: pgsql-bugs@postgresql.org
Subject: pg_restore
Date: Wed, 5 Dec 2012 13:40:31 +0100
Message-ID: <BAY174-W14C6C62FF410A27CD3561DBB460@phx.gbl> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>



Hi,I have problem.I want to restore only data in database.In pgAdmin I was backup only data from old database and now i have  backup file backup.sql.In terminale I want restore only data in new database and I using command pg_restore -i -h localhost -p 5432 -U postgres -d payroll --data-only -v "/home/postgres/backup.sql",but i get an error:pg_restore:[archiver] input file appears to be a text format dump.Please use psql
Thanks in advance for your suggestions.

 		 	   		  =

view thread (8+ messages)  latest in thread

Message-ID: <BAY174-W14C6C62FF410A27CD3561DBB460@phx.gbl>
Permalink:  ../BAY174-W14C6C62FF410A27CD3561DBB460@phx.gbl/
Also on:    postgresql.org/message-id/BAY174-W14C6C62FF410A27CD3561DBB460@phx.gbl

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: brankastancic@hotmail.com
  Subject: Re: pg_restore
  In-Reply-To: <BAY174-W14C6C62FF410A27CD3561DBB460@phx.gbl>
  References: <BAY174-W14C6C62FF410A27CD3561DBB460@phx.gbl>

* 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