Skip to main content

backup

Create a full instance snapshot for disaster recovery.

Usage

kubectl kots backup [flags]

This command supports the following flags:

FlagTypeDescription
-h, --helpHelp for backup.
-n, --namespacestringThe namespace where the admin console is running. Default: default
-o, --outputstringThe output format. Supports JSON. Defaults to plain text if not set.
--wait.boolWait for the backup to finish. Default: true

Example

kubectl kots backup --namespace kots-sentry