Hey all, I’d like to say I appreciate in advance any help offered.
I’m running Truenas Scale with three main pools setup (backup, default, software). I have snapshots setup to run on default and software following what i could find to be recommended ( 10 min, hourly, daily, weekly ) with varying retention times and everything set to create empty snapshots except the 10 min one. I have two replication tasks setup recursive and automatic from the snapshots ( hourly, daily, weekly ) with some exclusions as i only want to backup certain data. Both replication tasks are set to go to backup/replicas which is encrypted by key and set to inherit encryption (the original data sets are not encrypted).
My ultimate goal is have a backup locally ( yes i know its the same server ) and then to have an offsite backup that is encrypted (zero trust ) and doesn’t have the key. I understand the prinicples but i’m having an issue from backup to offsite backup.
The offsite backup is an ubuntu 22.04 box with zfsutils-linux installed and an unencrypted pool called default.
Locally the replication works great and the dataset shows its encrytped. I can setup a replication task from backup to offsite with recursive set, but it only replicates the main replicas dataset and not the underlying default and software data sets that were replicated. I create a snapshot with recursive and i see it create snapshots of the entire dataset and children, but after a while the children datasets dissapear, I’m guessing because the replication task for local to backup deletes them as they are not in the original dataset.
When i adjust the replication task to just include all snapshots through regex .* it doesn’t find any snapshots (the replicated ones ). so that it can replicate to offsite.
I know i can’t replicate the unencrypted to encrypted as the key is then on the remote server. If I replicate the backup it ends up only sending the root dataset (replicas) and nothing else, but its encrypted as i intended.
I know there are guides for using backblaze s3 storage, but i would like to try and have this work if i could. The vps is servarica lobster that grows 3gb a day, so over time i can slowly add storage which should be good for a while, eventually I’ll do this same setup with a server at a friends house, which is why i’d like to get this to work.
Does anyone have any suggestions or guides or alternatives?