Automatic backup to usb drive


Recommended Posts

Hi all,

 

In my backup strategy i use tree different types of backup. Local, USB (offline) and remote (online). I'm slowly moving all over to unraid and got the local (cache->array) backup working with the rsnapshot docker. Now i'm trying to get the the second step working.

However: i think more of this could be automated. In my ideal world the following would happen:

  1. I plug in the USB drive
  2. Unraid checks if this is the backup drive
  3. The backup runs
  4. The usb drive unmounts
  5. I get a notification that the backup is finished and it is safe to remove the drive
  6. I remove the USB drive and store it safely

 

To accomplish this I made a second rsnapshot docker and connected the USB drive with the Unassigned Devices plugin. Making a backup works but requires CLI-intervention. Any help in further automating this would be greatly appreciated.

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.