On Mon, 2007-06-11 at 09:03 +0200, Johannes Konert wrote:
> Joshua D. Drake wrote:
> > Anything else in there you should be grabbing via pg_dump anyway.
> So you suggest not to backup the filesystem-files, but to do a dump
> instead? Does this work together with PITR as described in 23.3.
> (http://www.postgresql.org/docs/8.2/interactive/continuous-archiving.html#BACKUP-BASE-BACKUP).
> I want to make a full backup every night of a heavy DB while it is
> running. Combined with short-term-WAL-archiving. Getting the WAL-files
> is easy by using the config-parameter archive_command, but to copy and
> backup the "base backup" once a day is impossible if I cannot access the
> data-files.
> Will the described backup&restore work as well with a dump + WAL-files?
> Then I could forget about copying the file-system-files....
No, it won't, so I'm not sure what Josh means.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com