This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to backup my emails? (KMail)

Tags: None
(comma "," separated)
dmendizabal
Registered Member
Posts
2
Karma
0

How to backup my emails? (KMail)

Wed Aug 26, 2009 11:56 am
I'm trying to copy my emails from the directory ../.kde/share/.../inbox
but for some reason the operation only copy some of them into my external HD.

I'm using "cp" in the shell. Does somebody can tell me, what could be the problem?
User avatar
annew
Manager
Posts
1155
Karma
11
OS
That does seem strange. Assuming that there are no permission problems they should have copied ok. I don't suppose you can see any pattern to which copied and which didn't?

Have you tried taking them in batches?


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
I would recommend to create an archive, e.g. a tar.gz.

This will include hidden files/folders an be recursive.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
annew
Manager
Posts
1155
Karma
11
OS
anda_skoa wrote:I would recommend to create an archive, e.g. a tar.gz.

This will include hidden files/folders an be recursive.

Cheers,
_


as well as preserving permissions :-)


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
john_hudson
Registered Member
Posts
549
Karma
2
OS
I back up my emails every week simply by backing up /home and selecting Add Hidden Files in K3b.


John Hudson, proud to be a member of KDE forums since 2008-Oct.
User avatar
undoIT
Registered Member
Posts
75
Karma
1
OS
I'm trying to restore a backup of my mother's kmail account Kubuntu Karmic to the new kmail in Kubuntu Lucid. I copied everything over from the ~/.kde/share/apps/kmail folder. However, when I open the new kmail, none of the accounts are listed and the emails are not present. Is there a definitive way to backup and restore kmail? She is using kmail within kontact, if that makes a difference.


Image GNU/Linux user since 2007 | Keyboard Shortcuts | Coupon Code Swap
User avatar
annew
Manager
Posts
1155
Karma
11
OS
It doesn't. http://userbase.kde.org/KMail/FAQs_Hint ... machine.29 will tell you exactly what you need to backup :-)


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
undoIT
Registered Member
Posts
75
Karma
1
OS
Perfect! These four were the missing pieces:

# ~/.kde/share/config/kmailrc,
# ~/.kde/share/config/mailtransports, (since KDE 4.0)
# ~/.kde/share/config/emaildefaults and
# ~/.kde/share/config/emailidentities


Thank you much :)
jglen490
Registered Member
Posts
77
Karma
1
OS
rsync is also a good tool. I routinely rsync my entire /home. After the first, LOOOOOONG backup, rsync examines and backs up changes. Obviously, not the only solution, but it does work well.


I feel more like I do now than I did when I got here.
Proudly wearing a negative Karma.
Kubuntu 12.04 .2, Dell Dimension 3000
User avatar
undoIT
Registered Member
Posts
75
Karma
1
OS
jglen490 wrote:rsync is also a good tool. I routinely rsync my entire /home. After the first, LOOOOOONG backup, rsync examines and backs up changes. Obviously, not the only solution, but it does work well.


Yeah, gotta love rsync. I recently wrote a tutorial on how to set up automatic backups to a network hard drive using rsync:

http://ubuntuforums.org/showthread.php?t=1471854

I just couldn't figure out how to restore kmail from the back up that was created because of those config files that are outside of the kmail folder.
jglen490
Registered Member
Posts
77
Karma
1
OS
Nice tutorial! I don't get that deep with mine, just want to be sure that my /home is saved to an external drive effectively and efficiently. Don't even use a script, just copy and paste the CL entry from a text file.

But, I would think that it would be possible (under narrow conditions) to selectively copy a file from the external drive back to a specified location. Maybe not good script material, but certainly possible at the CL.

Nonetheless, I'll be studying your tutorial more so I can script the backup. Thanks.


I feel more like I do now than I did when I got here.
Proudly wearing a negative Karma.
Kubuntu 12.04 .2, Dell Dimension 3000
User avatar
undoIT
Registered Member
Posts
75
Karma
1
OS
You can also use luckybackup. It is a nice frontend for rsync.


Image GNU/Linux user since 2007 | Keyboard Shortcuts | Coupon Code Swap
jglen490
Registered Member
Posts
77
Karma
1
OS
Thanks, again. Didn't know about that one, I'll do some looking.


I feel more like I do now than I did when I got here.
Proudly wearing a negative Karma.
Kubuntu 12.04 .2, Dell Dimension 3000
dmendizabal
Registered Member
Posts
2
Karma
0
Finally there is a great front-end for rsync based on Qt.
Look at http://www.darhon.com/syncbackup
sofiajons
Registered Member
Posts
1
Karma
0

Re: How to backup my emails? (KMail)

Sat Oct 20, 2018 11:50 am
Import Gmail to PST file format with the help of the safe and secure Email Backup Software. This software is capable to create the complete backup from Gmail account to outlook PST format. This software is completely free from any type of risk. It allows users to import Gmail emails to PST without losing a bit if information. You can install this software on any Windows platform.Visit:- http://www.osttopstapp.com/gmail-backup.html


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]