pg_ [dump & restore] invalid archive problem - Mailing list pgsql-novice

From John-Paul Delaney
Subject pg_ [dump & restore] invalid archive problem
Date
Msg-id OF7D87E6D0.46E38B03-ONC1256F42.0038A874-C1256F42.0039D1BF@wfp.org
Whole thread Raw
Responses Re: pg_ [dump & restore] invalid archive problem
List pgsql-novice
Hello List... I'd like to move a db containing large objects from one db to
another.
Using the command syntax directly from man pg_dump:

      pg_dump -Ft -b mydb > mydb.tar

      pg_restore -d mydb mydb.tar

I invariably (tried various attempts) get the following error:
"pg_restore: [archiver] input file does not appear to be a valid archive"

Any help much appreciated.
/j-p.



pgsql-novice by date:

Previous
From: Raphael Bauduin
Date:
Subject: Re: building a row with a plpgsql function
Next
From: "Crombleholme, Roy"
Date:
Subject: Re: pg_ [dump & restore] invalid archive problem