Server changes
Configs in git, dry runs, rollback, testing by action
Configs in git, dry runs, rollback, testing by action
/opt becomes a repository, and system files go into /opt/host. On an empty VPS at any host, one script brings up the server’s base, and a second one restores stacks from the Kopia backup: all of them, several, or one. Test it with a drill on a temporary VPS, and move when the time comes./opt itself. Edit on your computer; on the server, only git pull. Secrets and data never leave the server: .gitignore is an allowlist, and before the first commit a check looks for secrets without printing them.&&, in the right order.Test your server’s protection by actionTest protection by doing: ban your own address and see that the site doesn’t open.Entries from other topics that are about this too.