pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Novice question
2+ messages / 2 participants
[nested] [flat]

* Novice question
@ 2004-01-08 07:28 CY <cyhoong@pc.jaring.my>
  2004-01-13 10:58 ` Re: Novice question Chris Travers <chris@travelamericas.com>
  0 siblings, 1 reply; 2+ messages in thread

From: CY @ 2004-01-08 07:28 UTC (permalink / raw)
  To: pgsql-admin

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.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Novice question
  2004-01-08 07:28 Novice question CY <cyhoong@pc.jaring.my>
@ 2004-01-13 10:58 ` Chris Travers <chris@travelamericas.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Chris Travers @ 2004-01-13 10:58 UTC (permalink / raw)
  To: CY <cyhoong@pc.jaring.my>; 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@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
>
>




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-01-13 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-01-08 07:28 Novice question CY <cyhoong@pc.jaring.my>
2004-01-13 10:58 ` Chris Travers <chris@travelamericas.com>

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