Results 1 to 6 of 6

Thread: Backing up KAdressBook Contacts

  1. #1

    Question Backing up KAdressBook Contacts

    Hello there.

    First of all, I use opensuse 12.1 and kde 4.8.2.

    I have a doubt that I guess a lot of us had had before, but I haven't found a satisfactory solution .

    I'd like to backup my contacts from KAdressBook. I have found that contacts data might be at:

    1) $HOME/.local/share/contacts

    or

    2) $HOME/.kde/share/apps/kabc/std.vcf

    I've tried to find any data on these paths, but in (1) contacts directory doesn't exist and in (2) I found seven files: std.vcf_1, std.vcf_2 ... std.vcf_7 files and lock directory. Both std.vcf_* files and lock directory are empty. Anyway, I tried to copy kabc directory to other kde installation, but didn't work and couldn't recover my contacts.

    I hope you culd help me, or give me a solution (ex. a backup software that "knows" where important data is found).

    Thanks in advance!

  2. #2
    Join Date
    Jun 2008
    Location
    Moses Lake, WA. USA
    Posts
    474

    Default Re: Backing up KAdressBook Contacts

    gabe1986 wrote:

    >
    > Hello there.
    >
    > First of all, I use opensuse 12.1 and kde 4.8.2.
    >
    > I have a doubt that I guess a lot of us had had before, but I haven't
    > found a satisfactory solution .
    >
    > I'd like to backup my contacts from KAdressBook. I have found that
    > contacts data might be at:
    >
    > 1) $HOME/.local/share/contacts
    >
    > or
    >
    > 2) $HOME/.kde/share/apps/kabc/std.vcf
    >
    > I've tried to find any data on these paths, but in (1) contacts
    > directory doesn't exist and in (2) I found seven files: std.vcf_1,
    > std.vcf_2 ... std.vcf_7 files and lock directory. Both std.vcf_*
    > files
    > and lock directory are empty. Anyway, I tried to copy kabc directory
    > to other kde installation, but didn't work and couldn't recover my
    > contacts.
    >
    > I hope you culd help me, or give me a solution (ex. a backup software
    > that "knows" where important data is found).
    >
    > Thanks in advance!
    >
    >

    The way I've been doing it is:
    1. Go into Contacts under Kontact
    2. Select File --> Export --> (Chose method you want) I use CSV
    3. Then Select the addressbook to save (Personal Addressbook)
    and tell it where to save it.
    This gives me a csv with all my contacts. I can then open it with
    LibreOffice Calc (or other spreadsheet.

    To restore the address boot
    1. go into Contact
    2 File --> Import --> type file (CSV)
    3. Tell it where file was saved. After import your contacts
    should all be there.
    Only problems I have ran into it does not save the Groups I created
    (Distribution Lists), I have to rebuild them.

    I back up my home directory to an external disk. This back will back up
    the csv I created.

    Hope this gives you some ideas.
    --

    Russ
    openSUSE 12.1(3.1.10-1.9-desktop x86_64)|KDE Platform Version
    4.8.2 (4.8.2 "release 494"|Intel core2duo 2.5 MHZ,|8GB
    DDR3|GeForce 8400GS(NVIDIA-Linux-x86_64-295.40)


  3. #3
    Join Date
    Dec 2010
    Location
    Amerika
    Posts
    126

    Default Re: Backing up KAdressBook Contacts

    Quote Originally Posted by gabe1986 View Post
    Hello there.

    First of all, I use opensuse 12.1 and kde 4.8.2.

    I have a doubt that I guess a lot of us had had before, but I haven't found a satisfactory solution .

    I'd like to backup my contacts from KAdressBook. I have found that contacts data might be at:

    1) $HOME/.local/share/contacts

    or

    2) $HOME/.kde/share/apps/kabc/std.vcf

    I've tried to find any data on these paths, but in (1) contacts directory doesn't exist and in (2) I found seven files: std.vcf_1, std.vcf_2 ... std.vcf_7 files and lock directory. Both std.vcf_* files and lock directory are empty. Anyway, I tried to copy kabc directory to other kde installation, but didn't work and couldn't recover my contacts.

    I hope you culd help me, or give me a solution (ex. a backup software that "knows" where important data is found).

    Thanks in advance!
    In "Contacts" go to File/Export and you can export the contacts to a number of different file formats, such as CSV, LDIF, etc.
    --
    openSUSE 13.1, Arch Linux,
    Windows 8.1 Pro, all x86_64
    ---------------------------------------------------------
    Registered Linux user #436067

  4. #4

    Default Re: Backing up KAdressBook Contacts

    I know it might sound foolish, I was looking for the exact place where contacts are saved. I supposed it's a very hidden place. So I'll follow your recomendations, for now is the quicklest way to do it.

    Thanks!!

  5. #5
    Viljo Mustonen NNTP User

    Default Re: Backing up KAdressBook Contacts

    gabe1986 wrote:

    >
    > I know it might sound foolish, I was looking for the exact place where
    > contacts are saved. I supposed it's a very hidden place. So I'll follow
    > your recomendations, for now is the quicklest way to do it.
    >


    /home/user/.local/share/contacts/ or
    /home/user/.kde4/share/apps/kabc/std.vcf

    depenting addressbook type.

    --
    Viljo


  6. #6

    Default Re: Backing up KAdressBook Contacts

    Thanks very much!, I was playing for a while, and I discovered that depends on the adressbook type :-)

    So this solved my question!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •