Akonadi and AddressBook/id

From KDE UserBase Wiki
Revision as of 10:43, 19 July 2010 by Bakthariq (talk | contribs) (Created page with 'Kita harus memutuskan apa yang ingin kita backup. Jika kita ingin membackup "real data" maka tergantung kepada resource yang sudah dikonfigurasi...jika Anda menggunakan server gr...')

Informasi ini diberikan oleh Tobias Koenig, pengembang software KDE-PIM.

Beberapa Definisi

Yang dimaksud dengan real data adalah data seperti yang ada dalam kontak atau peristiwa. Data ini disimpan di server groupware atau dalam file lokal. Di mana data tersebut benar-benar tersimpan tergantung kepada sumber daya/resource yang Anda gunakan. Misalnya, "Personal Contacts" menyimpan datanya di $HOME/.local/share/contacts sedangkan "VCard File" (harap jangan digunakan ) menyimpan datanya di $HOME/.kde/share/apps/kabc/std.vcf.

"Cache data" adalah copy dari data yang sesungguhnya yang disimpan di database agar mudah akses dan di-cache secara offline. Database ini juga menyimpan "meta data" yaitu data manajemen yang diperlukan oleh Akonadi agar mampu berkerja dengan baik.

"Data konfigurasi" adalah data yang melakukan konfigurasi terhadap server Akonadi dan resource individual. Data konfigurasi untuk server ada di $HOME/.config/akonadi, sedangkan data konfigurasi untuk resource biasanya disimpan di $HOME/.kde/share/config/akonadi_xyz_resourcerc# (xyz adalah nama dari resource tersebut dan # adalah contoh nomornya).

Mengatur Backup

Kita harus memutuskan apa yang ingin kita backup. Jika kita ingin membackup "real data" maka tergantung kepada resource yang sudah dikonfigurasi...jika Anda menggunakan server groupware, maka backup akan dilakukan di server tersebut. Dalam hal kontak, maka file yang akan menarik perhatian Anda adalah $HOME/.local/share/contacts.

The Akonadi tray icon offers you a backup and restore function. That backs up the "cache data" which might not include all of your data! It can be helpful if you want to clone a system 1:1, then you can copy the cached data together with the real data and the configuration, so you don't have to load the data again from the sources (e.g. groupware server).

Examining your Resources

KRunner offers you Akonadi Resource Configuration, or you can access this through the Akonadi tray icon -> Configure. You may find several resources set up. You may find one labelled

Address Book - No KDE address book plugin configured yet.

That's the old compatibility bridge (possibly created by the migrator tool). You should remove this one!

std.vcf - Ready

This is the VCard File Resource which points to $HOME/.kde/share/apps/kabc/std.vcf per default. It is not recommended that you use that one, as it doesn't share the benefit of Akonadi.

Personal Contacts - Offline

That's the preferred resource for your local contacts which points to

$HOME/.local/share/contacts

Note that this may say "Offline" when in fact you are using it. This is a display bug, and can safely be ignored.

And when more components use Akonadi?

When the rest of the components move to Akonadi, will all the data be under ~/.local/share? That should make backup easy. Well, contacts and mails are stored there now, I don't know what the plan for events/todos is, but it would make sense to store them there as well. We'll keep it in mind when discussion pops up!