From: Chris Travers <chris@travelamericas.com>
To: CY <cyhoong@pc.jaring.my>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Novice question
Date: Tue, 13 Jan 2004 17:58:39 +0700
Message-ID: <018501c3d9c4$64773fe0$54285e3d@winxp> (raw)
References: <3FFD0690.1070102@pc.jaring.my>
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" <cyhoong@pc.jaring.my>
To: "pgsql-admin" <pgsql-admin@postgresql.org>
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
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: chris@travelamericas.com, cyhoong@pc.jaring.my
Subject: Re: Novice question
In-Reply-To: <018501c3d9c4$64773fe0$54285e3d@winxp>
References: <3FFD0690.1070102@pc.jaring.my> <018501c3d9c4$64773fe0$54285e3d@winxp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox