Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8DAUL716839 for ; Thu, 13 Sep 2001 06:30:22 -0400 (EDT) (envelope-from mit@e-mit.de) Received: from [195.20.224.208] (helo=mrvdom01.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15hTlB-0006tq-00; Thu, 13 Sep 2001 12:30:17 +0200 Received: from pd9e165df.dip.t-dialin.net ([217.225.101.223] helo=UEEI) by mrvdom01.schlund.de with esmtp (Exim 2.12 #2) id 15hTkI-0002Lv-00; Thu, 13 Sep 2001 12:29:22 +0200 Date: Thu, 13 Sep 2001 12:31:35 +0200 From: Michael Timme X-Mailer: The Bat! (v1.53) Educational Reply-To: Michael Timme Organization: eMiT X-Priority: 3 (Normal) Message-ID: <895435430.20010913123135@e-mit.de> To: pgsql-admin@postgresql.org CC: pmiranda@vm.com.br Subject: Re: pg_dump & Win 9X/NT In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200109/68 X-Sequence-Number: 2168 Hi, pvcb> I tried to use pg_dump + pg_restore, but I don't know the correct usage of pvcb> them under Win 9X/NT. I'd appreciate any tips in that matter. create a dump file with pg_dump like pg_dump -h sourcehost dbname > outputfile.dump then connect to the other machine and create the new database psql -h desthost -d template1 create database new_dbname; exit and connect now with the generated datafile psql -h desthost -d new_dbname < outputfile.dump I tried this way and it works. regards Michael Timme -- Michael Timme mailto:mit@e-mit.de