When the remote server is unavailable, snapshots that have not been replicated keep piling up and when the remote server is available again it takes ages to replicate.
What if instead zrepl will always keep first unreplicated snapshot + the ones declared by keep_receiver and will only keep count last snapshots?
Part of my config for reference:
name: remote
pruning:
keep_receiver:
- grid: 1x1h(keep=all) | 24x1h | 30x1d | 6x30d
regex: ^zrepl_
type: grid
keep_sender:
- type: not_replicated
- count: 10
regex: ^zrepl_
type: last_n
- negate: true
regex: ^zrepl_
type: regex
snapshotting:
interval: 10m
prefix: zrepl_
type: periodic
type: push
When the remote server is unavailable, snapshots that have not been replicated keep piling up and when the remote server is available again it takes ages to replicate.
What if instead zrepl will always keep first unreplicated snapshot + the ones declared by
keep_receiverand will only keepcountlast snapshots?Part of my config for reference: