Skip to content

Snapshot Definition Update

caepe snapshot definition update

Create a snapshot definition

caepe snapshot definition update [flags]

Options

      --default-cluster string   Default cluster to restore to
      --delete-instance          Delete the backup instance in the cluster once restored
  -h, --help                     help for update
  -i, --identifier string        ID of the definition to update. (required)
      --label stringToString     Label to filter items to backup. Should be in the format KEY=VALUE (default [])
      --location string          Backup location to use. (required)
      --name string              Name of the definition
      --namespace strings        Namespace to backup
      --payload-json string      String representing JSON payload
      --pvc stringToString       PVCs to backup up. Format is NAMESPACE=PVC-NAME (default [])
      --remove-instance          Delete the snapshot instance from the CAEPE cluser once restored
      --resource strings         Resource to backup
      --source string            Source cluster to take backup from
      --testrun string           Test run to execute post restoration

Options inherited from parent commands

      --config string         config file path (default /$HOME/.caepe/config)
      --debug                 output debug logs
      --dry-run               do not send the request to server
      --hostname string       hostname of caepe. (required)
      --organization string   organization to interact with. (required)
      --raw-output            show raw output
      --scheme string         Choose from: [https http] (default "https")
      --skip-tls              ignore tls certificate verification

SEE ALSO

Auto generated by spf13/cobra on 31-Mar-2023
Back to top