Prerequisites¶
This page describes the prerequisites and required environment variables to back up and restore a DataRobot installation.
Execute these operations from any macOS or GNU/Linux machine that has enough space to store the backup.
Utilities¶
You must install all utilities in the table below on the host where you create the backup.
- Utility helm is installed on the host where the backup will be created.
- Utility
helmis configured to access the Kubernetes cluster where the DataRobot application is running. Verify this with thehelm status drcommand. - Utility jq is installed.
- Utility kubectl is installed on the host where the backup will be created.
- Utility
kubectlis configured to access the Kubernetes cluster where the DataRobot application is running. Verify this with thekubectl cluster-infocommand. - Utility pg_dump:
- DataRobot 11.0: Use version 12 of
pg_dumpon the host where the backup is created. - DataRobot 11.1 or newer: Use version 14 of
pg_dumpon the host where the backup is created.
- DataRobot 11.0: Use version 12 of
- Utility pg_restore:
- DataRobot 11.0: Use version 12 of
pg_restoreon the host where the backup is created. - DataRobot 11.1 or newer: Use version 14 of
pg_restoreon the host where the backup is created.
- DataRobot 11.0: Use version 12 of
- Utility mongodump version 100.6.0 is installed on the host where the backup is created.
- Utility mongorestore version 100.6.0 is installed on the host where the backup is created.
Environment variables¶
Export the DataRobot application Kubernetes namespace and location where the backups are stored on the host:
export NAMESPACE="DATAROBOT_NAMESPACE"
export BACKUP_LOCATION=~/datarobot-backups/
Note
- Replace
DATAROBOT_NAMESPACEwith your DataRobot namespace. - Define where the backups are stored on the host by settning
BACKUP_LOCATIONvalue. This example uses~/datarobot-backups/, but you can choose a different location.