Hello everyone! I would like to know from friends who use TrueNAS Scale, do any of you use the Cloud Sync Tasks or TrueCloud Backup Tasks option to backup TrueNAS, but using the backup solution with versioning, more or less on the same premise as we have with Snapshots?
My question is the following: I currently have a TrueNAS Scale with 12TB of data and I would like to use a cloud backup for offsite backup, but I would not like to keep just a sync of the data from the current version of the Dataset, but rather a way to restore previous versions of the files in case of problems, just like I do with the snapshot.
Normally when I use OpenMediaVault or Windows Server as a file server, I back up to the cloud with a tool like Comet Backup, Duplicati or something similar, but in this case, I would like to use only TrueNAS native tools to avoid problems, while maintaining the security of my data with the versioning that I can achieve with conventional backup tools.
If anyone on the forum can share how they perform a TrueNAS backup with versioning, as well as what storage they use (I usually use Backblaze B2) and the policy they use, I would greatly appreciate the help.
You pretty much have the right idea. You get your versioning based on the snapshot lifetime policy.
But, in order to do versioning on cloud sync you have to create multiple directories in your bucket and have those directories be your version. Then set a task for each directory on the times you want them to backup. But you are about to use other S3 compatible buckets.
Example:
Day1 dir - run task every day
Day2 dir - run task ever 2 days
Day3 dir - run task every 3rd day.
If you run truecloud backup then you can natively set how many snapshots you want to keep for versioning. But you are locked in to only using Storj
This policy was the one I used many years ago with rsync, but I don’t think it’s the best way to work nowadays. If the storage doesn’t have deduplication enabled, I end up paying twice for the same file, among other problems. That’s why I’m looking for something like TrueNAS TrueCloud. With that, I believe I’ve found what I need.
I’m going to try to do a test with just a few folders and see if the board approves the budget, since the value was over a thousand dollars a year for 12TB, which in our case could be complicated, since here we multiply this value by 6 to get the value in Brazilian Reais.
However, I believe it’s the best option currently. If it’s not approved, I’ll try to set up another TrueNAS, put it in a branch or something like that, and close a site2site and sync the data between them.
I went down the extra truenas route. We have an extra on-site in the data center and another one remote. I feel like we have a lot more flexibility this way.
1 Like
The built in TrueCloud backup uses StorJ and you can see their pricing here
It’s using restic for the back end which supports versioning.
1 Like
Yes, it was based on this video of yours that I realized that TrueCloud would be the best option.
Thank you again for everything you share with the community, I learn so much from your materials!!!
I’m going to try to do a test starting at the beginning of next month with only the smaller finance and human resources folders, which would be less than 1TB. With the approval working well and the board of directors authorizing it, I believe we’ll configure it for the entire storage.
Yes, it would be an option, but the problem I have is that the client’s branches do not have a minimum infrastructure, and the risk of installing a TrueNAS there is that it will end up causing problems such as the backup not being performed due to problems or even the loss of the equipment is high.
For this reason, I am thinking of setting up a secondary TrueNAS with ZFS replication in a sector other than the datacenter and sending a copy of the data to the cloud.
I haven’t looked at their cost, but you could have a look at https://rsync.net/. They use a ZFS native backend, so you could use ZFS replication for your cloud backups with all its benefits (e.g. snapshots, deduplication, etc)