Jump to content

(SOLVED) Backup Flash to Unassigned Device by a Schedule


Recommended Posts

Hello

 

I am wanting to backup key folders to a backup drive from my cache drive and array disk4 - these are appdata, system, www, domains, isos, flash.  This is to an unassigned device backup SSD.  I have done all of them successfully except flash.

 

 

Is there any way to mount the flash device as a share within a docker app?

 

I have selected to share my flash drive as a SMB with private and read only access through UNRAID webGUI.

 

Or is there a plugin which can backup the flash drive daily or weekly?

 

Thanks

Chris

 

 

Edited by SmokeyColes
Link to comment
54 minutes ago, SmokeyColes said:

Is there any way to mount the flash device as a share within a docker app?

 

No need to since you're backing up shares in Unraid, not folders within the app.

 

55 minutes ago, SmokeyColes said:

Or is there a plugin which can backup the flash drive daily or weekly?

 

Unraid.net will automatically backup the flash drive to the cloud as it changes.  You can also use the appdata backup plugin to backup the flash and appdata to a destination of your choice.

  • Like 1
Link to comment

thank you @squid

 

I actually have unraid.net set up although I didn't realise that was what it was called. 

I also didn't appreciate that the depreciated method meant it had been superseded by the net functionality - I had figured somewhere that the plugin was an older version.

 

Anyway I have both backups .net and unassigned working and tested.  Thank you

Link to comment
  • SmokeyColes changed the title to (SOLVED) Backup Flash to Unassigned Device by a Schedule
  • 1 year later...
16 hours ago, Bulletoverload said:

Does the USB backup within CA Appdata backup still work?

Yes.

 

16 hours ago, Bulletoverload said:

I would like to have USB dated/versioned USB backups, instead of just 1 backup on unraid.net. Is this possible or another way of doing this?

I think the plugin does not offer that.

 

But you should probably ask that on the plugin support thread :

 

 

Link to comment

I got rid of Appdata Backup and just do it myself in a daily scheduled user script. 

 

echo "Flash backup..."
cd /boot
datestring=$(date '+%Y-%m-%d_%H-%M-%S')
zip -qr "/mnt/user/backups/flash/flash-$datestring.zip" *
find /mnt/user/backups/flash -mtime +7 -type f -delete # Keep 7 days

 

image.png.bf640423edead81262b79e157fa7662b.png

Edited by Kilrah
  • Like 1
Link to comment
On 7/24/2022 at 3:36 PM, Kilrah said:

I got rid of Appdata Backup and just do it myself in a daily scheduled user script. 

 

echo "Flash backup..."
cd /boot
datestring=$(date '+%Y-%m-%d_%H-%M-%S')
zip -qr "/mnt/user/backups/flash/flash-$datestring.zip" *
find /mnt/user/backups/flash -mtime +7 -type f -delete # Keep 7 days

 

image.png.bf640423edead81262b79e157fa7662b.png

This is for USB backup? I might just steal it then.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...