mirror of https://github.com/docker/docs.git
820 B
820 B
description | keywords | title | notoc |
---|---|---|---|
Back up a running cluster | documentation, docs, docker, cluster, infrastructure, automation | docker cluster backup | true |
Usage
docker cluster backup [OPTIONS] cluster
Use the following options as needed to back up a running cluster:
--dry-run
: Skips resource provisioning.--file string
: Specifies a cluster backup filename. Defaults tobackup.tar.gz
.--log-level string
: Specifies the logging level. Valid values include:trace
,debug
,info
,warn
,error
, andfatal
. Defaults towarn
.--passphrase string
: Specifies a cluster backup passphrase.
The backup command performs a full Docker Cluster backup following the steps found in Backup and Restore Best Practices.