31.07.2019, 10:32
(31.07.2019, 07:11)admin Wrote: SMB is not supported, you can use FTP instead.
Ok, Thanks for your reply. So I follow the instructions in this tread, where backup and upload to ftp is described:
https://forum.logicmachine.net/showthread.php?tid=396
This thread is from 2016. I'm wondering if the backup-process is still the same for spaceLynk HW3.0:
Code:
src = 'backup-' .. os.date('%Y.%m.%d_%H-%M') .. '.tar.gz'
dst = '/home/ftp/' .. src
os.execute('sh /lib/genohm-scada/web/general/backup.sh')
os.execute('cd /lib/genohm-scada/storage && tar -c -z -f ' .. dst .. ' ./')
.... upload to ftp ......
os.execute('cd /home/ftp && rm -rf backup_*')
os.execute('cd /lib/genohm-scada/storage && rm -rf user userlib.luas blockly.luas initscript.lua helpers.js genohm-scada.config filter*')
Can I still go with these backup-statements?