You can simply download the rclone for FreeBSD and overwrite the version that comes with FreeNAS. Only when they update the OS will it be overwritten. Also, you can specify GLACIER and DEEP_ARCHIVE even in older versions of rclone manually and it will work.



On the other hand, per you original post, how do you know the remote hasn't been corrupted? Especially with Amazon Deep Glacier, there is no way of knowing whether or not your data is still 'good' without shelling out money to recover it. So you have to trust both sides to not be corrupt. ZFS data being corrupt without notice would be super-rare as in once in the lifetime of the Universe event. Or you can in addition to trusting ZFS, use a PAR2 on every file and distribute portions of the file(s) and the PAR2 to Amazon, Azure and B2.



I simply stream my snapshots to Amazon Deep Glacier using rclone, it's a lot faster, safer and cheaper (per transaction) than checking and streaming billions of individual files.