Use vDirSyncer (dockerized) to copy events between calendars. Filter and modify events, ping to healthchecks.io
-
Copy events from (one or more) Source calendar (ical-Feed, i.e. Google calendar) to Destination Calendar (vCal, i.e. mailbox.org)
-
Filter events, i.e. copy only events starting from last week (this also respects ongoing recurring events)
-
Modify events depending on Source calendar, i.e. extend start/end time (so your availibility in Destination calendar will also reflect wour way to/from work)
-
Removes Organizator and Attendees from events (so mailbox.org will not send bogus declinement mails)
-
After every sync job finished, its result and log can be sent to a healthchecks.io instance for monitoring
-
Use provided
docker-compose.yml, but comment outentrypoint:line -
Execute Bash in the running container, and copy all files from
/vdirsyncerin this repo, to/vdirsyncerin the container. -
Edit
configfile and set your individual paths, URLs, Credentials.
You can even add more Source calendars if you want to. -
Create all paths you have set in filesystem-storage definitions
-
Make all scripts executable:
chmod +x *.sh *.py -
Remove
#fromentrypoint:line to activate it, and restart deployment -
Initialize Sync via
vdirsyncer discover -
Start first sync manually via
vdirsyncer metasync && vdirsyncer sync. This will fetch all Events from Source calender, store them in the container's filesystem, process all (new/modified) Events viaposthook-Script and stores resulting (filtered/modified) Events inupstreamdir. At this moment, we have not yet tried to upload them to the Destination calendar!
If errors occured, the IDs are listed in/vdirsyncer/posthook.errfile. -
Start a second manual sync via
vdirsyncer sync. Now, all events fromupstreamdir should be uploaded to Destination calendar. -
If everything went fine, enable autosync by
rm /vdirsyncer/disablecron