mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
c5241e5007
Previously when retention-archive was set (either by the user or by default), archives prior to the archive-start of the oldest remaining full backup (after backup expiration occurred) would be expired even though the retention-archive threshold had not been met. For example, if there were 1 full backup remaining after backup expiration and the retention-archive was set to 2 and retention-archive-type=full, then archives prior to the archive-start of the remaining full backup would still be removed even though retention-archive required 2 full backups remaining before archives should be expired. The thought was to keep the archive directory clean and since the full backup did not require prior archives, it was safe to delete them. However, this has caused problems for some users in the past (because they needed the WAL for other purposes) and with the new adhoc and time-based retention features, it was decided that the archives should remain until the threshold was met. The archives will eventually be removed and if having them causes space issues, the expire command and the retention-archive can always be run and adjusted. |
||
---|---|---|
.. | ||
mock-all-001.log | ||
mock-all-002.log | ||
mock-archive-001.log | ||
mock-archive-002.log | ||
mock-archive-stop-001.log | ||
mock-archive-stop-002.log | ||
mock-expire-001.log | ||
mock-expire-002.log | ||
mock-stanza-001.log | ||
mock-stanza-002.log | ||
real-all-001.log | ||
real-all-002.log | ||
real-all-003.log | ||
real-all-004.log | ||
real-all-005.log | ||
real-all-006.log |