first commit

This commit is contained in:
Souti
2025-03-06 11:09:58 +01:00
commit 11f7d440ff
330 changed files with 38306 additions and 0 deletions

17
backup/domoticz Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
service domoticz.sh stop
cd /opt/domoticz/
#tar -czf /tmp/domoticz.tgz .
tar --exclude="./backups" -czf /tmp/domoticz.tgz .
#tar -cz --exclude="./backups" -f /tmp/domoticz.tgz .
cp /tmp/domoticz.tgz /media/WDBlue/backup/ImagesMyPi/domoticz"$(date '+%Y-%m-%d')".tgz
#scp /tmp/domoticz.tgz pi@volumio2:/media/WDRed/backup/
service domoticz.sh start
#rm /tmp/domoticz.tgz