X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F27F23A429A for ; Thu, 20 Jan 2005 08:19:47 +0000 (GMT) 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 49896-01 for ; Thu, 20 Jan 2005 08:19:42 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id A78053A1D37 for ; Thu, 20 Jan 2005 08:19:41 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 4B4A0308ED; Thu, 20 Jan 2005 09:19:41 +0100 (MET) From: "Niederland" X-Newsgroups: pgsql.general Subject: Re: pg_restore Date: 20 Jan 2005 00:19:36 -0800 Organization: http://groups.google.com Lines: 13 Message-ID: <1106209176.290975.277480@c13g2000cwb.googlegroups.com> References: <1105992246.2309.15.camel@nx9005.localdomain> <10020.1105993425@sss.pgh.pa.us> <1105994097.2574.19.camel@nx9005.localdomain> <10254.1105994530@sss.pgh.pa.us> <1106197225.2673.41.camel@nx9005.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: c13g2000cwb.googlegroups.com; posting-host=67.49.84.87; posting-account=l2J5ZQ0AAAA7jWm5EJXCb2adPFmhF1kU To: pgsql-general@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/1131 X-Sequence-Number: 72080 More Info: If I perform a backup of my database with PGAdmin3. I can restore the database via the command line pg_restore. It seems as if the backup created with pg_restore when issued from a winXP command prompt does not create a file that the pg_restore can read... At least for the file types Compress and Tar. Which I need to use since my database contains blobs. One other item: Issuing an pg_restore -C -d myDB myDB.backup Did not create the database myDB and complained that the database did not exist. I had to first create the database and then the pg_restore functioned correctly (without -C option).