Re: Backup's from standby

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Backup's from standby
Дата
Msg-id CA+TgmoZ6Hxdo_euAXwjWr_8tEZ+7+88dPjQwtyGzH40Ezc3Cjw@mail.gmail.com
обсуждение исходный текст
Ответ на Backup's from standby  (senthilnathan <senthilnathan.t@gmail.com>)
Ответы Re: Backup's from standby  (senthilnathan <senthilnathan.t@gmail.com>)
Re: Backup's from standby  (senthilnathan <senthilnathan.t@gmail.com>)
Список pgsql-hackers
On Thu, Aug 11, 2011 at 1:02 AM, senthilnathan
<senthilnathan.t@gmail.com> wrote:
> What is the basic reason for restricting backup at standby
> server(pg_start_backup)?

It performs a checkpoint.

> We are doing the following steps to take backup from standby which(backups)
> might be used for standalone startups.
>
> 1.Create file system snapshot(LVM)
> 2.take the back up of data directory including wal files
> 3.Drop the file system snapshot
>
> Will there be(foresee) any issues while using these backups?

Assuming that step #2 is backing up an instantaneous snapshot, rather
than the live data directory, I think that will work.  Upon starting
up the server, it will enter recovery, but the WAL present in the data
directory at the time of the snapshot should be sufficient to reach
the minimum recovery point.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Final 48 for PgWest CFP
Следующее
От: Tom Lane
Дата:
Сообщение: Re: small issue with host names in hba