The Issue: I have 18 large shares (each 24TBs), that contain lots of big media files. Mostly the media files themselves stay untouched. However, sometimes the folder structure changes, and thus my implementation of rsync forces TB's of data to be deleted and then re-copied.
rsync -avrXn --delete-before --progress --exclude 'zzToTRASH' /mnt/Storage3_Live/Sirius/ /mnt/Storage3_bak/Sirius_bak/ (I have to delete before in order to not run out of space on the target)
The Goal: I want to make a mirror (for on the shelf disaster backup) and every 3-4 months want to make an incremental back up so the new folder structure is preserved but without re-copying a lot of the media files themselves. I am reading about hard links in rsync and cp, but.. I am still not clear which is the most reliable method.
Caveats:
- I want to preserve extended attributes.
- Running FreeBSD XigmaNAS, FreeBSD 11.4-RELEASE-p7 #0 r369206M: Wed Feb 3 00:07:44 CET 2021