Skip to main content

restore

The kots restore restores a full snapshot for disaster recovery.

Usage

kubectl kots restore [flags]
  • Provide [flags] according to the table below
FlagTypeDescription
--exclude-admin-consoleboolexclude restoring the admin console and only restore the application(s) (defaults to false)
--exclude-appsboolexclude restoring the application(s) and only restore the admin console (defaults to false)
--from-backupstringthe name of the backup to restore from (required)
-h, --helphelp for restore
-o, --outputstringoutput format (currently supported: json) (defaults to plain text if not set)
--velero-namespacestringthe namespace in which Velero is installed (only required for minimal RBAC installations)
--wait-for-appsboolwait for all applications to be restored (defaults to true)

Example

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