[wellylug] Backing up maildirs

Richard Hector rhector at paradise.net.nz
Sun Aug 24 20:57:58 NZST 2003


On Sun, Aug 24, 2003 at 08:17:28PM +1200, Ewen McNeill wrote:
> In message <20030824080812.GB15558 at fake>, Richard Hector writes:
> >On Sun, Aug 24, 2003 at 03:13:11PM +1200, Jamie Dobbs wrote:
> >> I am in the process of replacing one PC with another and need to backup the
> >> maildirs on the old PC to place them on the new hardware. [...]
> >
> >The invocation I remember, and therefore use most of the time, is:
> >rsync -avx /source/dir/ user at desthost:/dest/dir/
> 
> If by "maildirs" you mean the qmail, etc, style one-file-per-message
> directories, then beware that at least some programs assume that the file
> name is (in part anyway) made up from the _inode_ number.  

Ouch. That sounds ugly. And not only that, in all the reading for setting up
2 mailservers using maildirs (one actually done by someone else in the end),
I never saw a reference to that useful piece of info.

I'll look into it, but do you have a reference?

Thanks,

Richard




More information about the wellylug mailing list