29 Jan
2010
29 Jan
'10
7:48 a.m.
On Fri, 2010-01-29 at 10:21 +0500, CoolAtt NNA wrote:
Hi Alex,
I mirror the mailboxes as follows:
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.
The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when restoring mails, be sure not to restore duplicates.