supertubes cluster backup create 🔗︎

Creates VolumeSnapshot based backup to a Kafka cluster.

Synopsis 🔗︎

Creates VolumeSnapshot based backup to a Kafka cluster.

supertubes cluster backup create [flags]

Examples 🔗︎


# Adds hourly recurring backup to the specified Kafka cluster
$ supertubes cluster backup create -n my-namespace --kafka-cluster my-cluster --snapshot-class myclass --backup-name foo --schedule  0 * * * * -c <path-to-kubeconfig-file>

# Adds backup using a config from file.
$ supertubes cluster backup create -n my-namespace --kafka-cluster my-cluster --backup-config-file <path-to-backup-config-file> --backup-name foo -c <path-to-kubeconfig-file>


Options 🔗︎

  -f, --backup-config-file string       The file containing the backup config
      --backup-name string              The name of the created backup
  -h, --help                            help for create
      --kafka-cluster string            Name of the Kafka cluster to add backup to. (default "kafka")
  -n, --namespace string                Namespace the Kafka cluster belongs to. (default "kafka")
      --retention-time string           The amount of time until the taken backups will remain available for restore.
      --schedule string                 The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
      --snapshot-class string           The name of the VolumeSnapshot class to be used for creating snapshots of the persistent volumes of the Kafka cluster
      --starting-deadline-seconds int   Deadline in seconds for starting the job if it missed scheduled time for any reason..

Options inherited from parent commands 🔗︎

      --accept-license                  Accept the license: https://banzaicloud.com/docs/supertubes/evaluation-license
      --color                           use colors on non-tty outputs (default true)
      --context string                  name of the kubeconfig context to use
      --formatting.force-color          force color even when non in a terminal
      --interactive                     ask questions interactively even if stdin or stdout is non-tty
  -c, --kubeconfig string               path to the kubeconfig file to use for CLI requests
      --non-interactive                 never ask questions interactively
  -o, --output string                   output format (table|yaml|json) (default "table")
      --persistent-config-file string   Supertubes persistent config file to use instead of the default at ~/.banzai/supertubes/
  -v, --verbose                         turn on debug logging

SEE ALSO 🔗︎