diff --git a/infra_conf/backup.sh b/infra_conf/backup.sh index e79397c..0e03211 100755 --- a/infra_conf/backup.sh +++ b/infra_conf/backup.sh @@ -2,8 +2,8 @@ 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/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 $? diff --git a/infra_conf/backup_pi5.sh b/infra_conf/backup_pi5.sh index 8e8a5f9..60bac0e 100755 --- a/infra_conf/backup_pi5.sh +++ b/infra_conf/backup_pi5.sh @@ -6,7 +6,7 @@ echo "docker compose stop" docker compose -f /config/compose.yaml stop echo "rsync /config" -rsync -avuz /config/ $DestDir +rsync -avuz --exclude "/config/jellyfin/cache/" /config/ $DestDir echo "rsync immich" rsync -avuz /media/Seagate/immich /media/Seagate/backups/immich