HajTex_living_with_keycloak/docker/backup/make_backup.sh

13 lines
410 B
Bash
Raw Permalink Normal View History

2024-12-30 02:50:43 +01:00
#!/bin/bash
cd /docker/compose/keycloakpostgres
sh backup.sh
cd /docker/compose/overleafmongo
sh backup.sh
cd /docker/compose/overleafredis
sh backup.sh
cd /docker/backup/
rsync -avz --exclude="*/dev/null" --exclude="*/dev/random" --exclude="*/dev/tty" --exclude="*/dev/urandom" --exclude="*/dev/zero" --delete -e "ssh -i /docker/backup/backup" /docker overleaf@backup.zfn.uni-bremen.de:/home/overleaf/fb1/