backup.sh: ekskluder /tmp og /var/tmp 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:43:41 +09:00
parent ba84b16cc0
commit 7504629fa4
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -167,8 +167,10 @@ innovation_includes=(
)
innovation_excludes=(
"/srv/minecraft-pvv/"
"/tmp"
"/var/cache/"
"/var/db/freebsd-update/files/"
"/var/tmp"
)
# sleipner
@@ -178,8 +180,10 @@ sleipner_includes=(
)
sleipner_excludes=(
"/scratch/"
"/tmp"
"/var/cache/"
"/var/spool/rwho"
"/var/tmp"
)
# tom
@@ -189,8 +193,10 @@ tom_includes=(
"/boot/efi"
)
tom_excludes=(
"/tmp"
"/var/cache/"
"/var/spool/rwho"
"/var/tmp"
)
# balduzius
@@ -199,7 +205,9 @@ balduzius_includes=(
"/"
)
balduzius_excludes=(
"/tmp"
"/var/cache/"
"/var/tmp"
)
host_ssh_hostname["balduzius"]="balduzius-backup"
@@ -253,12 +261,14 @@ isvegg_excludes=(
"/home"
"/nix"
"/scratch"
"/tmp"
"/usr/bin/ollama"
"/usr/share/ollama"
"/var/cache/"
"/var/lib/plocate"
"/var/log/journal"
"/var/spool/rwho"
"/var/tmp"
)
host_ssh_hostname["isvegg"]="isvegg-backup"
+1
View File
@@ -19,6 +19,7 @@
/var/lib/postgresql/8.4/main/pg_xlog
/var/spool
/var/cache
/var/tmp
/var/account
/var/backups/decibel
/sys