[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maildir backup

Marek Podmaka wrote:
Hello all,

  What do you use to backup maildirs? For normal backup I use
  rdiff-backup over network to different server. But don't know how to
  backup mailserver which has 146 GB of maildirs in 920.000 files. Of
  course many files are added as new mail arrives and lot of files
  removed as users download them using pop3 and imap. I use software
  raid1 to protect against disk failure, but nothing against human
  error or filesystem failure/corruption.

  Is recent rsync (which does not require full list of files at start)
  able to cope with such huge amount of files? And would be better to
  run it for example every hour or only once per day? Or maybe run it
  from LVM snapshot? The main problem to overcome is too many files
  and filesystem with too many changes all the time.

    Thanks for any ideas...

personally i use rsnapshot to make a backup from LVMsnapshot and i have about the same amount of GB's of maildirs. rsnapshot basically uses rsync and then stores the hourly/daily/weekly etc.. backups making use of hardlinks in order to avoid multiple copies of the same file.

have a look at it, works like a charm and is simple to use.

Reply to: