5.1.2. Running a Manual Backup

To execute a manual backup, first ensure that there is a configuration file to apply, i.e. tungsten_v1_backup.yaml:

apiVersion: tungsten.continuent.com/v1
kind: Backup
metadata:
  labels:
    app.kubernetes.io/name: backup
    app.kubernetes.io/instance: backup-sample
    app.kubernetes.io/part-of: tungsten-operator
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/created-by: tungsten-operator
  name: backup-sample-new
spec:
  clusterRef:
    name: sample-with-backup

To invoke the backup manually, execute the kubectl apply:

shell> kubectl apply -f tungsten_v1_backup.yaml