HomeLab/backup_pi5.sh
griffix 8e3c5efacb
rsync all the things
improvements on rsync scripts
2025-08-08 09:02:38 +02:00

11 lines
203 B
Bash
Executable file

#!/bin/sh
DestDir="/media/Seagate/backups/pi5/config/"
docker compose stop
rsync -avuz /config/ $DestDir
rsync -avuz /media/Seagate/immich /media/Seagate/backups/immich
docker compose start
exit $?