Running the back up script

Running the profiler Backup and Restore script has multiple phases.

First, you need to back up your profiler database and next you can restore it.

Backing up the profiler database

  1. Stop the Profiler Manager and Profiler Scheduler services from the Cloudera Manager instance of the Cloudera Data Hub cluster.
  2. Use SSH to connect to the node where the Profiler Manager is installed as a root user.
  3. Execute the backup_db.sh script:
  4. Delete the Profiler cluster.
  5. Install a new version of Profiler cluster:
    • [Scenario-1] When the data lake upgrade is successfully completed.
    • [Scenario-2] When the user decides to launch a new version of the Profiler cluster.

Restoring the profiler database

  1. Stop the Profiler Manager and Profiler Scheduler services from the Cloudera Manager instance of the Cloudera Data Hub cluster.
  2. Use SSH to connect to the node where Profiler Manager is installed as a root user.
  3. Execute the restore_db.sh script.
  4. Start the Profiler Manager and Profiler Scheduler services from Cloudera Manager.