Re: Bad dumps... - Mailing list pgsql-admin

From Stef
Subject Re: Bad dumps...
Date
Msg-id 20040712095203.333c8aa2@svb.ucs.co.za
Whole thread Raw
In response to Re: Bad dumps...  (mike g <mike@thegodshalls.com>)
Responses Re: Bad dumps...  (Stef <svb@ucs.co.za>)
List pgsql-admin
mike g mentioned :
=> That could be a bug.  How are you dumping the data?  pg_dump?  Select
=> query?  How are you restoring the data?  psql?

Dumping:
pg_dump -Ft | gzip > dump.tgz

Restoring:
zcat dump.tgz | pg_restore -Ft |psql
OR
tar xvfz dump.tgz
perl -pi -e 's/\$\$PATH\$\$/$ENV{PWD}/g' restore.sql
psql -f restore.sql

Both these methods, produce the same result.

Attachment

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Asunto: Re: Problems restoring a DB with oids
Next
From: Konstantin Pelepelin
Date:
Subject: Re: are there ways for 'idle timeout'?