[CentOS] remote backup

Thu Jun 9 20:00:19 UTC 2016
Gordon Messmer <gordon.messmer at gmail.com>

On 06/09/2016 11:14 AM, John R Pierce wrote:
> Rsync processes one file at a time, so if the files are being updated 
> while its running, the differnet files will be copied at different 
> times.   This is usually fine for static archives of files and such, 
> but unsuitable for a database server where random updates are being 
> made of various files and they all have to be consistent.


You could create a snapshot and then rsync that to a backup:

https://bitbucket.org/gordonmessmer/dragonsdawn-snapshot

You could also use the "snapshot" project with rsnapshot, using this patch:

https://github.com/rsnapshot/rsnapshot/pull/44