Gotcha's in copying data between servers via file copy

Started by frank churchabout 20 years ago2 messagesgeneral
Jump to latest
#1frank church
pgsql@adontendev.net

I want to copy the data from one server to another. One is running Postgresql
7.4.6 and the other 7.4.7.

Are they any gotchas I should lookout for when making the copy?

#2Bruce Momjian
bruce@momjian.us
In reply to: frank church (#1)
Re: Gotcha's in copying data between servers via file copy

Frank Church wrote:

I want to copy the data from one server to another. One is running Postgresql
7.4.6 and the other 7.4.7.

Are they any gotchas I should lookout for when making the copy?

None. You can shutdown and do a binary copy of the filesystem, or use
pg_dump or pg_dumpall.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073