Hello, I have a huge dilemma and problem to figure out, I want to make a backup using snapshots and sending them to the backup server, both on Truenas Scale. Ultimately, I want to do it again through the Trunas GUI.
After analysis, I understood that when you do it, for example, manually through commands, you use a full copy and then incremental ones by referring to earlier snapshots. And this is where my dilemma regarding data retention begins.
What if an incremental snapshot is deleted that is not the last one but, for example, the first or middle one. I am afraid that there will be a situation where dependencies will be damaged. Besides, is it possible to change an incremental snapshot to a full one to delete earlier, older snapshots before the one being changed?
And here is also the question of how the retention of snapshots sent in Truenas works, after many days of analysis, my brain exploded
I would be grateful if someone who knows how it works explained all these nuances and issues to me. I searched, googled, talked to AI and in more I analyze the more questions and doubts I have
An incremental replication has one main requirement: the destination needs to have a common snapshot for the source dataset to base its incremental replication. As long as this exists, you can do an incremental replication.
If the destination lacks a common snapshot with the source, then an incremental replication is not possible.
I think I’m starting to understand correct me if I’m talking nonsense. The source and target must have 1 previous snapshot for incremental upload to work, on which they are based. So if I understand correctly I can delete all snapshots except for the last 1 so that everything works correctly with replication. And even if I delete all the older snapshots, the last one will contain all the full data that should be in the snapshot regardless of whether it was sent as an incremental?