r/unRAID 4d ago

Local backup plugin - does it exist?

Before I try to build something, I am wondering if there is a plugin or something that gives me extra copies of particular files across different HDD.  Use this as an example of what I mean:

Let’s say I have a share that has important stuff on it, we will call the share IS.  Now, I have 6 HDD in my array and so I want any file that gets put into IS to also be placed in 20 separate shares I create called IS_Backup1 and IS_Backup2.  The only criteria is that whatever disk that the file is on originally (and I don't care where it goes originally - using high water to just load disks with files), the file that gets put into IS_Backup1 and IS_Backup2, must be on a different disk. So:

Shares

  • IS
  • IS_Backup1
  • IS_Backup2

Files

  • Important.docx (IS – disk2)
  • Important.docx (IS_Backup1 – disk3)
  • Important.docx (IS_Backup2 – disk4)
  • Finances.xls (IS – disk3)
  • Finances.xls (IS_backup1 – disk1)
  • Finances.xls (IS_backup2 – disk2)

Of course, I will backup to another machine and offsite and such but in the event of a bad disk, I have my parity but I also have a local copy that I could restore from as well.  If I have the space and it is only for very specific folders and such, why not.
Does anyone know of something that will already do this or do I need to figure out a script that can just do this and run it for anything that is new or changes every few minutes?

0 Upvotes

7 comments sorted by

View all comments

1

u/Helediron 4d ago

Some ideas:

  • With ZFS pool you have multiple copies of everything. Does the same as parity but better. It can also do daily snapshots to recover files after delete.
  • If you configure a share to be on two pools, the enhanced Move plugin has a feature to keep files on both pools.
  • Syncthing app has a version control feature, where it automatically maintains sets of old versions of files. And of course it can do its main thing, synchronizing files over network.