Re: [Evolution] Backup and Restore



On Mon, 2004-02-02 at 20:01, D. D. Brierton wrote:
On Mon, 2004-02-02 at 18:14, Celsun . wrote:

Someone please point me in the right direction or post step-by-step 
instructions for backing up and restoring Evolution.

Following some of the posts on this list I did the following on MDK 9.1 to 
backup Evo 1.4.5:

    evolution --force-shutdown

    pruned all indexing files mbox.* in ~/evolution/local/(sub) folders

    In ~/evolution  tar czvf evolution.tar.gz evolution

This seems odd. Which directory were you in when you ran the command
"tar czvf evolution.tar.gz evolution"? Because from what you wrote above
it appears that you were in ~/evolution and not in ~. In which case you
have made a tarball of the contents of ~/evolution/evolution which is
not what you wanted. This is what you should have done:

evolution --force-shutdown
cd ~
find evolution -name "mbox.*" -exec rm -f '{}' ';'
tar -cvzf evolution.tar.gz evolution

Ack.

Celsun, if you *really* used the command you initially mentioned, you
are very likely screwed. I am very sorry I have to say that. :-(

However, as there is no ~/evolution/evolution/ directory, you may be
lucky, cause this fails with an error like this:

$ tar czvf temp.tar.gz NONEXISTENT
tar: NONEXISTENT: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors

The resulting .tar.gz file is just some bytes large. Check this first.
Then, see the contents of your .tar.gz file, if you actually have any
content.


It turned out to be a big mess and even though I saw hundreds of files being 
archived, the archive file appears to be empty now. (46B) How and why did 
this happen?

You should not have seen any file being archived (the v parameter is for
verbose, and thus any file archived is displayed while archiving).

46 Bytes does look empty, though. :-(

...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]