I have a second cloud-based truenas system I provisioned at ServaRica for $25/mo for 4TB of storage. I have 4 questions about full backups that I want to clarify.
My snapshots were taking zero sized snaps when I did my snapshots before I did my first full backup. I just changed it to eliminate the zero sized snapshots. This leads to a complete failure to back up because you get an error message like: “cannot send main@auto-2024-09-23_02-00 recursively: snapshot main/time-machine/stk@auto-2024-09-23_02-00 does not exist
warning: cannot send ‘main@auto-2024-09-23_02-00’: backup failed
cannot receive: failed to read from stream.” The reason is obvious: the dataset didn’t change so there was no snap. MUST I turn on “take zero sized snaps” or is there a way to do full recursive backups without this? I’m guessing I have to take the 0 sized backups or it won’t work. If so, the help text on this checkbox really should be updated.
main/.system: Should I have the .system in my main pool or boot pool or does it even matter? What would you do? I’d imagine it’s better for .system to be in the pool since the configs would get backed up that way automatically.
mnt/.ix-apps: this gets put inside my backup of my main pool as main/.ix-apps even though it’s outside the pool. I’m guessing I should do nothing and it works, but it’s weird since the snapshot says it’s in the pool but the shell says it is in /mnt.
if I have a snapshot task called auto-… then when I create a replica task, it refers to it as “main-auto-” since you have to refer to the replication task to start automatically. But it appears that this has the effect of creating more snapshots with the name main-auto which is completely unexpected. Here is a screenshot:
looking forward to being educated on these three things.
In particular, I turned on the creation of zero sized snaps. resnapped it in the periodic replication task, and when it does the automatic backup, it fails; it’s still complaining about the missing earlier snapshot that was supposed to be there and wasn’t because I turned it off in the previous run. So now I have to replicate from scratch now to re-sync everything and ALWAYS LEAVE TAKE ZERO SIZED snapshots turned ON when doing recursive snaps, right??? Damn I wish they had mentioned this in the help text.
THANKS! So I have to trash my backup and start over due to the mistake I made to not create the zero snapshots? There is no recovery other than starting over???
Did you see my DM to you?
I’ll look into the window size. GREAT SUGGESTION!!!
YOU WERE RIGHT: Not even close to the mark. Will change and report back.
Delete the range of snapshots taken while there were missing snapshots.
Then there won’t be missing snapshots, and the replication will be able to run. Since it hadn’t run since it hit an empty snapshot, it should then continue from where you were.