Re: Novice question

From: "Chris Travers" <chris(at)travelamericas(dot)com>
To: "CY" <cyhoong(at)pc(dot)jaring(dot)my>, "pgsql-admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Novice question
Date: 2004-01-13 10:58:39
Message-ID: 018501c3d9c4$64773fe0$54285e3d@winxp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)pc(dot)jaring(dot)my>
To: "pgsql-admin" <pgsql-admin(at)postgresql(dot)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
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Max Grigoriev 2004-01-13 11:41:55 Pg_restore qusetion
Previous Message Vasilis Ventirozos 2004-01-13 10:33:47 about set autocommit