X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CBF58329CDD for ; Wed, 15 Sep 2004 14:04:09 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13982-10 for ; Wed, 15 Sep 2004 13:04:03 +0000 (GMT) Received: from web12702.mail.yahoo.com (web12702.mail.yahoo.com [216.136.173.239]) by svr1.postgresql.org (Postfix) with SMTP id 4B1BD329C63 for ; Wed, 15 Sep 2004 14:04:04 +0100 (BST) Message-ID: <20040915130403.52264.qmail@web12702.mail.yahoo.com> Received: from [195.29.96.16] by web12702.mail.yahoo.com via HTTP; Wed, 15 Sep 2004 06:04:03 PDT Date: Wed, 15 Sep 2004 06:04:03 -0700 (PDT) From: Reply-To: ogjunk-pgjedan@yahoo.com Subject: pg_restore: [archiver] input file does not appear to be a valid archive To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200409/134 X-Sequence-Number: 14837 Hello, I'm having trouble with pg_dump and pg_restore (PG 7.3.4). This is how I'm dumping my DB: # pg_dump -d mydb --clean --inserts --column-inserts --format=P -v -h localhost -p 5432 -U otis > dbdump # gzip -9 dbdump + scp it to a remote machine where I want to restore this dump in a different DB (same DB user, also on localhost, also PG 7.3.4, but different DB name) # gunzip dbdump.gz # pg_restore -a -d myOtherDbName dbdump But restore fails with this error: pg_restore: [archiver] input file does not appear to be a valid archive I checked the man pages for both commands, but didn't see anything that would make me think that I'm doing something wrong, but I must be.... Thanks, Otis