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

DockNest Backs Up Your Docker Apps and Tests Whether They Can Be Restored

DockNest is a self-hosted Docker backup and recovery tool that automates backups, tests restores, and helps migrate applications between servers.

Backing up Docker containers is something most homelabbers eventually figure out, but restoring them is another matter. You might have all your volumes and configuration files safely stored somewhere, only to discover that an application refuses to start when you actually need it.

DockNest is a self-hosted backup and recovery application designed to help with that problem. It connects to your Linux servers over SSH, discovers Docker applications, and creates backups that can be restored or moved to another machine. It can also test those backups in a separate environment without disturbing your running applications.

Backups and Recovery #

DockNest supports Docker Compose projects and static nginx websites, with automatic discovery across connected servers. It can back up container images, volumes, bind mounts, and databases, including PostgreSQL, MariaDB, and Redis.

You can configure individual schedules and retention policies for each application. Backups are encrypted using AES-256-GCM and can be stored through SFTP or S3-compatible services such as MinIO and Cloudflare R2.

The restore testing is what interests me most. DockNest can restore an application into an isolated environment and check whether it starts successfully. That's considerably more useful than finding out your backups are broken after something has already gone wrong.

Key Features #

  • Automatic discovery: Find Docker Compose projects and static nginx websites on connected servers.
  • Scheduled backups: Set backup intervals and retention policies for individual applications.
  • Restore verification: Test backups in isolated environments without affecting running services.
  • Automated recovery tests: Schedule restore attempts to check application startup.
  • Visual server map: View connected servers and manage applications through a graphical interface.
  • Application migration: Move Docker services between servers while retaining a recovery option.
  • Notifications: Receive backup alerts through ntfy, Gotify, Discord, and other supported services.
  • Storage monitoring: Monitor backup usage and identify unused Docker resources.

Moving Applications Between Servers #

DockNest includes a visual interface showing connected servers and their applications. You can drag an application onto another server to begin migrating it, rather than manually copying everything over SSH.

The migration process creates a backup and restores a test copy on the destination server. Once you've confirmed things are working, DockNest waits for the necessary DNS changes before completing the move. The original installation remains stopped for seven days in case you need to roll back.

Having moved Docker applications between machines before, I know how easy it is to overlook a bind mount or forget where a database stores its files. I'd be interested in seeing how well DockNest handles more complicated Compose configurations.

Installing DockNest #

DockNest can be deployed using Docker Compose, although its initial setup requires Node.js 24. The dashboard runs on Linux, and managed servers need SSH access, Python 3.9 or newer, and permission to interact with Docker.

A prebuilt container image is available for x86-64 systems. ARM users need to build the application from source.

The dashboard requires password authentication with a second factor through an authenticator app. Connections to managed servers use SSH rather than requiring the Docker socket to be mounted directly into the dashboard container.

Things to Know #

Incremental backups and certain application management capabilities aren't fully supported yet. The developer maintains a support matrix covering tested configurations and known limitations.

You'll also want to protect the encryption key generated during installation. Losing the data/master.key file means your encrypted backups cannot be recovered.

Automated backups are useful, but I'd want to verify that the restored application works properly, including its database, before depending on it.

DockNest is available under the AGPL-3.0 license, with installation instructions and documentation on GitHub.

GitHub: https://github.com/DahanItamar/DockNest

Website: https://trydocknest.com/

Comments 0

Join the conversation.

Write a comment

No comments yet. Be the first to comment.

Leave a comment

Anonymous comments are reviewed before publication. Sign in to comment as a member.

Navigation