You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, October 26th 2004, 8:10pm

backup/restore kontact

HI

I have kde-3.3 on SuSE 9.2 Pro

Through misuse by me, i need to reinstall the OS. Problem is i have all my apointments, contacts and history/emails that i just cannot lose.

Where are these kept and how can i restore them to a clean, new setup?

I have tried taring ~/.kde and restoring that in the past, but it dodn't work.

Please help

Thanks

LinuxPimp

2

Tuesday, October 26th 2004, 9:49pm

Re: backup/restore kontact

Quoted

Original von LinuxPimp


Through misuse by me, i need to reinstall the OS. Problem is i have all my apointments, contacts and history/emails that i just cannot lose.

Where are these kept and how can i restore them to a clean, new setup?

I have tried taring ~/.kde and restoring that in the past, but it dodn't work.
Most of the configuration and app data are indeed stored under ~/.kde, but emails are in a different location. Typically they're under ~/Mail, ~/mail, ~/.Mail or ~/.mail. I'm assuming here that you're downloading emails to your local machine.

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

3

Wednesday, October 27th 2004, 1:42am

Also, if you are backing up mail from any of those above directories which have been placed there by kmail you might have some trouble copying them.

When i last tried it, KMail puts funny characters in the filename, such as colons and semi-colons, and didn't allow me to copy the files properly.

I had to batch rename them...

4

Wednesday, October 27th 2004, 6:36pm

Thanks!

Ok, i tarred both ~/Mail and .kde and opened the tarball on the new machine post installation.

Contacts, Calender, Emails, kde settings were all there.

Thanks again

LinuxPimp

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

5

Wednesday, October 27th 2004, 9:59pm

Quoted

Original von seb

I had to batch rename them...

You like the hard way :D.
Now you know that you can make a .tar with them and avoid those problems.

6

Wednesday, December 8th 2004, 12:54am

With regards to backup and restore of address book does anyone know the exact file that contains the address book? I've looked in ~/.kde but can not locate the exact file to backup. Thanks.

7

Wednesday, December 8th 2004, 3:52am

Quoted

Original von brucehohl

With regards to backup and restore of address book does anyone know the exact file that contains the address book? I've looked in ~/.kde but can not locate the exact file to backup. Thanks.
Check ~/.kde/share/apps/kabc/std.vcf

8

Wednesday, December 8th 2004, 5:36am

Quoted

Original von seb

Also, if you are backing up mail from any of those above directories which have been placed there by kmail you might have some trouble copying them.

When i last tried it, KMail puts funny characters in the filename, such as colons and semi-colons, and didn't allow me to copy the files properly.

I had to batch rename them...


I always edit kmailrc on the tab [General]
Folders=/placeto/store/mails

And found a little script to make a backup and edit this a bit

#!/bin/bash

echo "Backup script voor mail"
# Create a compressed backup of your home directory in a file named
# backup.tar.gz or backup.tar.bz2 depending on the compression scheme used.

DATE=`date +%d%m%Y`
BACKUP_DIRS=/media/backup/mail
BACKUP_FILE=/home/yourhome/.kde/share/config/kmailrc

# We do a BZipped backup here...
tar cvjf /media/backup/mailbackup/mail.tar.bz2$DATE $BACKUP_DIRS
tar cvjf /media/backup/mailbackup/kmailrc.tar.bz2$DATE $BACKUP_FILE

echo "backup file OK"

9

Thursday, December 9th 2004, 1:15am

> Check ~/.kde/share/apps/kabc/std.vcf

Thanks for this 8).