MSP Atlas

Chapter 13

Keeping Atlas healthy

A few minutes a week keeps Atlas safe. This chapter covers what to check and what to do when something needs attention.

System status

System status
Admin → System status.

Open Admin → System status every week or so. It lists anything that needs attention, and shows:

Then open Security log and choose Verify now to check that no event has been changed or removed.

Backups

Atlas backs itself up every night into one encrypted .atlasbak file holding the whole database and every attachment, and keeps the newest 14.

Restore a backup

  1. Stop Atlas.
  2. Make sure the master key the backup was made with is loaded.
  3. Run the restore against a new, empty database, or add --replace to overwrite the current one:
npm run backup -w @atlas/server -- verify <file.atlasbak>
npm run restore -w @atlas/server -- <file.atlasbak>
  1. Start Atlas. Everyone signs in again.

The restore checks the whole file before it changes anything. A backup from an older version is upgraded as it loads, and Verify now still passes afterwards.

Updates

Updates
Admin → Updates.

Admin → Updates lists the published releases newer than yours, with their release notes. On servers set up with the Linux installer, an administrator can install one from the page: Atlas asks for your password, takes a backup, installs the release, and puts the previous version back if the install fails. Database changes are not rolled back; the pre-update backup covers that.

Docker and Windows installs see the page read-only, and update the way they were installed. See Installing Atlas.

Services

Services
Admin → Services.

Admin → Services shows Atlas, the web proxy, the database and the updater, whether each is running, and since when. It works on servers set up with the Linux installer.

Every action asks for your password and is written to the security log. If Atlas itself is down, run sudo systemctl restart msp-atlas on the server, and sudo journalctl -u msp-atlas -n 50 to see why it stopped.

Remote access

Admin → Remote access chooses how people reach Atlas: from this server directly, through a Cloudflare Tunnel, through Tailscale (your tailnet, or the internet with Funnel), or behind your own reverse proxy. The page lists what to set up first for each, such as the tunnel's public hostname or turning on HTTPS certificates in Tailscale.

  1. Choose the way, and fill in the address and the token, auth key or proxy addresses it asks for.
  2. Choose Review the change. The dialog lists what moves with the address.
  3. Choose Change it. Atlas restarts on the new address; open it there.

Only the owner can change it, after confirming their password. If Atlas doesn't answer at the new address, the server puts the previous settings back.

The certificate

Certificate
Admin → Certificate.

Admin → Certificate shows the certificate Atlas is served with, checked the way a visitor's computer sees it.

To install the authority:

  1. Choose Download. It's a public certificate, not a key.
  2. Check its thumbprint against the one on the page, with the PowerShell command the page gives.
  3. Install it for the whole computer (as an administrator) or for yourself, with the commands on the page, or push it with Group Policy.
  4. Open Atlas at the address on the certificate. A certificate for an IP address doesn't cover a name that points to the same server.