Skip to content

Restore procedure

This page describes the prerequisites and steps for restoring a DataRobot installation, including configuration, secrets, PostgreSQL, and MongoDB, using an automated script.

You can execute this operation from any macOS or GNU/Linux machine that has sufficient space to store the restore archive:

  1. Copy the full_db_restore_script.py script available in the DataRobot-oss repo to the designated backup machine:

  2. To install utilities and set required environment variables, see the prerequisites section.

Restore components

To execute the restore script:

Note

Restore secrets and configuration before running this script.

python3 full_db_restore_script.py "${NAMESPACE}" "${BACKUP_LOCATION}" complete

The automated script restores the following components:

  1. PostgreSQL
  2. MongoDB

You must manually restore the following components:

  1. Secrets and configuration
  2. Custom certificates
  3. Elasticsearch
  4. Custom models
  5. Long running services
  6. Inference servers