About the script
The Backup and Restore script can be used only on Amazon Web Services, Microsoft Azure, and Google Cloud Platform clusters where they support cloud storage.
Scenarios for using the script
- When you upgrade the Data Lake cluster and preserve Profiler data in the DataHub cluster. You might want to delete the DataHub cluster but preserve the Profiler data.
- When you want to re-launch the Profiler and access the older processed data. You might want to delete a DataHub cluster but preserve the Profiler data of the DataHub cluster.
-
- No user action or manual intervention needed after the upgrading DataHub cluster to 7.2.14 version is completed.
- Also, as an example use case scenario, in case a new profiler cluster is launched that contains Custom Sensitivity Profiler tags and which is deleted and relaunched later, the changes are retained and no further action is required.
- No user action is required to backup and restore the profiler data. The changes are automatically restored.
Navigate to the following locations to pick up your scripts:
Back up: bash
/opt/cloudera/parcels/PROFILER_MANAGER/profileradmin/scripts/users/backup_db.sh
Restore:bash
/opt/cloudera/parcels/PROFILER_MANAGER/profileradmin/scripts/users/restore_db.sh
When upgrading below or equal to Cloudera Runtime 7.2.11 version to 7.2.12:
Navigate to the following locations to pick up your scripts:
Back up:bash
/opt/cloudera/parcels/PROFILER_MANAGER/profileradmin/scripts/users/backup_db.sh
Restore:bash
/opt/cloudera/parcels/CDH/lib/profiler_manager/profileradmin/scripts/users/restore_db.sh
When backing up and restoring for a cluster having the Cloudera Runtime 7.2.12 and onwards:
Navigate to the following location to pick up your scrips:
Back up: bash
/opt/cloudera/parcels/CDH/lib/profiler_manager/profileradmin/scripts/users/backup_db.sh
Restore
bash
/opt/cloudera/parcels/CDH/lib/profiler_manager/profileradmin/scripts/users/restore_db.sh