Caddy backup and restore checklist

How to back up and restore a Caddy reverse proxy in Docker, as a printable checklist: what to keep (the Caddyfile and the /data folder with your certificates), the restore steps, the DNS, port and rate-limit gotchas, and how to check it worked.

Written for Caddy 2.11.9, checked against the official docs on 2026-11-10. Always restore the same version you backed up.

Open this in Lab Lifeboat Quarterly restore-drill reminder (.ics)

Lab Lifeboat fills in your own paths, hosts and backup locations, adds your other apps in restore order, and works offline. Free, no account, nothing leaves your browser. Example paths below (under /opt and /mnt) are placeholders: use yours. Print this page with your browser’s Print command.

What to back up

Restore

  1. Point each domain's A/AAAA records at the new host's public IP. Automatic HTTPS needs them in place.
  2. Open TCP 80 and 443 to the host (and UDP 443 if you use HTTP/3).
  3. Copy the Caddyfile and compose file back to /opt/caddy, and the data and config folders to their paths.
    cd /opt/caddy
    docker compose up -d
    docker exec caddy caddy validate --config /etc/caddy/Caddyfile
    docker logs caddy
  4. After any Caddyfile edit, reload: docker exec caddy caddy reload --config /etc/caddy/Caddyfile

Gotchas

Check the restore worked

Where Caddy fits in a full homelab restore

Restore the hypervisor first, then the password manager (it holds the other secrets), then the reverse proxy, then the apps:

  1. Proxmox VE
  2. Vaultwarden
  3. Caddy (this page)
  4. Home Assistant
  5. Nextcloud AIO
  6. Immich
  7. Paperless-ngx
  8. Jellyfin

FAQ

What do I need to back up for Caddy?

Your Caddyfile, your docker-compose.yml, and the folder mounted at /data, which holds the certificates and ACME account. The /config folder is useful but not critical.

What happens if I lose Caddy's data folder?

Caddy requests new certificates on the next start. That is fine once, but repeating it can hit certificate authority rate limits.

Why does Caddy not get a certificate after a restore?

Usually DNS still points at the old IP, or ports 80 and 443 are not open to the new host. Fix those, then check docker logs caddy.

Related guides

Sources

Part of Lab Lifeboat, the free offline homelab disaster recovery planner from HomelabWise. How we research