[kdepim-users] 20090723KP -- Copying KMail

Thomas Olsen tanghus at gmail.com
Fri Jul 24 06:00:07 BST 2009


On Friday 24 July 2009 05:14:53 Bruce MacArthur wrote:
> On Thursday 23 July 2009 12:09, Kevin Krammer wrote:
> > Hi Bruce.
> >
> > On Thursday, 2009-07-23, Bruce MacArthur wrote:
> > > Hello, Kevin --
> > >
> > > A great question that I anticipated (for myself) without answering
> > > in my message!  I have resisted going directly to Jaunty 100%
> > > PENDING getting the openSUSE stuff copied over adequately.
> > > Therefore, at this time, the two distinct approaches are one and
> > > the same for me!  So we can consider it to be more like replacing
> > > Kubuntu's stuff with openSUSE's. I hope this helps (and even
> > > simplifies!) things.
> >
> > It does!
> >
> > If you can basically "Start from scratch" on the target machine then
> > the easiest way to do that is to pack all things from the old one
> > into an archive and extract it on the new one.
> >
> > more or less like this
> >
> > oldmachine% tar cvjf mails.tar.bz2 .kde/share/apps/kmail/mail
> >
> > newmachine% rm -r .kde/share/apps/kmail/mail
> > newmachine% tar xvjf mails.tar.bz2
> >
> > In words:
> > on the old machine (or on the respective parition mounted in the new
> > one) create an archive containing the whole mail directory
> >
> > This is basically a full backup of all mail files, indices, etc)
> >
> > Then make sure the new machine's target directory is not there.
> > Then extract the archive, basically restoring the old machines state.
> >
> > All while KMail is not running.
> > You might additionally copy some files from .kde/share/config, e.g.
> > kmailrc, mailtransports, emailidentities
> >
> > Cheers,
> > Keviin
>
> Hello, Kevin --
>
> Thank you for your prompt and very helpful reply.  I have come into a
> couple of complications; perhaps you can assist me in managing them.
>
> I had absolutely no problem at all doing the tar -cvjf step.
>
> I had not visible problem doing the rm step.
>
> However the tar -xvjf step is proving to be messy.  For one thing,
> the "/mail" folder (within /kmail) seems to not exist within Jaunty
> KMail.  For another, I am not sure what to make of the fact that you
> didn't tell this newbie what (if anything) to do about
> the "/.kMail-Import.directory/" entry that I find in openSUSE, but do
> NOT find in Jaunty's KMail.  Thirdly, the extraction step simply "blew
> up" with four lines of messages which I present below.
>      tar:   mails.tar.bz2: Cannot open: No such file or directory
>      tar:   Error is not recoverable: exiting now
>      tar;   Child returned status 2
>      tar:   Error exit delayed from previous errors
>
> I have almost certainly confused myself by attempting to enter the
> appropriate partition before performing each step.  However, when that
> failed, I tried working within a single partition -- and got the very
> same results.  On my system, these erroneous results are entirely
> predictable; they occur every time (within Jaunty Konsole) I
> enter "tar  -xvjf  mails.tar.bz2" (without the quotes, of course!).
>
>
> I am coming to the tentative conclusion that, when I first installed
> Jaunty, Dolphin did its very best to bring all of my files over to
> Jaunty from openSUSE (with the notable exception of KMail data!).
> Interestingly enough, some extensive changes in one openSUSE file --
> which were carefully saved at numerous points -- seem to have been lost
> forever, and the file reverted to its form immediately prior to Jaunty
> installation!  There is no confusion (yet!) in openSUSE's KMail, but I
> do not yet see what I am doing wrong in trying to get it into Jaunty.
>

Firstly: When you where executing the "tar cvjf mails.tar.bz2 
.kde/share/apps/kmail/mail" command where sure that you where in your home 
directory on the openSuSE partition?

Secondly: When you where executing the "tar  -xvjf  mails.tar.bz2"  command 
where sure that you where in your home directory on the Jaunty partition AND 
that the mails.tar.bz2 package was there too (ls -l mails.tar.bz2)?

>      tar:   mails.tar.bz2: Cannot open: No such file or directory
>      tar:   Error is not recoverable: exiting now
>      tar;   Child returned status 2
>      tar:   Error exit delayed from previous errors

This indicates that the file is not in the same directory as you.

-- 
Best Regards / Med venlig hilsen

  Thomas Olsen

Til uvedkommende, der læser med: Der er ingen grund til at læse min mail.
Jeg har intet at gøre med FARC, al-Jihad, al-Qaida, Hamas, Hizb al-Mujahidin 
eller ETA.
Jeg har aldrig gjort Zakat, går ikke ind for Istishad, har ikke lavet en 
bilbombe eller kernevåben og jeg ved dårligt nok, hvad Al Manar og бомба 
betyder. 
Men tak for den udviste interesse
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list