DRS automatic backups

By default, CDP Private Cloud Data Services 1.5.4 and higher versions enable Data Recovery Service (DRS) automatic backups for the Control Plane, CDE, and CDW in the compute cluster of ECS. The automatic backups are stored in the Longhorn in-cluster storage. You can also configure the external storage in ECS, and then initiate the automatic back ups to it.

The following storage options are available to store the DRS automatic backups in ECS:

In-cluster storage
By default, DRS automatic backups use Longhorn in-cluster storage. If necessary, you can configure the storage configuration settings in Longhorn by navigating to the > Cloudera Manager > Clusters [***CLUSTER NAME***] > Status > [***ECS CLUSTER NAME***] > Web UI > Storage UI page.
By default, Kubernetes initiates the first automatic backup within 30 minutes after the backup policy creation is complete, and then takes subsequent backups every hour.
You can change the backup retain count to take backups on an hourly, daily, or weekly basis and you can also disable the DRS automatic backup functionality (set ENABLED to false) using the kubectl edit cj automatic-backup -n cdp-drs command. For more information about using this command in DRS, see Initiating DRS automatic backups.
External storage
ECS uses Longhorn as the underlying storage provisioner. In Longhorn, you can store snapshots externally using an S3 compatible storage such as Ozone or NFS v4. After you configure the external storage, edit the automatic-backup cron job to initiate the automatic backups.