Re: [Evolution] Incremental Mail Backup ... almost



I am writing a script to back up my mail to another machine.  I've
already asked a question on this list and now see my files in mbox
format but I've got some questions about the other files in the dir.

~/evolution/local/* are a bunch of folders corresponding to the data in
tree view for Evo.  For all the mail folders in the subdirectories is an
mbox file.

I just need to concat the old messages to the new ones like so...

$> mv mbox mbox.messages_old; cat mbox.messages_old mbox.messages_new >
mbox; rm mbox.messages_*

Now when evo initializes on the remote machine (say I want to look for
an old message) will it update the other files in this directory or do I
have to do anything else?

Evolution will detect the indexing files to be not correct and recreate
them on the next startup (maybe not before you actually want to see the
contents of that mbox file).

So "no", you don't need to do anything else.

However, you can safely remove any mbox.* files (note the dot, be
careful to not remove the mbox file itself) AFAIK. Removing these
indexing files will save quite a lot disk space.

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




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