> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Check that the backup is good, and restore one

> See in Operations whether the last backup and the restore test passed, set up a missing backup without a terminal, and bring back the Node’s state from a backup.

Every self-hosted Node is backed up every night, while it runs and without you setting anything up: encrypted, in generations (14 days, 8 weeks, 12 months), and every week Mono checks whether the newest backup can be restored. This holds with systemd, with Docker, on a NAS and in Kubernetes.

> [accordion] What you need
>
> * The Admin role in the tenant, to see the status. The IT partner reads along.
> * For “Set up backup”: Mono 0.4.3 on the Node and mono-update 0.4.3 on the host. For an off-site copy, an ssh key of root at the target.
> * For a restore, access to the host as root.
> * In Mono Cloud, you need none of this: Mono backs up your tenant’s state itself.

## Check that the backup is good

The “Backups” box in Operations shows in one line when the last backup ran and when the restore was tested. Below it there is one row per target, first “On this server”.

![The “Backups” box with “Last backup … · restore tested …”, the row “On this server · Up to date”, an own target “mono-bucket · Up to date”, “Recovery key present”, “Add your own target” and “Restore …”](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/box-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=974c829f28962e2161faf00876a0dc89)

Operations › Backups of Muster AG: the line, “On this server” with “Up to date”

> [tab] In the Console
>
> **1. Open Operations**
>
> The “Backups” box stands below “Updates”. A black line means all is well. A red one says what is missing.
>
> **2. Read the row’s status**
>
> “Up to date”, “Test missing”, “Late”, “Failing”, “Set up” or “Switched off”. Below it, the points kept: daily, weekly, monthly.

> [tab] In the chat with “Mono Admin”
>
> Check the backup
>
> Is last night’s backup good, and when did the last restore test run?

> [!TIP]
>
> The line says “Last backup …” from last night and “restore tested …” from this week.

## Test the restore now

Mono tests every week by itself. For a test at once, for example after a big change:

> [tab] In the Console
>
> **1. Choose “Test now”**
>
> Hover over the row “On this server” and choose the flask icon “Test now”. When the row is red, “Test now” is also a button at the bottom of the box.

> [tab] In the chat with “Mono Admin”
>
> Test the restore
>
> Test the restore of our backups now.
>
> The test needs no confirmation: it changes nothing.

> [!TIP]
>
> The line says “restore tested” with the time of just now. On a host with mono-update it takes up to 5 minutes.

## Go back to an earlier point

Restoring sets your server back to a backed-up point. What changed since is lost. The state before the restore stays for 7 days; until then there is “Undo”.

> [tab] In the Console
>
> **1. Choose “Restore …”**
>
> The button always stands at the bottom of the “Backups” box.
>
> **2. Choose the point**
>
> The nightly backups and the backups before an update stand with date and size. Mono then counts how many changes since will be lost.
>
> ![The “Restore” sheet with “Nightly backups”, a chosen point and the consequence sentence](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/restore-sheet-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=5a143dcbb2185543acca45650c10706f)
>
> “Restore”: a point chosen, below it the consequence
>
> **3. Confirm “Restore”**
>
> Your server restarts for it – a server that backs itself up at once; on a host with mono-update within 5 minutes.

> [tab] In the chat with “Mono Admin”
>
> Go back to a point
>
> Which points of our backups are there? Set the server back to last night’s point.
>
> “Mono Admin” shows “Please confirm” with the point, the number of changes since and the consequence. Only your click in the card sets it back.

> [!TIP]
>
> The box says “Restored to the point of …” with “Undo” beside it.

![The “Backups” box with “Restored to the point of …” and the button “Undo”](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/restored-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=9f71cfef137b85cf37a47121f1bc64e3)

After the restore: the point and “Undo”

### Undo

Choose “Undo” beside “Restored to the point of …” and confirm with “Undo”. What changed since the restore is lost. In the chat: “Undo the last restore.”

### In the terminal

Without the Console you bring a backup back on the host. The Node stops and starts again; the previous state stays beside it.

```bash Host with mono-update theme={"system"}
sudo /opt/mono/update/runtime/bin/node /opt/mono/update/mono-update.mjs backup list --host
sudo /opt/mono/update/runtime/bin/node /opt/mono/update/mono-update.mjs backup restore mono-muster-20261028T023000Z.tar.gz.age --host               # systemd
sudo /opt/mono/update/runtime/bin/node /opt/mono/update/mono-update.mjs backup restore mono-muster-20261028T023000Z.tar.gz.age --mandant muster     # Docker
```

`--host` finds the systemd servers of this host only. On a Docker host, name the server with `--mandant <short name>`; the one server installed without a short name needs neither `--host` nor `--mandant`. The same holds for `backup list`, `backup run` and `backup test`.

The Node then starts with the state of the backup. The previous state is under `<data directory>.before-<timestamp>`. On a systemd host (`--host`) the backup’s name names the server, also when several run on the host or it does not start right now. From Mono 0.6.15 the command waits until the server is ready again and ends with an error when it is not; the previous state is then under `/var/lib/private/mono/`. Up to Mono 0.6.14 a systemd server does not start after the restore: see [Troubleshooting for admins](https://mono.mintlify.site/en/admins/troubleshooting.md).

## Add your own target

Besides the backup on the server, Mono copies every backup encrypted to a target of the firm’s own: S3 storage, an SFTP server, WebDAV or a share on site through the Mono Connector. A target is live only once its test passed; after that Mono tests the copy there every month.

> [accordion] What you need
>
> * The Admin role in the tenant.
> * S3: a bucket and an access key that may only write and list. “Copy for your IT” gives the permission for it.
> * SFTP: an account on the server where your IT adds Mono’s public key.
> * WebDAV: user and app password.
> * Share on site: a share on the Mono Connector with `:rw:backup` (for example `MONO_CONNECTOR_FILES="NAS Sicherung=/volume1/mono:rw:backup"`).

**1. Choose “Add your own target”**

The button stands at the bottom of the “Backups” box.

**2. Enter the address and choose “Next”**

`https://…` for S3 or WebDAV, `sftp://user@host/path` for SFTP – or choose a share of the Mono Connector. Mono detects the kind itself.

![The “Add your own target” sheet with the “Address” field](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/ziel-wohin-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=d3c8abad1e3284650d798d6b42055af8)

“Add your own target”: the address

**3. Enter the key and choose “Save”**

S3 and WebDAV: key ID or user and the secret. The field only writes it – nobody sees it again. SFTP: copy Mono’s public key for your IT and choose “Confirm fingerprint” when it matches your IT’s. A share on site needs nothing.

![Fields “Key ID or user” and “Secret key or app password”, below them “Save” and “Copy for your IT”](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/ziel-schluessel-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=e7ed3ba01076447c8b420cf204489ebc)

The key of an S3 storage

**4. Choose “Test”**

Mono writes a probe, measures whether the key may delete, copies the newest backup and restores it once. Passed means: live.

> [!TIP]
>
> The target’s row stands in the box with “Up to date” (a server that backs itself up) or “Set up” (the first copy follows within 5 minutes).

![The “Backups” box with “On this server” and an S3 storage with region and status](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/ziel-live-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=a4a63b536dc24ab7d6301fd07a9d5911)

Your own target live: the location and “Up to date”

For the location, Mono shows an S3 storage’s region as measured; for SFTP and WebDAV you name the country, Switzerland preselected. Outside Switzerland and the EU Mono warns: your data routes do not allow “confidential” there.

In the chat: “Add our own backup target: [https://s3.muster.example/muster-backup”](https://s3.muster.example/muster-backup”). “Mono Admin” creates the draft; you enter the key in the Console – a key never goes into the chat.

## Create the firm’s recovery key

With this key your firm opens every backup, even when the server is lost. It is made in your browser; Mono sees only its public half.

**1. Choose “Create”**

Under “Recovery key” in the “Backups” box, or with the first own target.

**2. Keep the key safe**

Write the groups down or choose “Print emergency sheet”. It is never shown again.

**3. Type four groups and choose “Kept safe”**

As a check you type four groups. Only then does the public half go to your server.

> [!TIP]
>
> The box says “Recovery key present (age1…)”. From the next backup it opens every copy.

Open a copy without the server: `age -d -i key.txt mono-….tar.gz.age | tar -xz -C <empty folder>`.

## Restore on a new server

If the server is lost, a new server starts with the newest copy from your own target as your previous server – with the same signing key, so Claude, ChatGPT and Copilot stay connected.

> [accordion] What you need
>
> * An own target that is live, and the recovery key from the emergency sheet.
> * The target’s key: for S3 the key ID and secret key, for WebDAV the user and app password. For SFTP your IT adds a new key to the account; for a share you put the newest backup on the new server by hand.
> * A new server and root access there. The Console in which you opened the “Backups” box before – it then knows the target even when the old server no longer answers.

**1. Choose “Restore on a new server”**

If the server no longer answers, the button is in Operations below the error. If it still runs, you find it under “Restore …”.

![The “Restore on a new server” sheet with the choice of copy and the “Copy line” button](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/neu-sheet-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=7a3e100c8857673593904363f8984de8)

“Restore on a new server”: the copy and the line

**2. Choose “Copy line” and run it on the new server**

The line installs Mono the way the old server ran and holds a code valid for 24 hours. The code names the copy, never a key. At the end the installer shows a link.

**3. Open the link, type the keys and choose “Restore”**

On the new server’s page you type the target’s key and the recovery key, as it stands on the emergency sheet. The keys stay on that server.

> [!TIP]
>
> The page says “Restored to the state of …”. Sign in as usual. If your address still points at the old server, point it at the new one.

## Get a month’s backup report

The backup report counts what ran in a month: every backup, restore test, copy to an own target and restore – with result and reason, without paths, keys or content.

**1. Open the menu of the row “On this server”**

Right-click the row or “⋯” at its end.

**2. Choose “Backup report” and the month**

This month or the last one, as PDF or as CSV for a spreadsheet.

> [!TIP]
>
> The browser saves `sicherungsbericht-<tenant>-<month>.pdf` or `.csv`.

In the chat with “Mono Admin”: “Give me the backup report for October.” The card downloads the file; the link is valid for 10 minutes and once. Mono also reports failures to the channels of type “Betrieb”, each once.

## Set up for all tenants (IT partners)

In “All tenants” the “Backups” box shows each tenant’s backup line, red ones first. Mono reads it from each tenant itself; backups never go between tenants.

![The “Backups” box with one row per tenant and the “Set up for all” button](https://mintcdn.com/mono/qeflNUxl2QEpvGp7/images/backups/alle-box-light.jpg?fit=max\&auto=format\&n=qeflNUxl2QEpvGp7\&q=85\&s=d1a75f16e39ec4981dec6fbfab28b389)

“All tenants” › Backups

**1. Choose “Set up for all”**

The button shows while a tenant has no own target yet.

**2. Type the address for all**

For example `https://s3.muster-it.example/backups/{mandant}` – Mono replaces `{mandant}` per tenant.

**3. Choose “Set up” for each tenant**

That tenant’s “Add your own target” opens with its address. Go on as in “Add your own target” above: key and recovery key stay per tenant.

> [!TIP]
>
> In “All tenants” each tenant shows “Own target”.

## Set up the backup without a terminal

From Mono 0.4.3

If a self-hosted Node has no backup, the line “Backup” says “No backup is set up on the host yet. …”. The “Backups” box then offers “Set up backup”.

**1. Choose “Set up backup”**

Open Operations and choose “Set up backup” in the “Backups” box.

**2. Choose how long to keep**

Under “Kept on the host”, choose 7, 14, 30 or 90 days. The Default is 14 days.

**3. Choose “Also copy off-site, encrypted” if you want it**

Without the tick, the backup stays only on the host.

**4. Enter the “Target (user\@host:/path)”**

For example `backup@nas.muster.example:/srv/mono`. mono-update makes the encryption key on the host and never shows it. Keep a copy of `/etc/mono/backup-age.key` offline, or the copy cannot be read without the host.

**5. Check before and after, then confirm**

“Before → after” shows “Backup” (“nightly at 02:30, … days on the host”), “Off-site copy”, “Key” and “First backup” (“right away, with a restore test”). Choose “Set up backup”.

> [!TIP]
>
> The Console reports “Requested: mono-update sets up the backup within 5 minutes …”. The box then says “Set up …”, and the first backup and its restore test follow above.

On a host that several tenants share, the admins of all tenants confirm the same backup. One click confirms at all tenants of the host. For this, you are admin of all of them and signed in to this Console.

> [accordion] What a backup contains
>
> The Node’s state (tenant, servers, tool levels, approvals, AI clients, consents, apps), the audit log with its hash chain and the Node’s signing key. Not included is the settings file with its secret values. Keep it separately, for example in the IT partner’s password manager.

> [accordion] An off-site copy
>
> “Set up backup” sets up the copy in the Console. By hand, it works like this: with `MONO_BACKUP_COPY_TO` and `MONO_BACKUP_AGE_RECIPIENT` in the Node’s settings, the host encrypts every backup with age and copies it, for example to a NAS. Without a recipient, nothing leaves the host. Without a copy, the box says “none (MONO\_BACKUP\_COPY\_TO)”.

> [accordion] Who backs up on which hosting
>
> | Hosting | Who backs up | Where the backups lie |
> | - | - | - |
> | systemd | mono-update on the host, nightly at 02:30 | `/var/backups/mono/<tenant>/` |
> | Docker with mono-update | mono-update on the host | `/var/backups/mono/<tenant>/` |
> | Docker without mono-update, for example a NAS with Container Manager | the Node itself, nightly between 01:00 and 05:00 | the Compose file’s volume “backups” |
> | Synology package | the package, every night | the shared folder “mono-node” |
> | Kubernetes | the Node itself | the chart’s storage `mono-<tenant>-backups` (5 Gi) |
>
> Every hosting runs the restore test itself every week: a second Node starts from the backup, without any network to the outside, and must have the same signing key as your running Node. Before an update whose release asks for it, Mono backs up first. If that backup fails, the update is not installed.

> [accordion] Switch the backup off
>
> Only explicitly: `install.sh --no-backups`, in the Compose file `MONO_BACKUPS=off`, in the Helm chart `backups.enabled: false`. Betrieb then shows in red “No backup – switched off.”. With `--backups` or without the setting it is on again.

> [accordion] Bring one back without mono-update (Docker, NAS, Kubernetes)
>
> **1. List the backups**
>
> ```bash Docker host theme={"system"}
> P="docker compose -p mono-muster --env-file /etc/mono/node-muster.env -f compose.yaml"
> $P run --rm --no-deps --entrypoint /nodejs/bin/node node /app/backup.mjs list
> ```
>
> **2. Stop the Node**
>
> ```bash Docker host theme={"system"}
> $P stop node
> ```
>
> **3. Bring back a backup**
>
> ```bash Docker host theme={"system"}
> $P run --rm --no-deps --entrypoint /nodejs/bin/node node /app/backup.mjs restore mono-muster-20261114T013000Z.tar.gz.age
> ```
>
> The previous state then lies under `/var/backups/mono/muster/before-<timestamp>/` for 7 days.
>
> **4. Start the Node**
>
> ```bash Docker host theme={"system"}
> $P start node
> ```
>
> In Kubernetes, you run the same command in a helper pod that mounts both storages while the StatefulSet is at 0 – see [Run Mono in Kubernetes](https://mono.mintlify.site/en/admins/kubernetes.md).

> [accordion] Encrypted, and the firm’s key
>
> Every backup is encrypted with age: with the server’s key, so Mono can check and test it without you, and with your firm’s recovery key once there is one (`MONO_BACKUP_AGE_RECIPIENT`). The firm keeps the private half of that key, never the server. If the server is lost, you open a copy with it: `age -d -i recovery.key mono-….tar.gz.age | tar -xz`.

> [accordion] In Mono Cloud
>
> In Mono Cloud, Mono backs up the state itself: continuously, plus an encrypted export every night in Frankfurt (EU), locked against deletion for 35 days, and a restore test every week. Operations › Backups shows the last export and test. You open export and restore in the account with “Open in the account”.

## What Mono never does

* Show, send or log the encryption key. The server’s key stays on the server, the recovery key with the firm.
* Set up a backup without your confirmation, and on a shared host without the confirmation of all tenants.
* Send a backup off the host unless you chose an off-site copy with a target.

## Limits

* “Set up backup” appears only while no backup is set up on the host. You change an existing retention on the host.
* The backup runs every night and keeps 14 daily, 8 weekly and 12 monthly generations. Backups of Mono 0.6 keep their 7 to 90 days.
* A restore goes back to a whole point. Bringing back a single file comes later.
* An off-site copy with root’s ssh key (`MONO_BACKUP_COPY_TO`) is taken over once as an own target; add new targets in Operations.

## In the chat

With “Mono Admin” you ask about the backup in Claude or ChatGPT, or set it up. Whatever changes comes as “Please confirm” with before → after and applies only after your click in the card; the model can never confirm for you.

### Check that the backup is good

Check the backup

Is last night’s backup good, and when did the last restore test run?

### Set up the backup without a terminal

Set up the backup

Please set up the Node’s backup, kept for 30 days on the host.

“Mono Admin” shows “Please confirm” with before and after. In the chat, you can also name your own age recipient instead of the key made on the host.

## If something does not work

| What you see | What helps |
| - | - |
| “This restore code is no longer valid” | The code was valid for 24 hours. Choose “Copy line” in the Console again and run the new line. |
| “The recovery key does not open this backup.” | Check the groups on the emergency sheet. It does not open backups from before the key. |
| “There is no backup of this server at the target.” | Check that the target was live, or choose another copy in the Console. |
| “The setup code is not valid. …” | On the new server, `sudo mono setup-link --mandant muster` gives a new link. |
| “At this address Mono finds no S3, no SFTP and no WebDAV.” | Check the address with your IT, for example the bucket in the path. |
| “The sign-in at the target was refused.” | Enter the key again; for SFTP, Mono’s public key must be at the account. |
| “The server key is not the confirmed one.” | The SFTP server has another key. Ask your IT before confirming again. |
| “The copy did not reach your own target.” | Check space and access at the target and choose “Test”. |
| “The copy at your own target could not be restored.” | Choose “Test” again; if it stays, Mono writes the reason into the row. |
| “This point no longer exists – please choose another one.” | The point has left the retention meanwhile. Choose a newer one. |
| “The earlier state is no longer there – undo is no longer possible.” | The 7 days are over. Choose another point with “Restore …”. |
| “A backup job is still running.” | Wait until the line above reports it done; on a host up to 5 minutes. |
| “mono-update on this host takes this job with its next update.” | mono-update replaces itself with the next update. Until then in the terminal: `sudo /opt/mono/update/runtime/bin/node /opt/mono/update/mono-update.mjs backup test --host`. |
| “No backup – switched off.” | Someone switched the backup off. Remove `MONO_BACKUPS=off` or set `backups.enabled: true` in the chart. |
| “The backup could not be opened with this server’s key.” | The server’s key is missing or new. The next backup takes the new one; you open older ones with the firm’s recovery key. |
| “The test server could not be started here.” | Check that the image or the release is complete and install the update again. |
| “The backup before the update failed – the update was not installed.” | Check the free storage of the backups. The update follows in the next maintenance window. |
| “No backup is set up on the host yet. …” | Choose “Set up backup” in the “Backups” box. Or run `install.sh` again. It sets up the backup, unless you pass `--no-backups`. |
| “mono-update on this host does not set up the backup by itself yet (from version 0.4.3). …” | mono-update replaces itself with the next update. Until then, the operator sets up the backup with `install.sh`. |
| “Not set up: The first backup or its restore test failed.” | Check the free storage and start the test with `sudo /opt/mono/update/runtime/bin/node /opt/mono/update/mono-update.mjs backup test --host`. |
| “Please enter user\@host:/path, …” | Enter the copy’s target in this form. |
| “The request is older than 24 hours and expired.” | Choose “Set up backup” again. |
| “No new backup for more than 36 hours …” | Check the backup timer on the host. |
| “The last backup failed: …” | The reason follows, usually too little storage. Check the free storage. |
| “Backed up, but the restore test failed: …” | Start the test again with `sudo /opt/mono/update/runtime/bin/node /opt/mono/update/mono-update.mjs backup test --host` and read the reason. Why the test server stopped is in the host’s log (`backup.restore_test.not_ready`). |
| “Backed up on the host; the copy to … is missing: …” | Check root’s SSH key and the target of the copy. |
| “Your server keeps its state in memory only. There is nothing to back up, and a restart erases everything.” | Set the Node up with a data directory (`MONO_STATE=file`), see [Install Mono on your own hardware](https://mono.mintlify.site/en/admins/self-hosting.md). |
| “Not set up: The copy’s target is not valid (user\@host:/path).” | Enter the target in this form. |
| “Not set up: Your server’s settings file could not be written.” or “… The backup timer could not be set up on the host.” | Have the host checked; until then the operator sets the backup up with `install.sh`. |
| “Not set up: On a shared host the admins of all tenants confirm the backup.” | Sign in to all tenants of the host and confirm, or ask the IT partner. |
| “Already requested. mono-update sets up the backup within 5 minutes.” | Wait; the box then shows “Set up …”. |
| In the chat: “You confirm this change yourself – in the card above or on Mono’s confirmation page. I cannot confirm it for you.” | Click in the card or in the Inbox yourself. |

## Next

> [card] [Prepare a standby](https://mono.mintlify.site/en/admins/standby.md)
>
> A second server from the last backup.

> [card] [Control updates](https://mono.mintlify.site/en/admins/updates.md)
>
> Before an update, the host backs up if needed.

> [card] [Health and diagnosis](https://mono.mintlify.site/en/admins/health-and-diagnosis.md)
>
> What else Operations measures.

> [card] [Leave Mono](https://mono.mintlify.site/en/admins/leave-mono.md)
>
> Export data and cancel.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.