pg_probackup icon indicating copy to clipboard operation
pg_probackup copied to clipboard

max steps for merge

Open gsmolk opened this issue 4 years ago • 1 comments

It would greate to have an option to set the requirement for minimun length of backup chain for retention merge. --merge-min-depth=num

gsmolk avatar Apr 21 '21 13:04 gsmolk

DELTA4 <- Active
DELTA4 <- Active
DELTA3 <- Active
--- retention window
DELTA2 <- Expired
DELTA1 <- Expired
FULL <- Expired

Example: If running retention merge with --merge-min-depth=4, then nothing should be merged, until DELTA3 expires also

gsmolk avatar Jun 18 '22 19:06 gsmolk