[SyncEvolution] Syncing with webdav in a different evolution database

Patrick Ohly patrick.ohly at intel.com
Fri Feb 28 20:41:29 UTC 2014


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