Skip to content

This operation can be executed from any macOS or GNU/Linux machine that has enough space to store the backup.

Prerequisite tools to install

Prerequisites

  • Utility helm version 1.23 is installed on the host where the backup is created.
  • Utility helm is configured to access the Kubernetes cluster where the DataRobot application is running. Verify this with the helm status dr command.
  • Utility jq is installed.
  • Utility kubectl version 1.23 is installed on the host where the backup is created.
  • Utility kubectl is configured to access the Kubernetes cluster where the DataRobot application is running. Verify this with the kubectl cluster-info command.
  • Utility pg_restore:
  • DataRobot 11.0: Use version 12 of pg_restore on the host where the backup is created.
  • DataRobot 11.1 or newer: Use version 14 of pg_restore on the host where the backup is created.
  • Utility mongorestore version 100.6.0 is installed on the host where the backup is created.

This script cleans up databases before restore. Follow the rest of the documentation for restoring components other than PostgreSQL and MongoDB.

Note

Restore secrets before running this script.

Usage

Copy the script from the datarobot-oss repo. Make sure to pass the DR_NAMESPACE value as an argument and the BACKUP_LOCATION where the backups are stored.