Compare commits

...

4 commits

Author SHA1 Message Date
e877284fe9
update de la doc et rangement dans infra_conf des backups 2025-08-08 11:14:56 +02:00
99435250bb
rsync all the things - part 2
better docker stop and more rsyncing
2025-08-08 09:41:25 +02:00
8e3c5efacb
rsync all the things
improvements on rsync scripts
2025-08-08 09:02:38 +02:00
305c7a4614
dépendance qbit - gluetun ++ 1er script backuyp profile 2025-08-05 22:13:30 +02:00
5 changed files with 42 additions and 9 deletions

View file

@ -1,6 +1,5 @@
---
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
@ -102,6 +101,10 @@ services:
- PGID=1000
network_mode: "service:gluetun"
restart: always
depends_on:
gluetun:
condition: service_healthy
restart: true
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
@ -208,21 +211,24 @@ services:
ports:
- '3000:3000'
- '222:22'
nginx:
image: nginx:latest
container_name: nginx-proxy
nginx-proxy-manager:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-manager
ports:
- "80:80"
- "443:443"
- "81:81"
volumes:
- /config/nginx/nginx.conf:/etc/nginx/nginx.conf
- /config/nginx/certs:/etc/nginx/certs
- /config/nginx/data:/data
- /config/nginx/letsencrypt:/etc/letsencrypt
restart: unless-stopped
networks:
forgejo:
external: false
default:
external: true
# name: nginx-proxy-net
#default:
# external: true
volumes:
model-cache:

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.

0
infra_conf/home_backup.sh Executable file
View file