CDM Backup and Restore
The backup topology of DS in the CDM:
- CDM directory architecture
-
Five DS instances are deployed using Kubernetes stateful sets (two
idrepo
and threects
backends). - Backup architecture
-
Before you can back up CDM data, you must set up a cloud storage container, and then configure a Kubernetes secret with the container’s location and credentials in the CDM deployment.
DS data backups are stored in Google Cloud Service, Amazon S3, or Azure Blob Storage.
All backups are incremental from the previous backup. The first backup created is a full backup.
DS server instances use cryptographic keys to sign and verify the integrity of backup files, and to encrypt data. Server instances protect these keys in a deployment by encrypting them with the shared master key. For portability, servers store the encrypted keys in the backup files.
- Backup scheduling
-
Backups must be scheduled using the schedule-backups.sh script in the /path/to/forgeops/bin path on your local computer.
By default, CTS and identity repository directory instances are backed up every hour.
The backup schedule can be customized separately for CTS and identity repository DS instances based on your recovery objectives.
By default, the backups are scheduled from the first (or
-0
) pod of each DS instance. You can customize and schedule backups from any pod of a DS instance. You can also schedule backups from multiple pods. - Restore
-
You can initialize new DS instances with data from a backup when you deploy CDM.
You can restore existing
cts
oridrepo
DS instances from a backup.Restoring a new or existing DS instance from a backup requires that the instance being restored has the same shared master key as the instance that performed the backup. To ensure that the master key is shared, implement cloud secret management when you deploy the CDM.