Re: Hot Backup with rsync fails at pg_clog if under load
От | Florian Pflug |
---|---|
Тема | Re: Hot Backup with rsync fails at pg_clog if under load |
Дата | |
Msg-id | 193B7D25-BD69-4C14-8E67-8CEA82888B65@phlo.org обсуждение исходный текст |
Ответ на | Re: Hot Backup with rsync fails at pg_clog if under load (Linas Virbalas <linas.virbalas@continuent.com>) |
Список | pgsql-hackers |
On Sep29, 2011, at 17:44 , Linas Virbalas wrote: >> I also checked what rsync does when a file vanishes after rsync computed the >> file list, but before it is sent. rsync 3.0.7 on OSX, at least, complains >> loudly, and doesn't sync the file. It BTW also exits non-zero, with a special >> exit code for precisely that failure case. > > To be precise, my script has logic to accept the exit code 24, just as > stated in PG manual: > > Docs> For example, some versions of rsync return a separate exit code for > Docs> "vanished source files", and you can write a driver script to accept > Docs> this exit code as a non-error case. Oh, cool. I was about to suggest that we add something along these lines to the docs - guess I should RTFM from time to time ;-) best regards, Florian Pflug > > -- > Sincerely, > Linas Virbalas > http://flyingclusters.blogspot.com/ > > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: