X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 140DDD1D876 for ; Tue, 13 Jan 2004 11:00:42 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 00686-10 for ; Tue, 13 Jan 2004 07:00:12 -0400 (AST) Received: from noon.pghoster.com (noon.pghoster.com [64.246.0.64]) by svr1.postgresql.org (Postfix) with ESMTP id 0D163D1DA95 for ; Tue, 13 Jan 2004 07:00:10 -0400 (AST) Received: from [61.94.48.90] (helo=winxp) by noon.pghoster.com with asmtp (Exim 4.24) id 1AgMHG-0001IS-S6; Tue, 13 Jan 2004 05:00:12 -0600 Message-ID: <018501c3d9c4$64773fe0$54285e3d@winxp> From: "Chris Travers" To: "CY" , "pgsql-admin" References: <3FFD0690.1070102@pc.jaring.my> Subject: Re: Novice question Date: Tue, 13 Jan 2004 17:58:39 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - noon.pghoster.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - travelamericas.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/99 X-Sequence-Number: 11962 Try doing an initdb on the other computer OR shutting down postgreSQL (mandatory) and then copying over your data directory. Best Wishes, Chris Travers ----- Original Message ----- From: "CY" To: "pgsql-admin" Sent: Thursday, January 08, 2004 2:28 PM Subject: [ADMIN] Novice question > Dear list > > Is is possible to copy /var/lib/pgsql from one computer to another and > able login like the 1st computer? > I have a production computer and a test computer. > > According to some literature, this can be done. However, I found that > the database and user missing when > use wiht psql. > > Currently, I am uisng RH Linux 8.0 wiht Postgres 7.2.2. > > Thank you. > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > >