Prerequisite
- Before you restore a backup you must put Domino into maintenance mode. See the domino-maintenance-mode readme.
Restore a backup
-
Run the following to edit the
domino-data-importerstatefulset:Set the replicas to1. -
When the domino-data-importer pod is up, run the following code to exec into it:
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/tmuxso 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 usetmux, see their website or man pageman tmux. -
Create the directory where the restore process expects to find the backup tarball:
-
Copy the backup tarball into the new directory
/opt/scratch/migration-sessions/. If you’re restoring directly into the original deployment, copy straight from the backup location (for example, from aws s3 cp). -
Untar the backup:
-
From the main app directory, run the importer with the path to the backup configuration. You can run it in dry mode first as a confidence check:
Then run it for real:The importer imports data from the backup into the current deployment.