In fact, -1- i want to copy the mail server system to another machine. I suppose rsnaphot or a dump/restore in single user? is a good choice...
-2- And keep emails synchronized between the 2 mail server using rsync, this step is ok. Thank you very much for all your replies. Cheers, Wesley. On Wed, 28 Dec 2011 09:30:11 -0700, Darrin Chandler <dwchand...@stilyagin.com> wrote: > On Wed, Dec 28, 2011 at 11:00:52AM -0500, Nick Holland wrote: >> However, backing up an IMAP mail store daily leaves a lot to be >> desired. Most likely time for someone to accidentally delete the >> important mail they have been waiting for is probably not too long >> after it arrives. Depending (mostly) on the number of messages in >> your mail store, you may be able to run an rsync of the maildir >> hourly or maybe even every 15 minutes to another local hard disk. >> You could make that rsync cumulative -- no removing of deleted >> files, then daily rsync that backup off to another machine (using >> --link-dest option for a quick, rotated backup), and then doing an >> rsync WITH deletion to your local system, so your backup store >> doesn't grow without bound. > > This sounds like a job for rsnapshot: essentailly point-in-time > snapshots on top of rsync, using hard links of unchanged files for space > and speed. With some additional shell scripting + cron you could have a > really nice scheme to keep 15 minute snaps for the last few days, then > daily for a while, then weekly.