Re: Bad dumps...

From: Stef <svb(at)ucs(dot)co(dot)za>
To: mike(at)thegodshalls(dot)com
Cc: Hilary Forbes <hforbes(at)dmr(dot)co(dot)uk>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Bad dumps...
Date: 2004-07-12 07:52:03
Message-ID: 20040712095203.333c8aa2@svb.ucs.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Konstantin Pelepelin 2004-07-12 09:26:41 Re: are there ways for 'idle timeout'?
Previous Message Bruce Momjian 2004-07-11 03:05:49 Re: Asunto: Re: Problems restoring a DB with oids