retention & remotes

michabbs

Well-Known Member
May 5, 2020
138
20
58
How actually works retention/pruning when datastores are synchronized via the remote feature?
Must retention config be the same on both source and destination?
What happen when a backup is deleted on source? Will it be automatically deleted at destination?
And what if backup is deleted at destination only? Will it be redownloaded from source?
 
Must retention config be the same on both source and destination?
No, retention of the pulling PBS might be less strict. But I think more strict wouldn't make sense, because backup snapshots would then be synced and deleted over and over, unless the sync job could filter backup snapshots by date ranges (and I can't remember seeing that in the PBS webUI).

What happen when a backup is deleted on source?
Nothing, unless you check the "remove vanished" checkbox. With that checked the pulling PBS would prune backup snapshots that got deleted on the source PBS.

And what if backup is deleted at destination only? Will it be redownloaded from source?
Didn't tested it, but I would think it syncs it again.
 
Last edited: