Logic Machine Forum
Question about backup script - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Question about backup script (/showthread.php?tid=2117)



Question about backup script - MantasJ - 11.06.2019

Hey,

I have a question about backup script ("http://openrb.com/e-mail-backup-file-once-a-month-from-lm/"), there is 3 lines:

Code:
--Create attachment inside FTP server
id = 'HL_192.168.0.10-' -- Give here your details of your HL
src = 'backup-'..id.. os.date('%Y.%m.%d.%H.%M.%S') .. '.pdf'
dst = '/home/ftp/' .. src
Do I need to change the details of HL? Or should I leave it as it is (192.168.0.10)? Because in the script there is a line, that says: "don't change anything below this line", so I'm a bit confused.

Thank You!


RE: Question about backup script - Daniel - 11.06.2019

Hi
This is just a text which will be written in the backup name, you can change it as you want.
BR


RE: Question about backup script - MantasJ - 11.06.2019

Just as I thought. Thanks!