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
+2 -2
View File
@@ -360,7 +360,7 @@
},
"apps/website/backend": {
"name": "@crosscode/website-backend",
"version": "1.4.0",
"version": "1.5.0",
"hasInstallScript": true,
"dependencies": {
"@crosscode/auth-client": "*",
@@ -389,7 +389,7 @@
},
"apps/website/frontend": {
"name": "@crosscode/website-frontend",
"version": "1.4.0",
"version": "1.5.0",
"dependencies": {
"@crosscode/contracts": "*",
"@crosscode/seo": "*",