opencenter cluster backup create
Create a backup of cluster configuration
Synopsis
Create a backup of cluster configuration and related files.
The backup includes:
-
Cluster configuration YAML
-
SOPS Age encryption keys
-
SSH keys
-
GitOps repository state
-
Terraform state files
Backups are compressed with gzip and can be encrypted with a passphrase.
If no cluster name is provided, uses the currently active cluster.
opencenter cluster backup create [cluster] [flags]
Examples
# Create a backup of active cluster
opencenter cluster backup create
# Create a backup of specific cluster
opencenter cluster backup create my-cluster
# Create an encrypted backup (will prompt for passphrase)
opencenter cluster backup create my-cluster --encrypt
# Create an encrypted backup with passphrase
opencenter cluster backup create my-cluster --passphrase="secret123"