Skip to content

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 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 is installed on the host where the backup will be 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_dump:
    • DataRobot 11.0: Use version 12 of pg_dump on the host where the backup is created.
    • DataRobot 11.1 or newer: Use version 14 of pg_dump on the host where the backup is created.
  • 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 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_NAMESPACE with your DataRobot namespace.
  • Define where the backups are stored on the host by settning BACKUP_LOCATION value. This example uses ~/datarobot-backups/, but you can choose a different location.