Backing up and restoring Cloudera Migration Assistant database
Cloudera Migration Assistant has no backup tool of its own. Back up its databases, persistent volumes, and Secrets by using the backup tools of your Anywhere Cloud cluster, and restore all of them from the same point in time.
Back up these items for the Cloudera Migration Assistant engine and for each Cloudera Migration Assistant Agent engine instance:
| Item | Engine | Default size | What it holds |
|---|---|---|---|
| PostgreSQL volume | Cloudera Migration Assistant | 12 GiB | The cma-auth, cma-master, and gitea databases |
| Data volume | Cloudera Migration Assistant | 50 GiB | The working files of the Cloudera Migration Assistant server |
| Keystore volume | Cloudera Migration Assistant | 1 GiB | The internal keystore, which protects the stored credentials |
| Built-in Git server volume | Cloudera Migration Assistant | 10 GiB | The repositories of the built-in Git server |
| Volume for large Cloudera Data Engineering resources | Cloudera Migration Assistant | The value of CMA Resource Storage Size, 50 GiB by default | Large resource files, such as Spark JAR files. This volume exists only when no
bucket is bound to the cde-resources purpose. |
| PostgreSQL volume | Cloudera Migration Assistant Agent | 2 GiB | The cma-agent database |
| Data volume | Cloudera Migration Assistant Agent | 10 GiB | The working files of the agent |
| Keystore volume | Cloudera Migration Assistant Agent | 1 GiB | The internal keystore of the agent, which protects its stored connection credentials |
| Secrets | Both | N/A | The passwords of the instance, including the Internal Keystore Password. See How secrets are stored. |
If you bound a bucket to the cde-resources purpose, protect it with the
backup policy of your object storage.
An agent on a Cloudera Base on premises cluster keeps its configuration and data on its host, in /var/lib/cma-agent/. Back up that directory with the backups of the host.
- You are an Anywhere Cloud administrator.
- Your Anywhere Cloud cluster has a backup tool that can back up persistent volumes and Kubernetes Secrets.
- You have kubectl access to the namespaces of the Cloudera Migration Assistant instances. See Configuring kubectl access and Kubernetes secrets in the Anywhere Cloud documentation.
To back up Cloudera Migration Assistant:
To restore Cloudera Migration Assistant:
