Re: Base Backups from PITR Standby

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian Wipf <brian(at)clickspace(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Base Backups from PITR Standby
Date: 2007-10-30 05:06:50
Message-ID: 16140.1193720810@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brian Wipf <brian(at)clickspace(dot)com> writes:
> The process I use that leads to the warnings is simple:

> I use pg_controldata to determine the current checkpoint WAL location
> of the standby server. I ensure I have this WAL file and all newer
> WALs. I backup all files under the standby's database cluster
> directory, including all tablespaces, which are soft linked. I restore
> the database cluster directory to its new location and create soft
> links in pg_tblspc to point to the proper tablespace directories just
> backed up. I create the pg_xlog directory containing an archive_status
> directory.

This seems not exactly per spec. Why are you not using pg_start_backup
and pg_stop_backup around the copying of the database files?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2007-10-30 05:10:48 Re: Raid Chunk Sizes for DSS type DB
Previous Message Amrita Prasad 2007-10-30 05:04:34 how to unsubscribe from this group?