Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Moving database install to new SAN





> 2. copy whole data directory over to new SAN
If database is big, then I think that is much faster to copy running
database
to new SAN.
Then stop postgres and rsync what was changed - but this will be probably
only a few files.


I believe if you do this, you will not get a function database in the end.  There is a lot of data that is held in memory/buffers that may not be flushed to the disks.  You have no guarantee you will get this data with this method.

Either shut the database down and cold copy it, or setup replication using Slony to move the data in a "hot"mode.

HTH,

Chris



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group