Crates.io | dockerbackup |
lib.rs | dockerbackup |
version | 2.1.0 |
source | src |
created_at | 2024-03-03 11:15:11.460688 |
updated_at | 2024-09-10 21:12:44.619993 |
description | This is a simple Docker backup tool. It allows you to automatically stop running containers and backup Docker volumes to local or remote destination. |
homepage | https://github.com/radek00/dockerbackup |
repository | https://github.com/radek00/dockerbackup |
max_upload_size | |
id | 1160537 |
size | 74,744 |
This is a CLI tool for backing up Docker volumes.
Binary can be obtained by running:
cargo install dockerbackup
or by downloading one from the available releases.
Usage: dockerbackup [OPTIONS] --destination <dest_path>...
Options:
-d, --destination <dest_path>...
Backup destination path. This argument can be used multiple times and each path must be in the following format: [/backup or user@host:/backup, windows]. Target os must be specified with ssh paths.
--volumes <volume_path>
Path to docker volumes directory [default: /var/lib/docker/volumes]
--exclude-containers <excluded_containers>...
Containers to exclude from backup
--exclude-volumes <excluded_volumes>...
Volumes to exclude from backup
-g, --gotify <gotify_url>
Gotify server url for notifications
--discord <discord_url>
Discord webhook url for notifications
-h, --help
Print help
-V, --version
Print version