Re: [GENERAL] Synchronization Master -> Slave (on slow connetion)

2012-07-19 Thread Sergey Konoplev
On Thu, Jul 19, 2012 at 4:27 PM, Sergey Konoplev wrote: > On Thu, Jul 19, 2012 at 3:45 PM, Edson Richter > wrote: >> The rsync above can be optimized? Both servers are CentOS 5 with OpenVPN > > Yes, it can be optimized. You can turn compression on by specifying > -z. The compression level 1 is t

Re: [GENERAL] Synchronization Master -> Slave (on slow connetion)

2012-07-19 Thread Sergey Konoplev
On Thu, Jul 19, 2012 at 3:45 PM, Edson Richter wrote: > The rsync above can be optimized? Both servers are CentOS 5 with OpenVPN Yes, it can be optimized. You can turn compression on by specifying -z. The compression level 1 is the one that performs best for my needs. You can find out yours best

[GENERAL] Synchronization Master -> Slave (on slow connetion)

2012-07-19 Thread Edson Richter
I've serious problems with slow link between continents, and twice a week I have to manually reestablish the slave, by running the following script: -- psql -