backup.sh: ekskluder /run og /var/run for diverse maskiner

Disse mappene inneholder kjøretidsdata som endrer seg ofte, og vil
uansett bli slettet når maskinen blir restartet.
This commit is contained in:
2026-05-29 14:48:37 +09:00
parent 7504629fa4
commit cba157518e
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -170,6 +170,7 @@ innovation_excludes=(
"/tmp"
"/var/cache/"
"/var/db/freebsd-update/files/"
"/var/run"
"/var/tmp"
)
@@ -179,9 +180,11 @@ sleipner_includes=(
"/"
)
sleipner_excludes=(
"/run"
"/scratch/"
"/tmp"
"/var/cache/"
"/var/run"
"/var/spool/rwho"
"/var/tmp"
)
@@ -193,8 +196,10 @@ tom_includes=(
"/boot/efi"
)
tom_excludes=(
"/run"
"/tmp"
"/var/cache/"
"/var/run"
"/var/spool/rwho"
"/var/tmp"
)
@@ -205,8 +210,10 @@ balduzius_includes=(
"/"
)
balduzius_excludes=(
"/run"
"/tmp"
"/var/cache/"
"/var/run"
"/var/tmp"
)
host_ssh_hostname["balduzius"]="balduzius-backup"
@@ -260,6 +267,7 @@ isvegg_includes=(
isvegg_excludes=(
"/home"
"/nix"
"/run"
"/scratch"
"/tmp"
"/usr/bin/ollama"
@@ -267,6 +275,7 @@ isvegg_excludes=(
"/var/cache/"
"/var/lib/plocate"
"/var/log/journal"
"/var/run"
"/var/spool/rwho"
"/var/tmp"
)
+2
View File
@@ -19,6 +19,7 @@
/var/lib/postgresql/8.4/main/pg_xlog
/var/spool
/var/cache
/var/run
/var/tmp
/var/account
/var/backups/decibel
@@ -31,3 +32,4 @@
/Stores
/media
/mnt
/run