Skip to content
Roberto Mladina
Local time in Ingolstadt:
DE – Deutsch EN – English

Logbook · Event 5 November 2026 · Operations

One system for all sites, before there are ten

6 min read

  1. 01Hurdle

    Every site had its own copy of the scripts for backup and setup.

  2. 02Cause

    The second site began as a copy of the first. That was quick and convenient.

  3. 03Solution

    One operation for all sites. Each differs only by its settings file.

  4. 04Result

    Since 8 November 2026 all three sites have been backed up and set up with the same code.

Evidence

# Backup, night to 8 Nov 2026
# Time, site, result, files
01:00  mladina-de   ok   3709
01:31  mtv-baskets  ok  18846
02:16  inspirezz    ok  10155

On 5 November 2026 two websites ran on my server: the site of the basketball department of MTV 1881 Ingolstadt, for which I work as a volunteer, and inspirezz.de. Both were backed up every night, and both had watchers that warn me when something is wrong. It worked. Even so, I decided that day to rebuild the foundations.

Terms on this page
Watcher
A small program that checks something regularly and tells me if it is not right.
AI agent
A program that uses an AI to carry out tasks on its own.
Technical debt
Work that comes up later because you take the quick way today. Like real debt, it gets more expensive over time.
Settings file
The one file in which the sites differ in operation.
Single source of truth
Every piece of information is kept in exactly one place. Everything else reads it from there and keeps no copy of its own.
Infrastructure operations
Everything that every site needs in the same way, such as backup, updates and availability. It exists once for all sites.
Restore test
The monthly attempt to rebuild the whole site from the backup.
Certificate
A digital ID of a website, with which the browser sets up an encrypted connection. It is valid only for a limited time and has to be renewed in good time.
Dead man’s switch
A service out on the internet that expects a regular sign of life and raises the alarm when it does not arrive.
Application operations
Checks that only one site needs, for example the watchers for the game schedule or the contact form.

Two sites, two copies

The MTV site came on board on 10 October 2026, inspirezz.de two weeks later. For the second site, the AI agents and I copied the scripts of the first and adjusted the paths. That was quick and the most convenient way. By scripts I mean everything a site needs in the background: the nightly backup, setting up the timed jobs on the server and a few helper programs.

A copy costs nothing at the start. It gets expensive later (technical debt). Every improvement is needed in two places, and at some point it is missing in one. Then the copies drift apart, and no two sites are alike any more. With two sites you hardly notice. With ten I would no longer know for sure which site is backed up how.

I saw what that looks like in my portfolio project. There, four places each worked out the account balance of the practice securities account on their own. When a security was sold, three of them calculated as if exactly the purchase price had come back. A gain or loss on the sale was therefore left out. The overview and the page of the securities account showed different balances as a result. Since 25 September 2026 the three places have used a shared calculation. It counts every purchase and sale, as the fourth place already did before. The case is also on the page about my portfolio platform.

One system for all, and right away

That is why I decided on 5 November 2026: one system for all sites, and right away, not only at the fifth. My reason at the time:

“If we ever have more than ten sites in operation, it will get chaotic otherwise.”

A second rule came with it. No site gets a special path, a switch or a bridge just for itself. What a site needs is in its settings file and nowhere else (single source of truth).

Two levels and a file in between

Since then the operation has had two levels.

  • The same for all (infrastructure operations): backup and restore test, updates, availability and certificate, the health check, the dead man’s switch and the messages to me. That exists exactly once.
  • Per site (application operations): watchers for what only this site has. At MTV that is the game schedule, teams and contact enquiries, at inspirezz.de the forms.

In between there is only the site’s settings file. It says when its backup starts, which parts of the operation it uses and what the traffic light on my overview page shows for it. This is what it looks like for this site, slightly shortened. For every marked spot it says what it is for.

{
  "name": "mladina-de",
  "versatz_minuten": 4,
  "bausteine": ["sicherung", "formular-waechter"],
  "sicherung": { "zeit": "01:00", "zeitlimit_min": 20 },
  "ampel": [
    { "name": "Sicherung", "art": "sicherung", "takt_min": 1440 },
    { "name": "Kontaktformular", "art": "waechter", "takt_min": 15 }
  ]
}
versatz_minuten: 4
Shifts the start times of this site by a few minutes, so that not all sites start at the same time.
bausteine
Which parts of the operation this site uses. Here they are the backup and the watcher for the contact form. It checks every 15 minutes whether every enquiry has been delivered.
sicherung
The backup of this site starts every night at 01:00 and has a time window of 20 minutes for it. The sites take their turn one after the other, so that they do not disturb each other.
ampel
What the traffic light on my overview page shows for this site: one entry per check, with a name and a type.
takt_min: 1440
Tells the traffic light how often a check should report in. 1440 minutes are one day: the backup reports in once a day.
takt_min: 15
The watcher for the contact form reports in every 15 minutes. If the report fails to come, I see that in the traffic light.
Excerpt from the settings file of mladina.de, without access details and paths on the server, as of 8 November 2026.

The folders of every site are now built the same way too: look and feel, my material, WordPress, operation and documentation, always in the same place. I wanted it that way so that an agent that knows one site finds its way around every other. To keep it so, an automatic test checks on every change that all sites have the same structure. So I do not have to remember it, and neither do the agents.

First the core, then the third site

On 6 November 2026 the decision for the third site, this one, was made. That made the order clear: first the core of the operation becomes shared, then the new site joins. Otherwise it would have got the third copy.

  • Since 7 November 2026 the backup has been a building block for all sites. The two old scripts are in the archive.
  • Since 8 November 2026 a single program has set up everything that runs on the server for a site, including its own watchers. Before, MTV had a script of its own for it, and at inspirezz.de it was done by hand.

mladina.de is the first site that came about this way. It did not get a copy, only its folder from the template and its settings file.

What it brought

The evidence above comes from the night to 8 November 2026: three sites, three times, the same building block. An improvement to the backup now applies to all sites at once.

That has a flip side. A fault applies to all as well. That is why a change to the shared part is only done when the tests of all sites are green, not only those of the site I happen to be building something for.

What is still missing

Starting a new site is still too much manual work. Since 8 November 2026 there has been a checklist for it, and the program for it follows. A few small helper programs of the watchers still exist per site. And new texts reach each site by a different route. That too is meant to become the same for all. I will write about that here when the time comes.