[Dovecot] incremental backups of maildir via rsync
harri at afaics.de
Tue Jul 17 07:26:22 EEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 07/16/12 08:20, Wojciech Puchar wrote:
>> I would like to do incremental backups of the users' maildir directories to a dedicated backup host (using "rsync -SHa" and rsnapshot).
> dont use it.
> use rsync -b option. It is MUCH MUCH BETTER.
> i use it regularly.
I will try.
> Split your rsync session if you have huge amount of users or rsync would be taking enormous amount of RAM and have larger chance to fail.
>> Problem is: Dovecot bloats the incremental backup by changing the file names again and again.
> I didn't observe that except when moving from "new" to "cur"
> but --detect-renamed fixes it.
This did not work:
# rsync -SHa --detect-renamed /etc/motd /var/tmp
rsync: --detect-renamed: unknown option
I am using rsync version 3.0.9, but AFAICS there is no such
option on the cvs HEAD either.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the dovecot