restore
The kots restore
restores a full snapshot for disaster recovery.
Usage
kubectl kots restore [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
---|---|---|
--exclude-admin-console | bool | exclude restoring the admin console and only restore the application(s) (defaults to false) |
--exclude-apps | bool | exclude restoring the application(s) and only restore the admin console (defaults to false) |
--from-backup | string | the name of the backup to restore from (required) |
-h, --help | help for restore | |
-o, --output | string | output format (currently supported: json) (defaults to plain text if not set) |
--velero-namespace | string | the namespace in which Velero is installed (only required for minimal RBAC installations) |
--wait-for-apps | bool | wait for all applications to be restored (defaults to true) |
Example
kubectl kots restore --from-backup instance-942kf