This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Backup spaceLynk and store to Fileshare
#3
(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?
Reply


Messages In This Thread
RE: Backup spaceLynk and store to Fileshare - by ralwet - 31.07.2019, 10:32

Forum Jump: