From bc0104137d65bd9b6e3947cbf5d4a69084c351f3 Mon Sep 17 00:00:00 2001 From: Ben Katz Date: Tue, 21 Jul 2026 21:56:22 -0400 Subject: [PATCH] Added instructions for restoring backups on different CPU architectures. --- docs/advanced-usage/backup-recovery.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/advanced-usage/backup-recovery.md b/docs/advanced-usage/backup-recovery.md index 13b2cc84d..02d6aaa0d 100644 --- a/docs/advanced-usage/backup-recovery.md +++ b/docs/advanced-usage/backup-recovery.md @@ -96,6 +96,14 @@ System administrators are highly encouraged to store persistent data in app-spec See the [persistent storage documentation](/docs/advanced-usage/persistent-storage.md) for more information on how to attach persistent storage to your app. +### Restoring on a machine with a different CPU Architecture + +When restoring a backup on a machine that has a different CPU architecture, you will need to reinstall `basher` as it's not portable across different CPU architectures. Do so with the following command immediately after restoring your dokku configs: +```shell +export BASHER_PREFIX=/home/dokku/.basher +curl -s https://raw.githubusercontent.com/basherpm/basher/master/install.sh | sudo -u dokku bash +``` + ## Recovering app code In case of an emergency when your git repo and backups are completely lost, you can recover the last pushed copy from your remote Dokku server (assuming you still have the ssh key).