[Dovecot] incremental backups of maildir via rsync

Harald Dunkel harri at afaics.de
Tue Jul 17 07:26:22 EEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Wojciech,

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.


Many thanx

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAE6WYACgkQUTlbRTxpHjep6gCfQZCOD6t4O1zUkEtKW4j2sPKD
OJkAniZAbVWzYhanyeA1koYtyOJU7N53
=X9Jz
-----END PGP SIGNATURE-----



More information about the dovecot mailing list