mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 18:48:31 +01:00
fix: add rsync to storrage box
This commit is contained in:
@@ -7,6 +7,9 @@ vdirsyncer -c vsyncdir.conf sync
|
||||
zip -q -r ~/ths_caldav_backups/${BACKUP_NAME} ~/ths-caldav
|
||||
~/backups/backup-tools/backup_manager.py ~/ths_caldav_backups/ --debug
|
||||
|
||||
# send to storrage box
|
||||
rsync --delete --rsh="/usr/bin/sshpass -p HISTORY_PURGED_SECRET ssh -p23" -r ths_caldav_backups/backup_20230109.zip u244665-sub2@u244665.your-storagebox.de:./
|
||||
|
||||
curl -H "Content-Type: application/json" \
|
||||
-X POST https://async-icinga.atlantishq.de/ \
|
||||
-d '{ "service" : "ths_caldav_backup", "token" : "HISTORY_PURGED_SECRET", "status" : "OK", "info" : "" }'
|
||||
|
||||
Reference in New Issue
Block a user