FOSSFEEDWhere activity matters more than stars. Discover Fire Pit Noted Submit a project

Fire Pit

The FossFeed community for self-hosting and open source.

Sign in to post
Resourcesitamar_dahan 2026-12-05 · Edited

DockNest – self-hosted Docker backups that actually test the restore (AGPL, v3.0.9)

DockNest backs up your Docker apps to storage you own, then restores them on a test server to prove the backup actually works.

I'm the developer. It came from a problem I kept hitting: my backups ran, but I had no idea whether they would actually restore.

How it works

DockNest runs on one host and connects to your Linux servers over SSH. It never uses the Docker socket. It finds the Docker Compose projects, plain docker run containers and static nginx sites on each server, then backs up each app on its own schedule to storage you own:

  • Storage: SFTP (append-only accounts supported), S3-compatible (Backblaze B2, Cloudflare R2, Wasabi, MinIO, Amazon S3, with optional Object Lock), Google Drive, OneDrive, Dropbox, WebDAV, SMB or a local folder. You can keep up to 3 extra copies on other storage.
  • What's captured: images, volumes, bind mounts and writable layers. Databases are dumped properly: PostgreSQL, MySQL/MariaDB, Redis/Valkey and MongoDB, with optional online dumps so the app keeps running. SQLite files are checked too.
  • Encryption: AES-256-GCM before anything leaves the host.
  • Full or incremental, with hourly, daily, weekly, monthly or cron schedules and per-app retention.

The part I care about most: restores

  • Automatic restore tests: on a schedule, DockNest restores the latest backup onto a test server, starts it in isolation, checks that it works, measures the recovery time and removes it.
  • Restores never overwrite your live app. They go to a separate copy.
  • Keys safe: it checks that the encryption keys your apps depend on (Laravel APP_KEY, n8n, Vaultwarden, Nextcloud, Paperless-ngx, authentik and others) are inside the backup, without ever reading them.
  • Recovery kit + Recovery Guide (PDF): you can bring everything back on a new server even if DockNest itself is gone.

Other things it does

  • Map view: drag an app to another server to move it. DockNest backs it up, tests a copy on the new server and waits for your DNS change. The old copy is kept for 7 days.
  • Safe Edit: change Compose, env values, ports or image tags. A backup is taken first and the change is rolled back if the app doesn't come up.
  • Alerts: Telegram, email, Discord, Slack, ntfy, Gotify, Matrix, Pushover, webhooks and more.
  • Hardening grade (A–F) per app, domain/certificate checks, backup coverage ("what isn't backed up yet?"), and server cleanup.
  • Works with Podman / rootless Docker, TrueNAS SCALE (Unraid and Synology in early access), and finds Portainer/Dockge stacks.
  • Password + 2FA for every user, and pinned SSH host keys.

Install

You need a Linux host with Docker + Compose (and Node.js 24 for the one-time setup):

git clone https://github.com/DahanItamar/DockNest.git
cd DockNest
npm ci
npm run setup
# set APP_DOMAIN / APP_ORIGIN / SECURE_COOKIES=true in .env
docker compose --profile https up -d --build

Caddy handles HTTPS, or you can use your own reverse proxy. There's also a signed linux/amd64 image at ghcr.io/dahanitamar/docknest, and updates come through a built-in Update Center.

Latest: v3.0.9 (today). A locked app no longer holds up backups of the other apps on its server, and errors in setup and SFTP storage now name the actual cause.

  • GitHub: https://github.com/DahanItamar/DockNest
  • Website: https://trydocknest.com
  • License: AGPL-3.0

It's actively developed and a lot of features came from user issues, so feedback, bug reports and "it broke on my setup" stories are all welcome. What does your current Docker backup setup look like, and have you ever actually tested a restore? 🔥

https://raw.githubusercontent.com/DahanItamar/DockNest/main/docs/media/map.pngMember shared image

Comments 0

Sign in or register to join the discussion.

No comments yet.

Navigation