fix: fixed auto-backup plugin to only create local backups

This commit is contained in:
Simone Margaritelli 2019-10-21 18:51:22 +02:00
parent 56079dfd9d
commit 139c9df88c

View File

@ -32,13 +32,9 @@ main:
- /root/.api-report.json
- /root/handshakes/
- /etc/pwnagotchi/
- /etc/hostname
- /etc/hosts
- /etc/motd
- /var/log/pwnagotchi.log
commands:
- 'tar czf /tmp/backup.tar.gz {files}'
- 'scp /tmp/backup.tar.gz pwnagotchi@10.0.0.1:/home/pwnagotchi/backups/backup-$(date +%s).tar.gz'
- 'tar czf /root/pwnagotchi-backup.tar.gz {files}'
net-pos:
enabled: false
api_key: 'test'