Black Branch/Docs
All sections

What runs by itself

This page is for you after setup. It lists everything the server does on its own, when it does it and where you see the result, then gives a short routine for the few jobs that need a person.

The schedule

Three timers run on the server at night. All of them follow the quiet hour you chose on the last setup page, in your site's time zone. To change it, open Admin Panel → Site → Site, card Running the site. The timers move by the next night.

With a quiet hour of 04:00:

When What Where you see the result
Every day, 04:00 Backup of the three databases, the homeserver's media and signing key, and the install's keys and settings file, to your backup target. Old snapshots are thinned to 7 daily and 4 weekly. The Doctor's Backups rows, and the backups line of sudo blackbranch status
Sundays, 04:30 Restore check: the newest backup is restored into a throwaway container and checked. The live site is not touched. The Doctor's row The newest backup restores
Every day, 04:45 to 04:55 Update check: the server reads the signed release feed. A security release installs itself, but never while you are live. A feature release waits for you. Each server picks a random minute in that window, so they do not all ask at once. Admin Panel → Updates, and the Doctor's Updates rows
Every day, on the operating system's own schedule Operating system security updates through unattended-upgrades, which the installer switches on The Doctor's row Security updates install themselves

A fourth timer runs every morning at about 09:00 in the server's own time, whatever the quiet hour, so its news arrives while you are awake: the daily check looks at free disk, the newest good backup and, in direct mode, the certificates. It stays silent when all is well. See Alerts from the server.

If the server was off at the scheduled time, the missed job runs soon after it starts. While an update is running, the nightly backup and the weekly check skip their turn, because the update makes its own backup.

Two more things run without a schedule:

What tells you, and what waits for you to look

Two kinds of alert can reach you, once you say where they go:

The rest waits on its page until you look. The Doctor shows a red row when you open it. A payment that failed, was refunded or was disputed is listed in Admin Panel → Payments → Payment history.

A routine for you

How often What How long
Weekly, and after any change at Stripe, PayPal or a platform Open Admin Panel → Doctor and read every row that is not green 2 minutes
Weekly Look at Admin Panel → Payments → Payment history for failed, refunded or disputed payments 2 minutes
When Admin Panel → Updates offers a feature release Read its notes, then press Apply at a time you are not live. A backup is made first, and the site is down for a few minutes. 10 minutes
Monthly Run sudo blackbranch status. The backups line names the target the last backup went to (for example to s3). Check it is the one you expect. 1 minute
Every few months Practise with sudo blackbranch restore latest --verify, and make sure you can still find the backup passphrase and your copy of .env 5 minutes
After any email from your server provider, domain registrar or Cloudflare Check the Doctor's Front door rows 1 minute

Next: The server command

← Running it