Can I scub offsite snapshots on non-redundant pools using local shecksums?

SnoppyFloppy

Explorer
Joined
Jun 17, 2021
Messages
77
Hi

I just deployed my first TrueNAS server so I'm still pretty new to it all and thus this might be an extremely dumb question...

Besides my current backup strategy from my main pool to a second local pool, I want to implement a offsite backup strategy to something like BackBlaze or similar, price-competitive provider.

Now from what I know, BackBlaze et al. wont be storing my data on redundant pools with scrubbing and thus I wonder if there is a TrueNAS/ZFS functionally to use the checksums from the local snapshots to verify, and if needed, scrub the remote snapshots?

Many thanks in advance!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I think the cloud sync task won't be able to do that for you as bit flipping in the file won't necessarily be detected by rclone when it's looking for files to update.

The only other way you can do what you're saying would be to manually checksum the cloud version of the file (somehow in the cloud) and then compare that to a locally made md5 or sha or whatever.

The scrub process won't be any help to you as the cloud target probably isn't ZFS and you can't really (in any practical way) access the checksums without it.

I'd be happy to be corrected by somebody, but I think that's all there is to it.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Seems like https://www.rsync.net/ supports ZFS, which if I understand it correctly, you can make it a ZFS receive target. I think you do something like the following;
Code:
zfs send -XXX tank@SNAP | ssh MY_RSYNC_USER@RSYNC_HOST zfs receive -XXX remote_tank

Then you can scrub the remote backup, as well as work with it's snapshots.

But, don't quote me on features I've never used or researched beyond hearing about it.
 

SnoppyFloppy

Explorer
Joined
Jun 17, 2021
Messages
77
Thanks for your replies...

The only other way you can do what you're saying would be to manually checksum the cloud version of the file (somehow in the cloud) and then compare that to a locally made md5 or sha or whatever.

I guess I knew it was a long shot but it was worth a try...

Seems like https://www.rsync.net/ supports ZFS

Yeah I know rsync.net and, while they are probably the ultimate cloud backup provider, they are out of my price range. Maybe I will go with them for the very most precious data - my family pictures - and everything else will go to Backblaze.
 
Top