The original post: /r/datahoarder by /u/cribbageSTARSHIP on 2024-10-06 22:13:34.
This post is a follow up to this post. I was trying to rsync my tv dir from one Truenas scale machine to another and the target dir wasn't growing in size. Turns out the source dir was reading as a larger size on the TN GUI because it was counting the zfs snapshots. User error to straight up user ignorance. lesson learned!
How does everyone here manage their zfs backups? I'll post my setup below, but I would love some advice as to how I can better manage my snapshots (or back ups overall). setting auto snapshots is fine but how many should I be keeping? how often should I be moving the snapshots off the machine onto a back machine?
Any thoughts would be great. I've just retired and want to develop better selfhosting/datahoarding habits now, so I have more time to enjoy things instead of retracing steps. These days I feel more comfortable trusting the CLI and making scripts than relying on a GUI. In my previous post I mentioned wondering if I should be moving away from Truenas because I was feeling constrained by it not being real debian. I'm on the fence between using Deb12 with cockpit vs TN Scale for both my NAS's, so if anyone else has pondered the same question, what are your thoughts?
Thank you
Machine 01: Deb12
raidz2 serving my ghost (plural) and nextcloud instances. Both of those are docker services.
Machine Legion: Deb12
a collection of machines with a 1TB nvme. These machines have various services on them and they wake on lan from an olivetun command, or other calls. when not in need they power down. The 1TB drive is formatted zfs, and everything installed on a machine has its relevant data on a child-dataset on its 1TB drive. Only two of these machines are on permanently for *legal* media sharing and other permanent services. There are seven overall.
NAS 01: TN Scale
5*10TB NAS HDD. Raidz1 with four drives+ hotspare. This machine will house all the media in child datasets. this is all served out to the legion via NFS shares (although a friend is suggesting sshfs). I'd like to be able to use docker-compose to spool something up if I need it. if anything, I have a torrent/vpn container that I'd like to have running here on a full time basis.
As well, my intent is to have the legion machines send zfs backups here.
NAS 02: TN Scale
16*4TB SAS drives Raidz3 +3 spares. This is the only machine that has spinning boot disks. Just have to put it all in the case, but this pig will be turning on once per week. It will take ZFS backups from NAS 01 and Machine 01. It will then run updates and shutdown.