On Thu, Apr 14, 2011 at 6:19 PM, Patrick Ohly
<patrick.ohly@intel.com> wrote:
On Di, 2011-04-12 at 10:17 +0100, Patrick Ohly wrote:
> Such a dump is normally created automatically, so after a sync there
> should be one. It could be that the Akonadi source does not implement
> this optional behavior. I'll check the source and report back...
No, the code is there. The Akonadi source is derived from
TrackingSyncSource and thus inherits the functionality from
SyncSourceRevisions::backupData/SyncSourceRevisions::restoreData().
Dinesh, can you check whether data dumps work for you?
By Data Dumps, you mean this right?
$ ./syncevolution myovi addressbook
[INFO] todo: inactive
[INFO] memo: inactive
[INFO] calendar+todo: inactive
[INFO] calendar: inactive
[INFO] addressbook: starting normal sync, two-way
Local data changes to be applied during synchronization:
:
*** addressbook ***
after last sync | current data
removed since last sync <
> added since last sync
-------------------------------------------------------------------------------
BEGIN:VCARD BEGIN:VCARD
N:;Goofy | N:Gupta;Ankit
FN:Goofy | FN:Ankit Gupta
TEL;TYPE=CELL:+91xxxxxxxxx TEL;TYPE=CELL:+91xxxxxxxxxx
VERSION:3.0 VERSION:3.0
END:VCARD END:VCARD
-------------------------------------------------------------------------------
[INFO] addressbook: sent 1/1
[INFO] addressbook: started
[INFO] addressbook: normal sync done successfully
Synchronization successful.
Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
| | LOCAL | REMOTE | FLI |
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| addressbook | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| two-way, 0 KB sent by client, 0 KB received |
| item(s) in database backup: 199 before sync, 199 after it |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| start Thu 14 Apr 2011 06:53:14 PM IST, duration 0:09min |
| synchronization completed successfully |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Data modified locally during synchronization:
*** addressbook ***
no changes
And btw.Yes The Photo Data , along with other entries like Address and URL are being removed on the local end (Akonadi's end), while they still appear on the remote end (Ovi servers in my case) too...As in when i create a contact with all these entries locally, and sync it with Ovi, all these fields appear on Ovi's side.And when i modify the contact at Ovi's End and sync, these fields are wiped out locally. Haven't yet figured out why though. I was hoping this would come up in the nightly testing....
Cheers,
Dinesh
--
Best Regards
Patrick Ohly
Senior Software Engineer
Intel GmbH
Open Source Technology Center
Pützstr. 5 Phone: +49-228-2493652
53129 Bonn
Germany