Re: Best Practice: Backing up Maildirs

From: Gary Maltzen (no email)
Date: Thu Jul 14 2005 - 12:44:57 EDT

  • Next message: /dev/rob0: "Re: How to pipe to SA before queue?"

    The first mistake is in using rsync on mail folders - they are far too
    dynamic.

    Possibly faster suggestion:
     1) use tar to transfer the folder contents to a NEW folder on the
    backup system.
     2) replace the OLD folder with the NEW folder on the backup system.

        (something like this)
        # cd /tmp
        # ssh tar clf - /var/spool/postfix | tar xvf -
        # mv var/spool/postfix /backup/path
       

    Michael Nguyen wrote:

    >We're talking more than half a day. What seems to take the longest is
    >calculating the file lists as there are just tons and tons and tons of tiny
    >files that are often moved.
    >
    >The backup of the mail servers started at 00:18 AM and it's currently 15:32
    >PM here. The mail servers are about 70% done. Size-wise, we're talking
    >about 3 servers totalling less than 500GB. The actual size doesn't seem to
    >be the problem, but rather the time it takes to create the list of files to
    >be transferred.
    >
    >We have servers that have much more data, but take much less time to backup.
    >
    >


  • Next message: /dev/rob0: "Re: How to pipe to SA before queue?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD