domino logo
Latest (5.5)
  • About Domino
  • Architecture
  • Security and Compliance
  • Domino Infrastructure
  • Kubernetes Infrastructure
  • Installation
  • Data Planes
  • Execution Resources
  • Users
  • Keycloak Authentication Service
  • Data
  • Projects
  • Environments
  • Model Monitoring
  • Control Center
  • Logs and Monitoring
  • Backup and Restore
  • Disaster Recovery
  • Configuration Reference
  • Run the Admin Toolkit
  • MongoDB Console
  • Get Help
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
Admin Guide
>
Backup and Restore
>
Run a Manual, On-Demand Backup

Run a Manual, On-Demand Backup

You can create a backup manually, on-demand. This is useful during “lift-and-shift” migrations or prior to upgrades.

Prerequisite
  • Before you perform a backup you must put Domino into maintenance mode. See the domino-maintenance-mode readme.

Manually generate a backup:
  1. Run the following command to edit the domino-data-importer statefulset:

    kubectl -n domino-platform edit sts domino-data-importer

    Set the replicas to 1.

  2. When the domino-data-importer pod is up, run the following code to exec into it:

    kubectl -n domino-platform exec -it domino-data-importer-0 /bin/bash

    This command can take a long time, depending on the size of your backup. To prevent a timeout interrupting the command, Domino recommends using a terminal multiplexer tool like /app/tmux so that if your session is disconnected, the command continues running in the background and you can return to the session when you reconnect. For instructions about how to use tmux, see their website or man page man tmux.

  3. In the domino-data-importer pod, run the backup command:

    importer -c /app/config-4x-example.yaml -b --backup-archive --backup-upload --backup-delete

    Remove the --backup-delete flag if you want the backup bundle to remain on the local filesystem.

    Find the backup bundle in the backup location when it is generated automatically.

Domino Data LabKnowledge BaseData Science BlogTraining
Copyright © 2022 Domino Data Lab. All rights reserved.