winnielinnie
MVP
- Joined
- Oct 22, 2019
- Messages
- 3,641
There's other risky things about zettarepl that can bite you by surprise, simply from using the GU exclusively:I understand the need to keep TrueNAS stable but I honestly just don't understand how we're supposed to trust zetarepl when it falls over in such basic ways.
Staged snapshot schedule
Hi! How would I best go about creating a schedule that creates snapshots of a dataset like this: 48 hourly 31 daily 48 monthly 12 yearly I think that I should create a separate schedule for each "frequency", but is there a better way?

The tooltip was changed because of the previously mentioned bug report. Since they did not want to address the other underlying bug (i.e, "full" replication isn't really full with each subsequent incremental transfer, as it skips all intermediary snapshots), I pointed out how the description of the tooltip is misleading. (I was shocked when I realized my intermediary and manually-created snapshots were not being transferred to the backup pool!)I knew the second they added "Almost" in the GUI to "Full Filesystem Replication" that trouble was a foot.
For these three reasons (and perhaps more unknown?), I feel very uneasy about zettarepl and its relevant GUI tasks in the TrueNAS web UI. It feels halfheartedly slapped together, and now it's just going to remain "as is". Even though I'm far from a developer, I had to resort to creating my own custom scripts that essentially work as expected (regardless of what child datasets are added or removed.)
A Replication Task should intelligently replicate what the user expects.
What you "select" on the source side should incrementally replicate to the destination side, including everything in between and all children if using "recursive" or "full filesystem", and if a new child is created later, then it too should be transferred (full or incremental, depending if it's the first time.) If a child is deleted later, then it should be ignored.
In fact, I like the concept behind "syncoid" whereas it creates a snapshot on-demand upon being invoked to replicate to a destination (manually or on a schedule). If this was allowed in a GUI, imagine being able to click a button to do a manual incremental backup? It would be in the same spirit as backing up to an external drive, with the power of ZFS. (Which is what I'm doing with my custom scripts.)
Last edited: