Skip to content

Operations

Task Command
Update by hand sudo morzer update --stage && sudo morzer update --to <version>
New morzer sudo morzer self-update
Backups off the machine sudo morzer backup target add s3://bucket/dotdash --credentials backup_s3
Alerts sudo morzer notify target add https://hooks.example/morzer
Health and faults sudo morzer doctor
Which exit sites see sudo morzer task run exit-check --output
Metrics for Prometheus sudo morzer config set metrics.textfile=/var/lib/prometheus/node-exporter

Unattended updates

From :stable, nightly at 03:30.

Warning

This gives whoever holds the release key root on the machine.

sudo morzer config set update.check=true
sudo morzer config set update.channel=oci://ghcr.io/morzecrew/dotdash:stable
sudo morzer config set update.auto_apply=true

Pin the exit IP

doctor fails when the provider moves you:

sudo morzer config set healthcheck_url=https://api.ipify.org 'healthcheck_expect=^203\.0\.113\.7\s*$'

What the checks say

  • Alerts cover failed applies, updates and backups, and each morning's doctor, which names the failing layer: the proxy's address, its credentials, the destination, or the exit.
  • exit-check: "IPv6 unavailable" means the upstream has no IPv6 exit, which is not a leak. "MISMATCH" means IPv4 and IPv6 leave from different networks.
  • Backups run nightly: secrets, encrypted to the recovery key, and Caddy's certificates. See morzer's operating docs.