From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | David Gaudine <davidg(at)alcor(dot)concordia(dot)ca> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Cloning databases using rsync |
Date: | 2006-02-17 20:15:32 |
Message-ID: | 12174.1140207332@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
David Gaudine <davidg(at)alcor(dot)concordia(dot)ca> writes:
> I regularly copy all my postgresql data onto another computer and access
> it locally there. This works if I use pg_dump, transfer the output
> file, and feed that file into psql. However, I would prefer to copy
> the databases using rsync instead of pg_dump, because it's simpler and
> faster. (I know the server has to be down to avoid corruption.)
This should work as long as both machines are identical processor
architectures and have identical Postgres versions compiled with
identical options. (Note that 8.1 tries harder than previous versions
to detect option mismatch during server startup, but I wouldn't swear
that it's bulletproof either.) I suspect you've broken one of these
rules.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | David Gaudine | 2006-02-17 21:42:46 | Re: Cloning databases using rsync |
Previous Message | David Gaudine | 2006-02-17 19:41:42 | Cloning databases using rsync |