Tasks and calendar are the data most people hand to Google or Apple. They can live on your own server instead: one small service, thirty megabytes of memory, replaces the cloud, while the phone and the laptop keep syncing exactly as before.

That service is Radicale — a CalDAV/CardDAV server written in Python. Here is the honest fifteen-minute setup on a VPS.

Why run your own

The reasons repeat: no subscription, the calendar is not someone else's dataset, and the data survives a new phone.

CalDAV is an open protocol. iPhone, Android (through Tasks.org or DAVx5), Thunderbird and even Windows understand it. The client stays whatever you like, the data stays with you.

What you need

  • a VPS with Docker, or a home server;
  • a domain and a subdomain such as cal.example.com;
  • Caddy or nginx for HTTPS;
  • half an hour.
Caddy and docker-compose configuration for Radicale
Caddy holds the certificate, Radicale listens locally only. Author's screenshot.

Install

Radicale runs in a container with one command. The port is never published: from outside, only the reverse proxy talks to it.

Next, create a user. Radicale stores logins as bcrypt hashes; generate the hash and write a login:hash line.

What you get

After the start, cal.example.com shows a simple panel with the collections: “Personal” for events and “Tasks” for to-dos.

Every collection is a plain folder on disk. A backup is a copy of that folder — nothing more.

Connecting the phone

On Android install Tasks.org or DAVx5 and add a CalDAV account: server address, login, password. On iPhone — Settings → Calendar → Accounts → Other → CalDAV.

Sync follows the client's schedule. There is no real-time push like Google's, but opening the app refreshes everything in a second.

Reminders

A task can carry alarms: a day before, three hours before, an hour before. The server stores them, the client shows them — the phone vibrates or rings.

Backups

The whole database is a directory of .ics files. Copy it to another disk once a day and check that the archive opens.

Checking matters more than copying: an archive nobody ever unpacked is not a backup, it is hope.

What comes next

The same server stores contacts (CardDAV). Add a few users and you get a family or team calendar with shared collections.

In short

  • Radicale is a calendar and task server on your own hardware.
  • Clients: iPhone, Android, Thunderbird, Windows.
  • Only HTTPS through a proxy faces the internet.
  • A backup is a folder copy.