Data Recovery Service overview
The Data Recovery Service (DRS) is a microservice in Cloudera Data Services on premises. It allows you to back up and restore Kubernetes namespaces and resources on both Cloudera Embedded Container Service (ECS) and OpenShift Container Platform (OCP) for a few services such as Cloudera Control Plane and Cloudera Data Warehouse (CDW).
1.5.5 SP1 and higher versions provide the following features:
- You can view the Backup and Restore Manager on the page.
- You can use the S3 locations in Ozone, in AWS buckets, or in both as an external backup location to back up and restore the Cloudera Control Plane.
- DRS automatically backs up Virtual Warehouse configurations from the database along with the namespace backup. You can restore the backup, when required.
The following sections discuss how to back up and restore Cloudera Control Plane in detail. Contact your Cloudera account team to determine whether your Cloudera service supports DRS, and if so, which components of DRS are being supported.
Cloudera recommends that you create a backup of your Kubernetes namespace before a maintenance activity, before you upgrade, and in general, as a best practice.
Role required: PowerUser
By default, DRS is located in the [***CLOUDERA INSTALLATION NAMESPACE***]-drs namespace. For example, if the Cloudera Data Services on premises installation is located in the cdp namespace, the drs namespace is automatically named cdp-drs. If you have multiple Cloudera Data Services on premises installations (as in OCP), DRS is named accordingly.
- Kubernetes resources associated with the Cloudera namespace and the embedded vault namespaces of the Cloudera Control Plane in Cloudera Data Services on premises. The resources include deployment-related information, stateful sets, secrets, and configmaps.
- Data used by the stateful pods, such as the data in the embedded database and Kubernetes persistent volume claim.
Available methods to back up and restore environment
The following methods are available to back up and restore your environment:
- DRS automatic backups
- Starting from Cloudera Data Services on premises 1.5.4, DRS automatic back ups for Cloudera Control Plane, CDW, and Cloudera Data Engineering (CDE) are enabled by default on ECS clusters for new installations or after cluster upgrade to version 1.5.4 or higher.
- Service-specific CDP CLI options
- You can use the CDP CLI options to back up and restore namespaces for Cloudera Control Plane and CDW.
- Backup and Restore Manager
- You can back up and restore namespaces for Cloudera Control Plane and CDW on the Backup and Restore Manager page.
- External backup locations
- You can use S3 locations in Ozone, in AWS buckets, or in both as external backup locations. The Backup Manager uses Kopia to externally back up the persistent volume claims to the Ozone and AWS buckets. The Kopia repository saves the backups with the cloudera-backups prefix within the bucket.
How backup and restore events work in DRS
- Backup event
- The backup event does not have any downtime impact, and you can backup the Cloudera Control Plane while it is running.
- Restore event
