How-to guides
How to upgrade, back up and roll back safely
OpenMausBot releases almost every day (by npm publish time, 16 releases from November 2 to 11, 2026, UTC: 0.1.138 to 0.1.153). You don’t need every release. Upgrade when a release fixes something you hit or adds something you want.

Before you start
Section titled “Before you start”- An OpenMausBot server you can reach with
ssh myserverfrom this computer (see how to run OpenMausBot 24/7 on a home server), installed with npm at a pinned version as in that guide.
Below, myserver is the server’s SSH alias and anything in <…> is a value you replace.
Decisions
Section titled “Decisions”- Pin versions. Install a specific version, never “latest”. That makes going back to an older version easy.
- Back up first. Your bots, conversations and memory live in
~/.openmausbotby default (or the folder the service names with--data-dirorOMB_DATA_DIR). That folder can be large, so check its size before you choose how to back it up; itstoolsfolder holds the engines and browser OpenMausBot downloaded; to save space you can leave it out, but check what else is in it first, and if a restore doesn’t keep the existingtools, reinstall the tools you need. In the advanced interface you can also use Settings → Backups → Export full backup for a password-protected backup (at least 12 characters); saved account credentials and connections, sign-ins to other AI apps and remote desktop disks are not in it. Before exporting, wait for bots, approvals, sign-ins and computer actions to finish, and stop external editors and managed desktops that write workspace files. Restore it with Import backup on the same page by following its prompts. It replaces the workspace data rather than merging it. Engine sign-ins live by default in each CLI’s own place (such as~/.codex,~/.claudeor~/.claude.json), outside that folder, so back them up separately if you want them; if you moved their home or data folders, go by where they really are.
Hand this to your agent
Section titled “Hand this to your agent”Check whether my OpenMausBot server (ssh alias "myserver") should be upgraded, and upgrade it safely if I agree.
1. Show the installed version and the latest release on npm. Summarize the GitHub release notes in between, highlighting anything about the engines and features I use (ask me if unsure).2. Wait for my go-ahead. Find the data folder the service actually uses (~/.openmausbot by default) and tell me how big it is and how much disk is free, then stop the openmausbot service and any engine processes or managed desktops still writing to that folder (the database has to be copied while nothing writes to it), and back it up, excluding the tools folder (list what's in it for me to confirm first). The backup holds credentials and paired sessions: set umask 077, create a new empty folder only I can read, write the archive there, and never overwrite an existing backup. Also check which of ~/.codex, ~/.claude, ~/.claude.json, ~/.agent-browser and workspaces outside that folder exist, and ask me whether to back them up too.3. Once the backup succeeded, as the account that runs the openmausbot service, `npm install --global --prefix "$HOME/.local" openmausbot@<new version>`; check the install succeeded, then start the service and wait until it is active and /api/health answers.4. Verify: `openmausbot doctor`, number of bots unchanged, paired sessions still listed, my main engine's model list loads, remote access URL still returns 200.5. Give me the exact rollback command for the previous version.Check it worked
Section titled “Check it worked”Refresh any open browser or phone page so it loads the new version, then send any bot a message and check that it replies normally.
Roll back
Section titled “Roll back”If something goes wrong, send this to your AI agent:
Roll my OpenMausBot server (ssh alias "myserver") back to <previous version>: stop the openmausbot service and any engine processes or managed desktops still writing to the data folder, reinstall that version with npm into ~/.local of the account that runs the service, check the install succeeded, then fully replace the data folder I confirmed before upgrading with the archive made then: move everything in it except the tools folder aside, extract the archive, original path, same ownership, start the service, and tell me the result once the service is active.Restoring the pre-upgrade data along with the old version means the old version reads data it wrote itself. The cost: conversations and changes made after the upgrade are lost. The archive has no tools folder, so keep the existing one; if it’s gone, reinstall those tools.
Read the release notes first
Section titled “Read the release notes first”For example, 0.1.145 fixed this: new OpenCode models didn’t show up in the list, and Refresh didn’t help (OpenCode 2.2.5, which the app installed then, rejects the old refresh command). Since then the running server checks periodically and reads the model list again once the last read is more than three hours old, and Refresh now uses a method OpenCode 2 accepts. When a problem is holding you up, check whether a newer version already fixed it.
Spotted a mistake or something out of date? Tell us on GitHub
MausBot Guide is an independent, unofficial community guide and is not affiliated with Supamaus Software Private Limited. OpenMausBot, MausBot and the mascot are trademarks of their respective owner.