Re: [GENERAL] Backup strategy using 'wal_keep_segments'
От | Stephen Frost |
---|---|
Тема | Re: [GENERAL] Backup strategy using 'wal_keep_segments' |
Дата | |
Msg-id | 20171030164111.GF4628@tamriel.snowman.net обсуждение исходный текст |
Ответ на | [GENERAL] Backup strategy using 'wal_keep_segments' (Rhhh Lin <ruanlinehan@hotmail.com>) |
Ответы |
Re: [GENERAL] Backup strategy using 'wal_keep_segments'
|
Список | pgsql-general |
Greetings, * Rhhh Lin (ruanlinehan@hotmail.com) wrote: > A colleague recently suggested that instead of implementing an 'archive_command' to push archivable WALs to a secondarylocation (for further backup to tape for example), we could instead persist the WAL files in their current locationby setting the "wal_keep_segments" parameter to an extreme value e.g. 1000 and have the 'archive_command' do nothing. Michael's points are good and I wouldn't recommend using this archive command either, but what isn't clear to me is what you're actaully trying to solve by using such a method..? You haven't said anywhere what's wrong with archive_command (I know that there certainly are some things wrong with it, of course, but there are solutions to a number of those issues that isn't a hack like this ...). Thanks! Stephen
В списке pgsql-general по дате отправления: