pg_dumpall pg_restore - Mailing list pgsql-novice

From Rob Sell
Subject pg_dumpall pg_restore
Date
Msg-id 004d01c3aeb6$8a587640$640101c0@rob
Whole thread Raw
In response to Re: How can I check if table exists in DB?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: pg_dumpall pg_restore
Re: pg_dumpall pg_restore
List pgsql-novice
Ok this should be simple but I am missing something here.

Yesterday I upgrade to 7.4 before I do that I run

$pg_dumpall > /tmp/pg_keep

When I try to restore off this file I get
pg_restore: [archiver] input file does not appear to be a valid archive

So I tar the file and it appears to be a valid archive now..
Now when I try to restore I get the error:

pg_restore: [tar archiver] could not find header for file toc.dat in tar
archive

What am I missing here? Or is my dump just not valid and I am out of luck.

Btw I did the dump with the 7.3 tools and now am using the 7.4 restore if
that makes any difference.

Rob



pgsql-novice by date:

Previous
From: Andrei Ivanov
Date:
Subject: ERROR: nodeRead: did not find '}'
Next
From: Stephan Szabo
Date:
Subject: Re: pg_dumpall pg_restore