Re: Sample archive_command is still problematic
| От | Josh Berkus |
|---|---|
| Тема | Re: Sample archive_command is still problematic |
| Дата | |
| Msg-id | 53F39723.9070503@agliodbs.com обсуждение исходный текст |
| Ответ на | Sample archive_command is still problematic (Josh Berkus <josh@agliodbs.com>) |
| Ответы |
Re: Sample archive_command is still problematic
|
| Список | pgsql-docs |
On 08/19/2014 10:39 AM, Tom Lane wrote: > Josh Berkus <josh@agliodbs.com> writes: >> Well, if we want a sample command in the docs, then we should actually >> give a few different sample commands and even a sample shell script. If >> we give the users several alternatives, maybe they'll actually think >> about it instead of just C&P. > > Sure, if we can think of some plausibly different samples. I was thinking: 1. noclobber copy to a local/mounted dir (the current example) 2. rsync to a remote dir with overwrite 3. windows command example (hopefully using rsync ... can anyone help with this?) 4. Simple bash script example using rsync to a target server, with noarchiving touch file etc. I'd also like to mention pg_receivexlog, Barman, WAL-E, and RepMgr as external utilites and alternatives. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-docs по дате отправления: