Hi Luigi,
Thats great. Can you please explain how you do the restore?
I plan to do restore of 1 or more mail files. If I simply copy a mailfile e.g "MailDir/cur/my-email-file:2,S" to "MailDir/cur/" on the live system, are there issues associated with it ?
Thanks CoolAtt
Date: Fri, 29 Jan 2010 06:39:31 +0100 From: lists@luigirosa.com To: dovecot@dovecot.org Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
CoolAtt NNA said the following on 29/01/10 06:21:
rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail I run it in a script for e,g every 1 min. By doing so if an email is deleted on the live server it still remain on the backup server. Then I give each mail file a retention period of n days so that it automatically gets deleted from the backup server.
I use a similar strategy, with a more relaxed synchronization. But instead of setting an expire on backup system, I simply do a rsync --del every night.
Ciao, luigi
/ +--[Luigi Rosa]-- \
Oo-ta goo-ta, Solo? --Greedo, "Star Wars" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAktidI8ACgkQ3kWu7Tfl6ZRfEACfRfJR4z99TIEgylKSywVAa4px l1kAnRA6xyigbYl+BVZoi6d5Vi5/n4Yk =f8lP -----END PGP SIGNATURE-----
Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969