hawihoney Posted July 30, 2018 Share Posted July 30, 2018 Is it possible to automatically call the "Flash backup" and store it's result on the array? If yes, how? Thanks in advance. Quote Link to comment
trurl Posted July 30, 2018 Share Posted July 30, 2018 Why would you want to store it on the array? If your flash fails and you can't boot, you won't have access to the backup if it's stored on the array. You can always download a zipped backup of your flash from Main - Boot Device - Flash - Flash backup Quote Link to comment
trurl Posted July 30, 2018 Share Posted July 30, 2018 The CA Backup plugin also has a way to save a backup of your flash. Quote Link to comment
pwm Posted July 30, 2018 Share Posted July 30, 2018 16 minutes ago, trurl said: You can always download a zipped backup of your flash from Main - Boot Device - Flash - Flash backup I would consider it best to download a zipped backup after having made reconfiguration (and possibly even before, if not trusting the state of the previous backup and the changes might need to be undone). When manually downloading a zip file, it's easy to name the zip file in a way that it's possible to remember what changes was made. Quote Link to comment
hawihoney Posted July 30, 2018 Author Share Posted July 30, 2018 Three good questions. CA Backup vs. Flash backup: I always prefer the buildin feature over a third-party tool. Array is no backup: I do have a backup unRAID server that is filled with data depending on it's volatility and importance in three different Intervalls. And there are three rolling external harddisk waiting ... Manually after changes: Is an update of a plugin a manual activity? However, I prefer scripts that run automatically. Back to my question: Is it possible to call the flash backup automatically? Is this a script/program that I can call? Thanks in advance. Quote Link to comment
Stupifier Posted June 26, 2019 Share Posted June 26, 2019 Necro Reply......but did anyone ever get an answer to this guy On 7/30/2018 at 1:56 PM, hawihoney said: Back to my question: Is it possible to call the flash backup automatically? Is this a script/program that I can call? Thanks in advance. Quote Link to comment
Catshark Posted February 7, 2021 Share Posted February 7, 2021 After digging around in the spawned processes when clicking the "flash backup" button, I have found that the following script does most of the work: /usr/bin/php -q /usr/local/emhttp/webGui/scripts/flash_backup This will create a file in the root of the server, so we have to move it to a more sensible location. Furthermore, a symlink is created in the /usr/local/emhttp/ folder, which we don't need. My entire script (use it at your own risk, but I have been using it without problems): /usr/bin/php -q /usr/local/emhttp/webGui/scripts/flash_backup mv /heimdall-flash-backup* ./ rm /usr/local/emhttp/heimdall-flash-backup* This can then be scheduled to run daily/weekly/whatever interval you feel necessary. Use a destination folder that gets backed up (or resides in another server), as in the case of a flash failure, you might not be able to access the generated zip file. 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.