Restoration
There are two primary reasons for restoring a cluster: corrupted data has caused your cluster to malfunction, or you want to downgrade to a previous version of HPE Machine Learning Data Management due to an upgrade issue.
How to Restore a Cluster #
Depending on your scenario, you might pick all or a subset of the following steps:
- Populate new
pachyderm
anddex
databases on your PostgreSQL instance.- You can use the
pg_restore
command to restore the databases from the backup files. - If you are using a cloud provider, you can use their tools to restore the databases.
- You can use the
- Populate a new bucket or directly use the backed-up object-store.
- You can use the
gsutil
oraws
CLI to copy the objects from the backed-up object store to your new bucket.
- You can use the
- Create a new empty Kubernetes cluster and give it access to your databases and bucket.
- Deploy HPE Machine Learning Data Management into your new cluster by updating the Helm values to point to the new databases and object store.
helm upgrade --install <release-name> pachyderm/pachyderm -f <path-to-values-file>
- Connect
pachctl
to your restored cluster and check that it is up and running.