first commit
This commit is contained in:
8
backup/domoticzOpt
Executable file
8
backup/domoticzOpt
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /opt/domoticz;
|
||||
/bin/tar cvzf /tmp/opt.tgz *;
|
||||
/bin/cp /tmp/opt.tgz /media/Backup/domoticz/domoticz"$(date '+%Y-%m-%d')".tgz;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user