Skip to content

Snapshot Definition Create

caepe snapshot definition create

Create a snapshot definition

caepe snapshot definition create [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 create
      --label stringToString     Label to filter items to backup. Should be in the format KEY=VALUE (default [])
      --location string          Backup location to use. (required)
  -n, --name string              Name of the definition. (required)
      --namespace strings        Namespace to backup
      --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
  -s, --source string            Source cluster to take backup from. (required)
      --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
      --raw-output      show raw output

SEE ALSO

Auto generated by spf13/cobra on 16-Apr-2025
Back to top