Skip to main content

restore

Restore full snapshots for disaster recovery, or do a partial restore of the application only or the Replicated Admin Console only.

Usage

kubectl kots restore --from-backup [flags]

This command supports the following flags:

FlagTypeDescription
--exclude-admin-consoleboolExclude restoring the Admin Console and only restore the applications. Default: false
--exclude-appsboolExclude restoring the applications and only restore the Admin Console. Default: false
--from-backupstring(Required) The name of the backup to restore from.
-h, --helpHelp for restore.
-o, --outputstringThe output format. Supports JSON. Defaults to plain text if not set.
--velero-namespacestring(Required for minimal RBAC installations) The namespace where Velero is installed.
--wait-for-appsboolWait for all applications to be restored. Default: true

Example

kubectl kots restore --from-backup instance-942kf