Use the data-protection
plug-in to backup, restore, and migrate cluster data.
tanzu plugin install data-protection --target mission-control
tanzu mission-control data-protection [command]
backup The Kubernetes cluster state related to backup (API objects and associated volume state)
backup-location A target location for backups
disable Disable dataprotection
enable Enable data-protection
restore The application of resources from a backup to a target Kubernetes cluster
schedule A pre-scheduled or periodic Backup that should be run
snapshot-location The snapshot location assigned to a cluster
backup
The Kubernetes cluster state related to backup (API objects and associated volume state).
tanzu mission-control data-protection backup [command]
create Create a backup object
delete Delete a backup
get Retrieve a backup object
list Return a list of backups
backup create
Create a backup object.
tanzu mission-control data-protection backup create [flags]
-f, --file string resource file from which to create a backup
backup delete
Delete a backup.
tanzu mission-control data-protection backup delete BACKUP_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-p, --provisioner-name string name of the provisioner
backup get
Retrieve a backup object.
tanzu mission-control data-protection backup get BACKUP_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-o, --output string output format (yaml | json) (default "yaml")
-p, --provisioner-name string name of the provisioner
backup list
Return a list of backups.
tanzu mission-control data-protection backup list [flags]
--cluster-name string scope search to the specified cluster_name
-m, --management-cluster-name string scope search to the specified management cluster
--max-size uint number of records to return
--name string scope search to the specified name
--offset uint offset at which to start returning records
-o, --output string output format (yaml|json)
-p, --provisioner-name string scope search to the specified provisioner
backup-location
A target location for backups.
tanzu mission-control data-protection backup-location [command]
create Create a backup object
delete Delete a backuplocation
get Retrieve a backup-location object
list Return a list of backup-locations
template Backup location template
update Update (overwrite) a backuplocation
backup-location create
Create a backup location object.
tanzu mission-control data-protection backup-location create [flags]
-v, --data-values-file string data values file to use
--dry-run create the data model only, do not apply to server
-f, --file string resource file from which to create a backup location
-h, --help help for create
-t, --template string template to use (default "default")
backup-location delete
Delete a backup location.
tanzu mission-control data-protection backup-location delete BACKUP_LOCATION_NAME [flags]
backup-location get
Retrieve a backup location object.
tanzu mission-control data-protection backup-location get BACKUP_LOCATION_NAME [flags]
--cluster-name string name of the cluster to get cluster level backup location details
-m, --management-cluster-name string name of the management cluster
-o, --output string output format (yaml | json) (default "yaml")
-p, --provisioner-name string name of the provisioner
backup-location list
Return a list of backup-locations.
tanzu mission-control data-protection backup-location list [flags]
--assigned-group-name string filter backup locations by an assigned group name (org scope flag)
--cluster-name string scope search to the specified cluster (cluster scope flag)
--credential-name string filter backup locations by a credential name (org scope flag)
-m, --management-cluster-name string scope search to the specified management cluster
--max-size uint number of records to return
--name string scope search to the specified name
--offset uint offset at which to start returning records
-o, --output string output format (yaml|json)
-p, --provisioner-name string scope search to the specified provisioner
-s, --scope string select scope (cluster|org)
backup-location template
Backup location template.
tanzu mission-control data-protection backup-location template [command]
get Get Template for backup location
list List Templates for backup location
backup-location template get
Get template for backup location.
tanzu mission-control data-protection backup-location template get TEMPLATE_NAME [flags]
backup-location template list
List templates for backup location.
tanzu mission-control data-protection backup-location template list [flags]
backup-location update
Update (overwrite) a backup location.
tanzu mission-control data-protection backup-location update [flags]
-v, --data-values-file string data values file to use
--dry-run create the data model only, do not apply to server
-f, --file string resource file from which to update the backup location
-t, --template string template to use (default "default")
disable
Disable data protection.
tanzu mission-control data-protection disable [flags]
--cluster-name string name of the cluster
--delete-backups Delete all backup files associated with this cluster from the backup storage location
-m, --management-cluster-name string name of the management cluster
-p, --provisioner-name string name of the provisioner
enable
Enable data protection.
tanzu mission-control data-protection enable [flags]
-f, --file string resource file from which to create a dataprotection
restore
The application of resources from a backup to a target Kubernetes cluster.
tanzu mission-control data-protection restore [command]
create Create a restore object
delete Delete a restore
get Retrieve a restore object
list Return a list of restores
restore create
Create a restore object.
tanzu mission-control data-protection restore create [flags]
-f, --file string resource file from which to create a restore
restore delete
Delete a restore.
tanzu mission-control data-protection restore delete RESTORE_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-p, --provisioner-name string name of the provisioner
restore get
Retrieve a restore object.
tanzu mission-control data-protection restore get RESTORE_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-o, --output string output format (yaml | json) (default "yaml")
-p, --provisioner-name string name of the provisioner
restore list
Return a list of restores.
tanzu mission-control data-protection restore list [flags]
--cluster-name string scope search to the specified cluster name
-h, --help help for list
-m, --management-cluster-name string scope search to the specified management cluster
--max-size uint number of records to return
--name string scope search to the specified name
--offset uint offset at which to start returning records
-o, --output string output format (yaml|json)
-p, --provisioner-name string scope search to the specified provisioner
schedule
A pre-scheduled or periodic backup that should be run.
tanzu mission-control data-protection schedule [command]
create Create a schedule object
delete Delete a schedule
get Retrieve a schedule object
list Return a list of schedules
schedule create
Create a schedule object.
tanzu mission-control data-protection schedule create [flags]
-f, --file string resource file from which to create a schedule
schedule delete
Delete a schedule.
tanzu mission-control data-protection schedule delete SCHEDULE_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-p, --provisioner-name string name of the provisioner
schedule get
Retrieve a schedule object.
tanzu mission-control data-protection schedule get SCHEDULE_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-o, --output string output format (yaml | json) (default "yaml")
-p, --provisioner-name string name of the provisioner
schedule list
Return a list of schedules.
tanzu mission-control data-protection schedule list [flags]
--cluster-name string scope search to the specified cluster name
-m, --management-cluster-name string scope search to the specified management cluster
--max-size uint number of records to return
--name string scope search to the specified name
--offset uint offset at which to start returning records
-o, --output string output format (yaml|json)
-p, --provisioner-name string scope search to the specified provisioner
snapshot-location
The snapshot location assigned to a cluster.
tanzu mission-control data-protection snapshot-location [command]
get Retrieve a snapshot-location object
list Return a list of snapshotlocations
snapshot-location get
Retrieve a snapshot-location object.
tanzu mission-control data-protection snapshot-location get SNAPSHOT_LOCATION_NAME [flags]
--cluster-name string name of the cluster
-m, --management-cluster-name string name of the management cluster
-o, --output string output format (yaml | json) (default "yaml")
-p, --provisioner-name string name of the provisioner
snapshot-location list
Return a list of snapshot locations.
tanzu mission-control data-protection snapshot-location list [flags]
--cluster-name string scope search to the specified cluster name
-m, --management-cluster-name string scope search to the specified management cluster
--max-size uint number of records to return
--name string scope search to the specified name
--offset uint offset at which to start returning records
-o, --output string output format (yaml|json)
-p, --provisioner-name string scope search to the specified provisioner