[SyncEvolution] Syncing with webdav in a different evolution database

Renato Filho renato.filho at canonical.com
Fri Feb 28 21:30:47 UTC 2014


Hi Patrick,

Thanks again for the help. This works as expected.

Thanks
Renato


On Fri, Feb 28, 2014 at 5:41 PM, Patrick Ohly <patrick.ohly at intel.com> wrote:
> On Fri, 2014-02-28 at 15:20 -0300, Renato Filho wrote:
>> This works fine but stores the contacts on default database in evolution.
>> I want to change that to store each account in a different database, I
>> tried several configurations changes but does not works.
>
> You need to create a new local source with its own "database" property
> and use that instead if the default "addressbook" source (which is the
> same for all peers).
>
> Something like this:
>
> // remove unecessary sources
> delete config["source/addressbook"]
> delete config["source/calendar"]
> delete config["source/todo"]
> delete config["source/memo"]
>
> // Use a specific EDS database locally and "addressbook" remotely.
> config["source/onlineaccount-1"] = {}
> config["source/onlineaccount-1"]["backend"] = "evolution-contacts"
> config["source/onlineaccount-1"]["database"] = ... // unique-id
> config["source/onlineaccount-1"]["uri"] = "addressbook"
> config["source/onlineaccount-1"]["sync"] = "two-way"
>
> session.saveConfig("onlineaccount-1", config)
>
>



More information about the SyncEvolution mailing list