I have read the forums front to back and have not been able to fine a way to create an automated secure backup using toucan. I am very new to LUA and not familiar with the syntax. I am looking to run two fully automated scheduled encrypted backups on opposite days. If anyone can provide some sample scripts or hints that would be awesome.
I think that the easiest thing to do would be a script like this:
Then to run it you need to do something like the following:
You can always put that in a batch file to run easily or the windows task scheduler to make it completely automated. Note this is completely untested but should work, if not let me know if you have any issues.
Thank you!
So far I can run the backup script below fine.
And it launches fine in command line using.
toucan.exe --script="dofile (getscript([[BackupScript]]))"
The snag I am hitting is encrypting the backed up data. I have been trying to use the batch below.
toucan.exe --script="dofile(getscript([[encryptscript]]))" --password="password"
To run this script.
Which does nothing...
Thank you again for the help!
I misread your original question somewhat, is there a reason you don't use the encryption option that backup has?