I have a media server that I backup using odrive. This server has 8 hard drives that I’ve joined together using a product that combines them all into a single volume totalling 49TB, but all files reside on one particular disk rather than being striped across all drives. It is however fairly random which disk they are on.
I recently had a single disk (4TB) fail and I purchased a new drive to replace it, now I want to resync the files from that drive to the new drive. When that drive was dropped from the volume odrive detected that about 4000 files were missing and added them to the trash. I need a way to restore all these items from the trash so I can sync them.
The only way I can find mentioned apart from restoring these files one by one is to unsync the top level folder. In my case though this isn’t a viable option, as the missing files are scattered among all the folders, I’d have to unsync and then resync 40+TB instead of just 4TB.
Is there a way to restore files from the trash apart from unsync/resync or spending hours restoring 4000 files one by one? Maybe with a CLI script?