diff --git a/NEWS b/NEWS index 39d217da..4a4640c1 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ -1.2.7.dev0 +1.2.7 + * #98: Support for Borg --keep-secondly prune option. * Use Black code formatter and Flake8 code checker as part of running automated tests. * Add an end-to-end automated test that actually integrates with Borg. * Set up continuous integration for borgmatic automated tests on projects.evoworx.org. diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index 5f39ba25..f3ca6a02 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -181,6 +181,10 @@ map: type: scalar desc: Keep all archives within this time interval. example: 3H + keep_secondly: + type: int + desc: Number of secondly archives to keep. + example: 60 keep_minutely: type: int desc: Number of minutely archives to keep. diff --git a/scripts/find-unsupported-borg-options b/scripts/find-unsupported-borg-options index dbe26a44..bd5f2db0 100755 --- a/scripts/find-unsupported-borg-options +++ b/scripts/find-unsupported-borg-options @@ -36,6 +36,7 @@ for sub_command in prune create check list info; do | grep -v '^--help$' \ | grep -v '^--info$' \ | grep -v '^--json$' \ + | grep -v '^--keep-last$' \ | grep -v '^--list$' \ | grep -v '^--nobsdflags$' \ | grep -v '^--pattern$' \ diff --git a/setup.py b/setup.py index ef7fce34..efb9cb99 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages -VERSION = '1.2.7.dev0' +VERSION = '1.2.7' setup(