This multi part guide will show the steps I took to switch from my Google/Microsoft dependency to my own tools.
What you need:
A CalDAV and CardDAV Server (I will use Nextcloud for this guide as it also is later handy for switching file management but other servers would work too).
I will start by showing the basic steps. Further below you will find more details.
- Export Calendar and Contacts from Google/Microsoft
- Import Calendar and Contacts into Nextcloud
- Setting up Sync on Android
- Setting up Sync with Evolution/Outlook
1. Export Calendar and Contacts from Google/Microsoft
For Google: Go to your calendar, hover over the calendar you want to export and click the three dots – “Settings and sharing” – “Export calendar”.
For Microsoft: Go to your calendar, click on the settings button – “View all Outlook Settings” – “Shared calendars” – In section “Publish calendar” select the calendar you want to export, select “can view details” and press publish – click ICS link and hit download
For Google: Select a contact by clicking on its picture – click on three dots in the title bar and click on “Export” – Select the right contacts in Drop Down – Select Export as: “vCard” and press “Export”
For Microsoft: Click on Manage – “Export contacts” – select contacts to export and press “Export” button
2. Import Calendar and Contacts into Nextcloud
The calendar and contacts plugins have to be enabled in Nextcloud (can be done in Apps section).
Go to calendar page – Settings and Import (in left bottom corner) – Click “Import Calendar” and select file
Go to contacts page – Settings (in left bottom corner) – Type an address book name – Click “Import to” and select file.
3. Setting up Sync on Android
You will need the app DAVx⁵ to synchronize your calendar and I can recommend to use the app “Simple Calendar” but the Google Calendar works too.
Open DAVx⁵ press on the plus – “Login with URL and user name” – enter credentials:
- Base-URL: yourdomain.com/remote.php/dav
- User Name: your user name
- Password: <app specific password*>
*Creating app specific password: Go to settings – Security
4. Setting up Sync with Evolution
Edit – Accounts – Add – Collection Account – enter user name and web address and click next – enter password
For people using Outlook: you’ll need the add-in “Outlook CalDav Synchronizer“