Configuring Syncevolution to Sync via CalDAV/CardDAV

Open up a terminal window and enter the following replacing {hosturl}, {emailaddress}, and {password} with your own credentials:

$ syncevolution --configure --template webdav syncURL=https://{hosturl}:2080/ username={emailaddress} password={password} target-config@webdav
$ syncevolution --print-databases syncURL=https://{hosturl}:2080/ username={emailaddress} password={password}

The above command will show you the database URL’s. Since my addressbook wasn’t syncing the correct database, I then entered:

$ syncevolution --configure database={URL from above}/ @webdav addressbook
$ syncevolution --configure --template SyncEvolution_Client syncURL=local://@webdav username= password= webdav calendar addressbook todo
$ syncevolution --sync refresh-from-remote webdav

After the initial sync, you can sync with the following command:

$ syncevolution --sync two-way webdav