update de la doc et rangement dans infra_conf des backups
This commit is contained in:
parent
99435250bb
commit
e877284fe9
4 changed files with 9 additions and 9 deletions
9
infra_conf/backup.sh
Executable file
9
infra_conf/backup.sh
Executable 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
18
infra_conf/backup_pi5.sh
Executable 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
BIN
infra_conf/backups.pptx
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue