You are looking at the documentation of a prior release. To read the documentation of the latest release, please visit here.

stash run-backup

Take backup of workload paths

stash run-backup [flags]


      --enable-cache             Specify whether to enable caching for restic (default true)
  -h, --help                     help for run-backup
      --host string              Name of the host that will be backed up
      --invoker-kind string      Kind of the backup invoker
      --invoker-name string      Name of the respective backup invoker
      --kubeconfig string        Path to kubeconfig file with authorization information (the master location is set by the master flag).
      --master string            The address of the Kubernetes API server (overrides any value in kubeconfig)
      --max-connections int      Specify maximum concurrent connections for GCS, Azure and B2 backend
      --metrics-enabled          Specify whether to export Prometheus metrics
      --pushgateway-url string   URL of Prometheus pushgateway used to cache backup metrics
      --secret-dir string        Directory where storage secret has been mounted
      --target-kind string       Kind of the Target
      --target-name string       Name of the Target

Options inherited from parent commands

      --bypass-validating-webhook-xray   if true, bypasses validating webhook xray checks
      --service-name string              Stash service name. (default "stash-operator")
      --use-kubeapiserver-fqdn-for-aks   if true, uses kube-apiserver FQDN for AKS cluster to workaround (default true)


  • stash - Stash by AppsCode - Backup your Kubernetes Volumes