update de la doc et rangement dans infra_conf des backups

This commit is contained in:
griffix 2025-08-08 11:14:56 +02:00
parent 99435250bb
commit e877284fe9
Signed by: griffix
GPG key ID: 9A72D1FAE36EC98A
4 changed files with 9 additions and 9 deletions

9
infra_conf/backup.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
DestDir="/mnt/data/backups/arch-griffix/griffix/"
rsync -avuz --exclude ".local/share/Steam" --exclude "Games" --exclude "Téléchargements" /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" /home/griffix /mnt/pi5data/backups/
exit $?

18
infra_conf/backup_pi5.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
DestDir="/media/Seagate/backups/pi5/config/"
echo "docker compose stop"
docker compose -f /config/compose.yaml stop
echo "rsync /config"
rsync -avuz /config/ $DestDir
echo "rsync immich"
rsync -avuz /media/Seagate/immich /media/Seagate/backups/immich
echo "docker compose start"
docker compose -f /config/compose.yaml start
echo "done"
exit $?

BIN
infra_conf/backups.pptx Normal file

Binary file not shown.