DerekChen65535 Posted June 7, 2023 Share Posted June 7, 2023 Situation: I have a array of 4 disks as my main storage. 2 ssd pool brtfs RAID1 as cache. And a 4 disk brtfs RAID0 pool as a backup of my main array. I would like to periodically back up my file from my main array to that 4 disk brtfs pool through rsync. Then remove those disks put somewhere safe. The command I am using is: rsync -av /mnt/user/ /mnt/coldbackup/array_backup/ However, unraid will automatically mark "array_backup" as a share then add it under /mnt/user folder. Such behavior will create a recursive loop until the /mnt/coldbackup is full. Two possible solution I can think of: 1. Using tar to compress array to one file. Not only it takes very long time but if the file is corrupted , that back up is useless. 2. Tell rsync to ignore that /mnt/user/array_backup Question: Just curious if there is a setting to let unraid to ignore a top level folder been used as share. Or mark a disk pool not been used as part of a share? Quote Link to comment
itimpi Posted June 7, 2023 Share Posted June 7, 2023 Probably a better option is to mount that backup pool via Unassigned Devices as UD devices are not part of User Shares. UD is the way you are expected to handle removable devices. Quote Link to comment
DerekChen65535 Posted June 7, 2023 Author Share Posted June 7, 2023 6 hours ago, itimpi said: Probably a better option is to mount that backup pool via Unassigned Devices as UD devices are not part of User Shares. UD is the way you are expected to handle removable devices. Can I mount 4 disks as a brtfs array in UD? Quote Link to comment
JonathanM Posted June 8, 2023 Share Posted June 8, 2023 17 minutes ago, DerekChen65535 said: Can I mount 4 disks as a brtfs array in UD? AFAIK yes, as soon as you mount one, the rest will mount along with it. Quote Link to comment
Recommended Posts
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.