Stupifier Posted July 5, 2019 Share Posted July 5, 2019 (edited) I would like to use the native "Flash Backup" script in a cronjob. Where is it located? This is the script which is called when you go to Main tab, click on Flash....there is a button called "Flash Backup". It downloads a nice zip file of your flash drive onto the client browser. This script is different then the one CA Backup plugin uses.....I'm looking specifically for the script or command which is called when you click the "Flash Backup" button on Unraid GUI. Also, doing a simple tarball of the Boot directory is no good either.....I've read in numerous posts like this which pretty much describe why. The "Flash Backup" script Unraid GUI uses is what I'm after. Thanks Edited July 5, 2019 by Stupifier Quote Link to comment
itimpi Posted July 5, 2019 Share Posted July 5, 2019 Like most Unraid GUI related scripts it is located at /usr/local/emhttp/webGui/scripts, but whether it can run outside the GUI I have no idea. Quote Link to comment
Stupifier Posted July 5, 2019 Author Share Posted July 5, 2019 3 hours ago, itimpi said: Like most Unraid GUI related scripts it is located at /usr/local/emhttp/webGui/scripts, but whether it can run outside the GUI I have no idea. Copied the script to a share on my array and ran it. It worked......although it writes the backup zip file to the / directory automatically. I can work with that. Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.