To manually back up a VTM database on
Domain Manager:
- Secure shell into the Domain Manager host node.
- Start a new backup job:
kubectl -n csdm create job
--from=CronJob/csdm-backup <backup job
name> where <backup job name>
is a user-defined, unique job name.
Once the backup is complete, the backup archive will be located in
/halo_cluster/persistence/csdm-csdm-backup-vol-pvc-<unique
K8s generated ID>/yyyy-mm-dd/arango where
<unique K8s generated ID> is a generated ID by
Kubernetes.
- Optional: View the status of the
backup:
kubectl -n csdm get jobs |
grep –i <backup job name> where
<backup job name> is a user-defined, unique job
name.
- Optional: View the backup's log
information:
kubectl -n csdm logs
jobs/<backup job name>
--all-containers where <backup job name>
is a user-defined, unique job name.
Example:
labuser@vtmhalo:~$
labuser@vtmhalo:~$ kubectl -n csdm create job --from=CronJob/csdm-backup test-backup-1
job.batch/test-backup-1 created
labuser@vtmhalo:~$ kubectl -n csdm get jobs | grep -i test-backup
test-backup-1 1/1 13s 47s