docker-volume-backup

docker-volume-backup

Backup and rotate Docker volumes to local storage or remote backends

3.3kstars
122forks
Last commit: 1d ago
Repo age: 5y old
docker-volume-backup screenshot

docker-volume-backup is a lightweight companion container for backing up Docker volumes. It supports both recurring and one-off backups, can store archives locally and/or on remote storage backends, and can rotate old backups automatically.

Key Features

  • Scheduled or on-demand backups of one or more Docker volumes
  • Multiple targets: local archive plus optional remote backends (S3-compatible, WebDAV, SSH, and others)
  • Configurable rotation/pruning of old backups for supported backends
  • Optional container stop/restart during backup for improved consistency
  • Optional GPG encryption for backup archives
  • Notifications for successful or failed backup runs
  • Works with Docker Compose and supports Docker Swarm mode

Use Cases

  • Automated backups for stateful Docker services (databases, app data, configuration)
  • Shipping volume backups to an S3-compatible object store for offsite retention
  • Simple backup companion service for homelabs and small production stacks

Limitations and Considerations

  • Developed and tested primarily against Docker CE; other engines may work but are not guaranteed

It is designed to be small, easy to integrate into existing Docker stacks, and flexible in where backups are stored. For teams and individuals running stateful containers, it provides a pragmatic approach to volume backups without needing a full backup platform.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

rclone

rclone

Command-line sync and management tool for cloud and remote storage

55k
4.8k
Last commit: 2d ago

rclone is a CLI tool to sync, copy, mount, and serve files across cloud storage providers and standard protocols like S3, WebDAV, FTP, and SFTP.

Alternative to:
GoodSync
GoodSync
+8
restic

restic

Fast, secure, deduplicating backup tool for files and directories

31.8k
1.7k
Last commit: 1mo ago

Restic is a fast, efficient backup program with encryption, deduplication, snapshots, and multiple storage backends including local, SFTP, REST, and S3-compatible stores.

Alternative to:
Arq Backup
Arq Backup
+15
Duplicati

Duplicati

Encrypted, incremental backups to cloud and remote storage

14.1k
1k
Last commit: 1d ago

Open-source backup client for encrypted, compressed, incremental backups to cloud storage and remote servers via SFTP, WebDAV, and more.

Alternative to:
Duplicacy (Commercial)
Duplicacy (Commercial)
+15
BorgBackup

BorgBackup

Deduplicating backup tool with encryption and compression.

12.9k
811
Last commit: 3d ago

BorgBackup is a deduplicating backup program with authenticated encryption and compression for Unix-like systems.

Alternative to:
BorgBase
BorgBase
+14
Kopia

Kopia

Cross-platform snapshot-based backup tool with encryption and deduplication

12.3k
594
Last commit: 11d ago

Cross-platform backup and restore tool with snapshot-based incremental backups, client-side end-to-end encryption, compression, and deduplication via CLI and GUI.

Alternative to:
Duplicacy (Commercial)
Duplicacy (Commercial)
+15
Duplicacy

Duplicacy

Lock-free deduplicating backup tool with cloud and SFTP storage support

5.6k
349
Last commit: 8mo ago

Cross-platform backup tool with lock-free deduplication, encryption, snapshots, and pruning, supporting local disk, SFTP, and many cloud storage backends.

Alternative to:
Duplicacy (Commercial)
Duplicacy (Commercial)
+15