data-protection

Use the data-protection plug-in to backup, restore, and migrate cluster data.

Installation

tanzu plugin install data-protection --target mission-control 

Usage

tanzu mission-control data-protection [command]

Commands

  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).

Usage

tanzu mission-control data-protection backup [command]

Commands

  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.

Usage

tanzu mission-control data-protection backup create [flags]

Flags

  -f, --file string   resource file from which to create a backup

backup delete

Delete a backup.

Usage

tanzu mission-control data-protection backup delete BACKUP_NAME [flags]

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.

Usage

tanzu mission-control data-protection backup get BACKUP_NAME [flags]

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.

Usage

tanzu mission-control data-protection backup list [flags]

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.

Usage

tanzu mission-control data-protection backup-location [command]

Commands

  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.

Usage

tanzu mission-control data-protection backup-location create [flags]

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.

Usage

tanzu mission-control data-protection backup-location delete BACKUP_LOCATION_NAME [flags]

backup-location get

Retrieve a backup location object.

Usage

tanzu mission-control data-protection backup-location get BACKUP_LOCATION_NAME [flags]

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.

Usage

tanzu mission-control data-protection backup-location list [flags]

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.

Usage

tanzu mission-control data-protection backup-location template [command]

Commands

  get         Get Template for backup location
  list        List Templates for backup location

backup-location template get

Get template for backup location.

Usage

tanzu mission-control data-protection backup-location template get TEMPLATE_NAME [flags]

backup-location template list

List templates for backup location.

Usage

tanzu mission-control data-protection backup-location template list [flags]

backup-location update

Update (overwrite) a backup location.

Usage

tanzu mission-control data-protection backup-location update [flags]

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.

Usage

tanzu mission-control data-protection disable [flags]

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.

Usage

  tanzu mission-control data-protection enable [flags]

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.

Usage

  tanzu mission-control data-protection restore [command]

Commands

  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.

Usage

  tanzu mission-control data-protection restore create [flags]

Flags

  -f, --file string   resource file from which to create a restore

restore delete

Delete a restore.

Usage

  tanzu mission-control data-protection restore delete RESTORE_NAME [flags]

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.

Usage

  tanzu mission-control data-protection restore get RESTORE_NAME [flags]

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.

Usage

  tanzu mission-control data-protection restore list [flags]

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.

Usage

  tanzu mission-control data-protection schedule [command]

Commands

  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.

Usage

tanzu mission-control data-protection schedule create [flags]

Flags

-f, --file string   resource file from which to create a schedule

schedule delete

Delete a schedule.

Usage

  tanzu mission-control data-protection schedule delete SCHEDULE_NAME [flags]

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.

Usage

  tanzu mission-control data-protection schedule get SCHEDULE_NAME [flags]

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.

Usage

  tanzu mission-control data-protection schedule list [flags]

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.

Usage

  tanzu mission-control data-protection snapshot-location [command]

Commands

  get         Retrieve a snapshot-location object
  list        Return a list of snapshotlocations

snapshot-location get

Retrieve a snapshot-location object.

Usage

  tanzu mission-control data-protection snapshot-location get SNAPSHOT_LOCATION_NAME [flags]

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.

Usage

  tanzu mission-control data-protection snapshot-location list [flags]

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
check-circle-line exclamation-circle-line close-line
Scroll to top icon