Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ThMnK-00063d-5p for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Dec 2012 15:58:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1ThMnI-00062Z-Ru for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Dec 2012 15:58:24 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TgEHI-0000J0-Gu for pgsql-bugs@postgresql.org; Wed, 05 Dec 2012 12:40:40 +0000 Received: from bay0-omc1-s8.bay0.hotmail.com ([65.54.190.19]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TgEHD-0008GK-Po for pgsql-bugs@postgresql.org; Wed, 05 Dec 2012 12:40:40 +0000 Received: from BAY174-W14 ([65.54.190.59]) by bay0-omc1-s8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 5 Dec 2012 04:40:31 -0800 X-Originating-IP: [109.92.24.49] X-EIP: [l71TkqD/dRq8xIGzZfDsxCLXhWkOQvAi] X-Originating-Email: [brankastancic@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_390b4014-4910-490d-b5f3-52cedcb5fe26_" From: Branka Stancic To: Subject: pg_restore Date: Wed, 5 Dec 2012 13:40:31 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 05 Dec 2012 12:40:31.0669 (UTC) FILETIME=[B69CDE50:01CDD2E5] X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --_390b4014-4910-490d-b5f3-52cedcb5fe26_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi=2CI have problem.I want to restore only data in database.In pgAdmin I wa= s 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"=2Cbut 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. = --_390b4014-4910-490d-b5f3-52cedcb5fe26_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable

Hi=2C
I have problem.
I want to res= tore only data in database.
In pgAdmin I was backup only data fro= m old database and now i have  =3Bbackup file backup.sql.
In = terminale I want restore only data in new database and I using command pg_r= estore -i -h localhost -p 5432 -U postgres -d payroll --data-only -v "/home= /postgres/backup.sql"=2C
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.

= --_390b4014-4910-490d-b5f3-52cedcb5fe26_--