mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2026-06-19 23:42:37 +02:00
initial: no secrets
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
DIR=/home/sheppy/slapd_backup
|
||||
|
||||
rsync -r --remove-source-files sheppy@192.168.122.112:$DIR /home/sheppy
|
||||
|
||||
~/backups/backup-tools/backup_manager.py --extensions ldif -- $DIR
|
||||
|
||||
rsync --delete --rsh="/usr/bin/sshpass -p ebHYlyVHgRnBcdkb ssh -p23" -r slapd_backup/* u244665-sub2@u244665.your-storagebox.de:./slapd_backup/
|
||||
|
||||
curl -H "Content-Type: application/json" \
|
||||
-X POST https://async-icinga.atlantishq.de/report \
|
||||
-d '{ "service" : "slapd_backup", "token" : "WX0yXFxSsb", "status" : "OK", "info" : "" }'
|
||||
Reference in New Issue
Block a user