backup : excludes moar

excluding cache here and there
This commit is contained in:
griffix 2025-09-19 17:16:52 +02:00
parent 90dfe22fa1
commit da3386bffa
Signed by: griffix
GPG key ID: 9A72D1FAE36EC98A
2 changed files with 3 additions and 3 deletions

View file

@ -2,8 +2,8 @@
DestDir="/mnt/data/backups/arch-griffix/griffix/" DestDir="/mnt/data/backups/arch-griffix/griffix/"
rsync -avuz --exclude ".local/share/Steam" --exclude "Games" --exclude "Téléchargements" --exclude ".cache" /home/griffix/ $DestDir rsync -avuz --exclude ".local/share/Steam" --exclude "VMs" --exclude "Games" --exclude "Téléchargements" --exclude ".cache" /home/griffix/ $DestDir
rsync -avuz /mnt/pi5data/backups/pi5 /mnt/data/backups/ rsync -avuz /mnt/pi5data/backups/pi5 /mnt/data/backups/
rsync -avuz /mnt/pi5data/backups/immich /mnt/data/backups/ rsync -avuz /mnt/pi5data/backups/immich /mnt/data/backups/
rsync -avuz --exclude ".local/share/Steam" --exclude "Games" --exclude "Téléchargements" --exclude ".cache" /home/griffix /mnt/pi5data/backups/ rsync -avuz --exclude ".local/share/Steam" --exclude "VMs" --exclude "Games" --exclude "Téléchargements" --exclude ".cache" /home/griffix /mnt/pi5data/backups/
exit $? exit $?

View file

@ -6,7 +6,7 @@ echo "docker compose stop"
docker compose -f /config/compose.yaml stop docker compose -f /config/compose.yaml stop
echo "rsync /config" echo "rsync /config"
rsync -avuz /config/ $DestDir rsync -avuz --exclude "/config/jellyfin/cache/" /config/ $DestDir
echo "rsync immich" echo "rsync immich"
rsync -avuz /media/Seagate/immich /media/Seagate/backups/immich rsync -avuz /media/Seagate/immich /media/Seagate/backups/immich