Loading the documentation…
The commands for each restore live in Backup and restore. This page gives the order on a new host. Run every command as root.
Keep the old host powered off or off the network. Two hosts writing one data set corrupt it.
| Item | Where it comes from |
|---|---|
datamind-installer-db-<date>. | Backup and restore, Back up, step 1 |
datamind-installer-secrets-<date>., taken with the same dump | Back up, step 2 |
datamind-installer-files-<date>. | Back up, step 3 |
datamind-installer-version-<date>. and datamind-installer-<date>. | Back up, step 4 |
/: one archive per volume and per host directory, plus volumes., hostdirs., images. and SHA256SUMS | Back up DataMind OS data |
This server's License Key, or the client_id and client_secret (the client_secret is also the Azure client secret) | The License Key is under Instances in the DataMind Platform console. The client_id and client_secret are issued by DataMind with your licence |
The host name users reach, its DNS record, and the certificate and key files set in SSL_CERT_PATH and SSL_KEY_PATH | Your own DNS and certificate authority |
Bring the new host to the System requirements. Then run the Restore steps of Backup and restore in order, skipping the steps marked same host only.
Always start the DataMind Installer with docker compose in the install directory, as the restore
steps do. Started any other way, its own update cannot find it.
Check it worked. The health check answers {"status":"ok","db":"up"}, and you can sign in with an
existing account.
Restore every DataMind OS volume and host directory before the deployment's first start on the new host. Follow Restore DataMind OS data, skipping the step marked same host only.
Check it worked. docker volume ls lists every name in volumes..
The new host has none of the DataMind OS images yet, so Start on Status stays unavailable until they are pulled. Choose one of two ways.
| Way | What it does | Use it when |
|---|---|---|
| Pull on the host, then Start | Uses the Compose file from your backup. The images are pulled by tag, so you get the backed-up version only if no release came out since the backup | You want the same version as before |
| Update on Status | Downloads the newest Compose file and template, then pulls and starts | You also want the newest release, and you have read its Release Notes |
To bring back the version you backed up, sign in to the registry the restored Compose file names, then pull the images:
docker login platform.datamind.ai -u apikey # with a License Key; paste the key as the password # or: docker login -u <client_id> <registry> # with an Azure client secret cd <install directory>/deployment docker compose pull
A tag such as prod-latest moves with every release, so check what the pull brought before you
start. The command compares each image with the build recorded in images.; set OSBACKUP to your
DataMind OS backup directory:
OSBACKUP=/root/datamind-backup/os-2026-10-01 # replace with your backup directory
while read -r image id; do
echo "$image $(docker image inspect -f '{{.Id}}' "$image" 2>/dev/null || echo missing)"
done < "$OSBACKUP/images.txt" | diff "$OSBACKUP/images.txt" - && echo "same build"Check it worked. The last line reads same build. Otherwise the output lists the images whose
build differs: a release came out after the backup. Read its Release Notes before you start, or
ask DataMind for the build you backed up. A backup taken before images. was added has no such
file, and the version cannot be checked this way.
Then click Start on Status. Start uses the restored Compose file and sets the memory limits for this host.
Check it worked. Every long-running service shows Up, as in
Updating.
If the host name or address changed, set the platform address again in Configuration, then use Apply changes. DNS and the certificate must match the new name. See TLS and certificates.
If the host's IP addresses changed, update NATIVE_API_DENY_HOSTS and NATIVE_API_DENY_CIDRS in the
same pass. They list the host's own addresses, which an ANY API connector may not call, so that a
connector cannot reach the platform's internal services. Restored from the backup, they still hold the
old host's addresses and no longer protect the new one. Replace them with the new host's LAN and public
addresses, separated by commas (for example 10., and 10. for a range), then
use Apply changes. The address in the platform URL is added to the list on its own.
Check it worked. After Apply changes, the toast Configuration applied appears, and the
deployment's . holds the new values:
grep -E '^(PLATFORM_URL|NATIVE_API_DENY_HOSTS|NATIVE_API_DENY_CIDRS)=' <install directory>/deployment/.env
Sign in to DataMind OS and open a query your users rely on.
Check it worked. The Platform URL opens the DataMind OS Welcome back! sign-in page, an existing account signs in, and the query shows data up to the time of your last DataMind OS data backup.
Only if you want the newest release. To get back the version you backed up, pull on the host, compare
with images. and click Start, as in Start the deployment.
The images are not on the host yet. See Start the deployment.
No. Keep it powered off or off the network: two hosts writing one data set corrupt it. Restore on the new host only.
After. Restore every DataMind OS volume and host directory before the deployment's first start on the new host. A service that starts on an empty volume fills it with new files, and the archive would then be unpacked on top of them.
Set the platform address again in Configuration, replace the old
host's addresses in NATIVE_API_DENY_HOSTS and NATIVE_API_DENY_CIDRS, and use Apply changes;
DNS and the certificate must match the new name. See Check the address.