pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Arthurs <tarthurs@jobflash.com>
To: Tom Davies <tgdavies@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backup of live database
Date: Wed, 16 Jan 2008 17:02:00 -0800
Message-ID: <478EA908.9040607@jobflash.com> (raw )
In-Reply-To: <A8B80B59-2685-4FDA-9A1C-08753CED7948@gmail.com >
References: <5a9699850801152257g6ee9513i6c4fc88a5f20a785@mail.gmail.com >
<478DAC1D.3010909@commandprompt.com >
<5a9699850801152310g39fa9bf3y3926892145ab3dcf@mail.gmail.com >
<478DBAC3.8050802@commandprompt.com >
<5a9699850801160024y7abdcd2fjdb1035c2070797eb@mail.gmail.com >
<478E4214.6030805@jobflash.com >
<A8B80B59-2685-4FDA-9A1C-08753CED7948@gmail.com >
If you don't start archiving log files, your first backup won't be valid
-- well I suppose you could do it the hard way and start the backup and
the log archiving at exactly the same time (can't picture how to time
that), but the point is you need the current log when you kick off the
backup. If you kick off archiving first, you are assured of a valid
backup (when the recovery is done.) You may get some extra log files
that way, but better too many than too few. (been there, done that.)
Tom Davies wrote:
>
> On 17/01/2008, at 4:42 AM, Tom Arthurs wrote:
>> The important thing is to start archiving the WAL files *prior* to the
>> first OS backup, or you will end up with an unusable data base.
>
> Why does the recovery need WAL files from before the backup?
>
> Tom
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
>
view thread (18+ messages)
Message-ID: <478EA908.9040607@jobflash.com>
Permalink: ../478EA908.9040607@jobflash.com/
Also on: postgresql.org/message-id/478EA908.9040607@jobflash.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tarthurs@jobflash.com, tgdavies@gmail.com
Subject: Re: Backup of live database
In-Reply-To: <478EA908.9040607@jobflash.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox