Re: Understanding wal segments - Mailing list pgsql-admin

From Tom Lane
Subject Re: Understanding wal segments
Date
Msg-id 22325.1193981928@sss.pgh.pa.us
Whole thread Raw
In response to Re: Understanding wal segments  (Kevin Kempter <kevin@kevinkempterllc.com>)
Responses Re: Understanding wal segments  (Kevin Kempter <kevin@kevinkempterllc.com>)
List pgsql-admin
Kevin Kempter <kevin@kevinkempterllc.com> writes:
> Also I suspect after each filesystem backup I should remove the older
> archived segments since the file system backup makes them
> irrelevant. Is this accurate?

Depends what your goals are.  If you only want to be able to recover
the latest database state then you only need archived WAL segments
back to the start of the latest filesystem backup.  If you are
interested in the "PITR" aspect of it --- being able to revert back
to last Tuesday before some bad guy injected bad data, say --- then
you'll want to keep older filesystem backups too, and a continuous
string of archived WAL files covering the period of interest.

            regards, tom lane

pgsql-admin by date:

Previous
From: Kevin Kempter
Date:
Subject: Re: Understanding wal segments
Next
From: Kevin Kempter
Date:
Subject: Re: Understanding wal segments