Website 1.5.0: back up the photos and files too

The nightly backup (and Back up now) snapshots backend/uploads after the
database, into backups/uploads-YYYYMMDD-HHMMSS/. Unchanged files are hard
links to the last snapshot, so after the first full copy a night costs
only the new files. Built in a partial folder and renamed when complete,
refused up front when the disk hasn't room, kept to the same count as the
database backups, with its own switch on Admin -> Backups.

crosscode script: an uninstall keeps the Website's backups with rsync -aH,
so the snapshots' shared files stay shared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 10:04:38 +02:00
co-authored by Claude Opus 5.5
parent 48abc06db7
commit 8c213d6d84
13 changed files with 383 additions and 28 deletions
+6
View File
@@ -3,6 +3,12 @@
What each version changes for the church, in plain language (read by the Hub like Cross Events'
WHATS-NEW.md; a section shows once its version is tagged).
## 1.5.0
- **Your photos and files are backed up too.** Every night, after your site's content, your media
library is backed up on the server. After the first time, only new photos and files are copied.
Under **Backups** you see each one, and can switch it off.
## 1.4.0
- **Your website is backed up every night.** A copy of your site's content is kept on the server