rsync all the things
improvements on rsync scripts
This commit is contained in:
parent
305c7a4614
commit
8e3c5efacb
2 changed files with 12 additions and 1 deletions
11
backup_pi5.sh
Executable file
11
backup_pi5.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/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 $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue