Introduction
|
We are going to synchronize google-calendars(Personal, Work) with evolution calendars (Personal, Work) respectively.For shake of simplicity we took similar name for these calendars.
Sync Scenario
Google Calendar |
Evolution Calendar |
Source |
Database |
Peer |
Work |
Work |
workcal |
Work |
gcal |
Personal |
Personal |
personalcal |
Personal |
gcal |
One can choose any arbitrary peer name.
Setup
Synchronization between work calendars is shown here
1. Create a Peer for Google calendar (gcal)
syncevolution --configure --template Google_Calendar username=YOURUSERNAME@gmail.com password=**** target-config@gcal
Here Google_Calendar template is used. One can also use webdav template. To list the known configuration templates run following commands at command at terminal-prompt:
syncevolution --template ?
2. Create a new source for work calendar
syncevolution --configure backend=evolution-calendar database=Work @default workcal
3. Add a remote database to the source (workcal)
syncevolution --configure database=https://www.google.com:443/calendar/dav/GOOGLRCALENDARID@group.calendar.google.com/events/ backend=caldav target-config@gcal workcal
Replace GOOGLECALENDARID with your own google-calendar id for work calendar. To find the required calendar-id go to google-calendar. Hover mouse over respective calendar, click down arrow & select settings.Then copy the calendar id as shown in the following image: