diff --git a/backup.sh b/backup.sh index 6ad3195..5206b67 100755 --- a/backup.sh +++ b/backup.sh @@ -36,4 +36,12 @@ rm ${TARGET}rsync-* cp ~/athq-vm-management/build/backup/* $TARGET cd $TARGET pwd -./wrapper.sh $1 +./wrapper.sh nohighdata + +# do the THS backup +cd /media/root/bd358053-84a3-498c-9109-cc4f4d5c10d8/sheppy/ths-data/ +./rsync_backup.sh +if [ $? -eq 0 ]; then + curl -H "Content-Type: application/json" -X POST https://async-icinga.atlantishq.de/ -d '{"service": "backup_ths_offline_storrage_box", "token": "ioQERjE3d3", "status": "OK", "info": ""}' +fi +cd ..