Running the back up script
Running the profiler Backup and Restore script has multiple phases.
Backing up the profiler database
- Stop the Profiler Manager and Profiler Scheduler services from the Cloudera Manager instance of the Cloudera Data Hub cluster.
- Use SSH to connect to the node where the Profiler Manager is installed as a
root
user. - Execute the
backup_db.sh
script: - Delete the Profiler cluster.
- 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
- Stop the Profiler Manager and Profiler Scheduler services from the Cloudera Manager instance of the Cloudera Data Hub cluster.
- Use SSH to connect to the node where Profiler Manager is installed as a
root
user. - Execute the
restore_db.sh
script. - Start the Profiler Manager and Profiler Scheduler services from Cloudera Manager.