Re: Cold backup with rsync -- WAL files?

Поиск
Список
Период
Сортировка
От Craig James
Тема Re: Cold backup with rsync -- WAL files?
Дата
Msg-id CAFwQ8rdwE58EVB7Aki0kAdeVELerbh8_oe9GTdP=er1Ku37epg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Cold backup with rsync -- WAL files?  (Jeff Frost <jeff@pgexperts.com>)
Ответы Re: Cold backup with rsync -- WAL files?  (Denish Patel <denish@omniti.com>)
Список pgsql-admin

On Fri, Dec 6, 2013 at 11:34 AM, Jeff Frost <jeff@pgexperts.com> wrote:


> On Dec 6, 2013, at 11:07, Craig James <cjames@emolecules.com> wrote:
>
> After I rsync the postgres data directory, do I need the WAL files from the source (they're on a separate disk, not part of the postgres data directory)?  Can/should  I erase the WAL directory of the destination?

Yes, you need the WAL files.

Now I have two directly conflicting answers.  You say the WAL files are needed even though the DB is shut off, and Payal Singh says I don't need the WAL files (but I don't think he cc'd the mailing list).

Why are the WAL files necessary if the DB is shut off?  Why can't they just be erased?

It's a gigabyte of copying that I was hoping to avoid.

Craig

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jeff Frost
Дата:
Сообщение: Re: Cold backup with rsync -- WAL files?
Следующее
От: Denish Patel
Дата:
Сообщение: Re: Cold backup with rsync -- WAL files?