Add restic drivers: data leg, incus leg via file mount, weekly maintenance

restic-backup.sh: dump phase carried over verbatim from
plakar-backup.sh, then one restic backup invocation (dump dir +
restic-paths, nextcloud excludes) into restic-data; -s dumps|backup
for staged seeding. restic-incus-backup.sh: per-instance incus file
mount (distinct mountpoints — restic parents by host+path), expanded
config yaml alongside, giants excluded. restic-maintenance.sh: weekly
prune (--max-unused 10%, --max-repack-size 4G) + structure check +
rotating 1/52 data check. Plus restic-paths and the nextcloud
excludes list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Julien Lutran
2026-08-25 12:53:16 +02:00
co-authored by Claude Fable 5
parent 528dec1121
commit 590279190a
5 changed files with 346 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# /root/scripts/restic-paths — one path per line (--files-from-verbatim)
/var/lib/incus/storage-pools/data/containers/bitwarden/rootfs/opt/bitwarden
/var/lib/incus/storage-pools/data/containers/gateway/rootfs/var/www
/var/lib/incus/storage-pools/data/containers/git/rootfs/home/git/projects
/var/lib/incus/storage-pools/data/containers/login/rootfs/opt/authentik
/var/lib/incus/storage-pools/data/containers/mail/rootfs/var/vmail
/var/lib/incus/storage-pools/data/containers/mail/rootfs/var/www
/var/lib/incus/storage-pools/data/containers/outline/rootfs/var/lib/docker/volumes/outline_storage-data/_data
/var/lib/incus/storage-pools/data/containers/solar/rootfs/var/www/html/solar
/var/lib/incus/storage-pools/data/containers/nextcloud/rootfs/nextcloud
/var/lib/incus/storage-pools/data/containers/seafile/rootfs/opt/seafile