Using Data Recovery Service with Cloudera Data Warehouse
Cloudera Data Warehouse leverages DRS and provides CDP CLI endpoints which you can use to create and restore backups for Cloudera Data Warehouse namespaces to back up Cloudera Data Warehouse metadata and configurations such as Kubernetes objects, persistent volumes, autoscaling configuration and related items.
You can back up and restore Kubernetes namespaces behind Cloudera Data Warehouse entities (for example, Database Catalogs, Virtual Warehouses) on demand using the Data Recovery Service (DRS).
In 1.5.5 SP1 and higher versions, DRS automatically backs up Virtual Warehouse configurations from the database along with the namespace backup. You can restore the backup, when required.
The following limitations apply for Cloudera Data Warehouse data service if you are on Embedded Container Service or using an embedded database on Red Hat OpenShift Container Platform:
- The embedded database that Cloudera Data Warehouse uses is part of the Cloudera Control Plane. You cannot back up only Cloudera Data Warehouse-related entities from the embedded database using the dw create-backup command. You must take a backup of the Cloudera Control Plane service.
- You must restore the entire Cloudera Control Plane configurations to restore configurations stored in the Cloudera Data Warehouse database. This recreates the Cloudera Control Plane namespace.
List of data recovery sub-commands for Cloudera Data Warehouse
| DRS sub-commands for Cloudera Data Warehouse | Description |
|---|---|
| create-backup | Creates an on-demand backup for the Cloudera Data Warehouse including Kubernetes objects, persistent volumes, and so on. Backup requests are processed asynchronously and instantaneously. |
| delete-backup | Deletes an existing Cloudera Data Warehouse backup. The call returns immediately. It returns a delete CRN, which is the deletion process identifier. |
| describe-backup | Returns the description of an existing Cloudera Data Warehouse backup. |
| restore-backup | Restores the state of the Cloudera Data Warehouse from an existing backup. It returns a restore CRN, which is the identifier of the restoration process. |
| describe-restore | Returns the description of the Cloudera Data Warehouse restore operation. |
| list-backup-entities | Lists potential backup entities associated with the Cloudera Data Warehouse. |
| list-backups | Lists backups associated with the Cloudera Data Warehouse. |
| list-restores | Lists restores associated with the Cloudera Data Warehouse. |
| get-logs | Returns the job logs corresponding to the specified CRN. |
