Skip to content

Back up procedure

This page describes the prerequisites and steps for backing up a DataRobot installation, including custom certificates and using an automated script to back up configuration, secrets, PostgreSQL, and MongoDB.

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

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

  2. Refer to the prerequisites section to install utilities and set required environment variables.

Back up components

To execute the backup script:

python3 full_backup_script.py "${NAMESPACE}" "${BACKUP_LOCATION}"

The automated script backs up the following components:

  1. Configuration
  2. Secrets
  3. PostgreSQL
  4. MongoDB

You must manually back up the following components:

  1. Custom certificates
  2. Elasticsearch
  3. Long running services
  4. Inference servers