Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatically create ZIPped backup of flash?

Featured Replies

Is it possible to automatically call the "Flash backup" and store it's result on the array?

 

If yes, how?

 

Thanks in advance.

 

  • Community Expert

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

  • Community Expert

The CA Backup plugin also has a way to save a backup of your flash.

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.

  • Author

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.

 

  • 10 months later...

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.

 

 

  • 1 year later...

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. 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.