Old PC
openclaw gateway stop
mkdir -p ~/Backups/openclaw
(
umask 077
archive=”$HOME/Backups/openclaw/openclaw-state-$(date +%Y%m%d-%H%M%S).tar.gz”
tar -czf “$archive” -C “$HOME” .openclaw &&
tar -tzf “$archive” >/dev/null &&
printf ‘Archive created and readable: %s\n’ “$archive”
)
If you are using SSH to transfer the image from one linux box to another.
sudo apt install openssh-server
modify the /etc/ssh/sshd_config
restart the sshd deamon >> sudo systemctl restart ssh
New PC
openclaw backup restore openclaw-state-20260928-115121.tar.gz –target ~/openclaw-restored
(
umask 077
staging=$(mktemp -d “$HOME/openclaw-restored.XXXXXX”) || exit 1
tar -xzf “$HOME/Backups/openclaw/openclaw-state-20260928-115121.tar.gz”
-C “$staging” –no-same-owner &&
printf ‘Restored to staging: %s\n’ “$staging”
)
python3 /home/mystajones/Backups/openclaw/migration-20260928-122652/activate-gyro.py
Other Handy commands.
Connect WhatsApp
openclaw channels login –channel whatsapp –account default
Get your auth-token
openclaw gateway auth-token –show
Leave a comment