Monitoring Data Visualization database backup

To monitor Cloudera Data Visualization (CDV) database backup, log into the cluster and see the job status under the Data Visualization namespace.

The backup-cluster command starts a job to create the database dump file, but it does not wait for it to complete. In case your database size is large, it can take up to 20 minutes for the job to complete. Make sure you leave enough time for the job to succeed.
  1. SSH in to a cluster host as an Administrator.
  2. Run the following command to fetch the details of the backup job:
    kubectl get jobs -n [***DATA-VISUALIZATION-ID***]
    Following is a sample output:
    $ kubectl get jobs -n viz-1692216942-fc2g
      NAME                                              COMPLETIONS   DURATION   AGE
      viz-backup-d874515a-be7e-4902-ac75-269c14f9580c   1/1           3m3s       10m
      viz-webapp-vizdb-create-job                       1/1           57s        99m
The CDV backup is stored in the following location:
hdfs://cdw-backups/[***TIMESTAMP***]_[***JOB-ID***]/[***DATAVIZ-INSTANCE-NAME]/viz-backup