diff --git a/backup-data.sh b/backup-data.sh new file mode 100644 index 0000000..1dc3c01 --- /dev/null +++ b/backup-data.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +SERVICES_UP_SCRIPT="/home/raspi/raspi/services-up.sh" + +$SERVICES_UP_SCRIPT --profile all down + +sudo rsync -aHAXv --info=progress2 docker-data/ root@docker:/mnt/raspi-backup/ + +$SERVICES_UP_SCRIPT --profile all up -d \ No newline at end of file