NEWS 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. 1.3.4.dev0
  2. * Part of #125: Color borgmatic (but not Borg) output when using an interactive terminal.
  3. * #168: Update README with continuous integration badge.
  4. * Document installing borgmatic with pip install --user instead of a system Python install.
  5. * Get more reproducible builds by pinning the version of tox used to run tests.
  6. 1.3.3
  7. * Add validate-borgmatic-config command, useful for validating borgmatic config generated by
  8. configuration management or even edited by hand.
  9. 1.3.2
  10. * #160: Fix for hooks executing when using --dry-run. Now hooks are skipped during a dry run.
  11. 1.3.1
  12. * #155: Fix for invalid JSON output when using multiple borgmatic configuration files.
  13. * #157: Fix for seemingly random filename ordering when running through a directory of
  14. configuration files.
  15. * Fix for empty JSON output when using --create --json.
  16. * Now capturing Borg output only when --json flag is used. Previously, borgmatic delayed Borg
  17. output even without the --json flag.
  18. 1.3.0
  19. * #148: Configuration file includes and merging via "!include" tag to support reuse of common
  20. options across configuration files.
  21. 1.2.18
  22. * #147: Support for Borg create/extract --numeric-owner flag via "numeric_owner" option in
  23. borgmatic's location section.
  24. 1.2.17
  25. * #140: List the files within an archive via --list --archive option.
  26. 1.2.16
  27. * #119: Include a sample borgmatic configuration file in the documentation.
  28. * #123: Support for Borg archive restoration via borgmatic --extract command-line flag.
  29. * Refactor documentation into multiple separate pages for clarity and findability.
  30. * Organize options within command-line help into logical groups.
  31. * Exclude tests from distribution packages.
  32. 1.2.15
  33. * #127: Remove date echo from schema example, as it's not a substitute for real logging.
  34. * #132: Leave exclude_patterns glob expansion to Borg, since doing it in borgmatic leads to
  35. confusing behavior.
  36. * #136: Handle and format validation errors raised during argument parsing.
  37. * #138: Allow use of --stats flag when --create or --prune flags are implied.
  38. 1.2.14
  39. * #103: When generating sample configuration with generate-borgmatic-config, document the defaults
  40. for each option.
  41. * #116: When running multiple configuration files, attempt all configuration files even if one of
  42. them errors. Log a summary of results at the end.
  43. * Add borgmatic --version command-line flag to get the current installed version number.
  44. 1.2.13
  45. * #100: Support for --stats command-line flag independent of --verbosity.
  46. * #117: With borgmatic --init command-line flag, proceed without erroring if a repository already
  47. exists.
  48. 1.2.12
  49. * #110: Support for Borg repository initialization via borgmatic --init command-line flag.
  50. * #111: Update Borg create --filter values so a dry run lists files to back up.
  51. * #113: Update README with link to a new/forked Docker image.
  52. * Prevent deprecated --excludes command-line option from being used.
  53. * Refactor README a bit to flow better for first-time users.
  54. * Update README with a few additional borgmatic packages (Debian and Ubuntu).
  55. 1.2.11
  56. * #108: Support for Borg create --progress via borgmatic command-line flag.
  57. 1.2.10
  58. * #105: Support for Borg --chunker-params create option via "chunker_params" option in borgmatic's
  59. storage section.
  60. 1.2.9
  61. * #102: Fix for syntax error that occurred in Python 3.5 and below.
  62. * Make automated tests support running in Python 3.5.
  63. 1.2.8
  64. * #73: Enable consistency checks for only certain repositories via "check_repositories" option in
  65. borgmatic's consistency configuration. Handy for large repositories that take forever to check.
  66. * Include link to issue tracker within various command output.
  67. * Run continuous integration tests on a matrix of Python and Borg versions.
  68. 1.2.7
  69. * #98: Support for Borg --keep-secondly prune option.
  70. * Use Black code formatter and Flake8 code checker as part of running automated tests.
  71. * Add an end-to-end automated test that actually integrates with Borg.
  72. * Set up continuous integration for borgmatic automated tests on projects.evoworx.org.
  73. 1.2.6
  74. * Fix generated configuration to also include a "keep_daily" value so pruning works out of the
  75. box.
  76. 1.2.5
  77. * #57: When generating sample configuration with generate-borgmatic-config, comment out all
  78. optional configuration so as to streamline the initial configuration process.
  79. 1.2.4
  80. * Fix for archive checking traceback due to parameter mismatch.
  81. 1.2.3
  82. * #64, #90, #92: Rewrite of logging system. Now verbosity flags passed to Borg are derived from
  83. borgmatic's log level. Note that the output of borgmatic might slightly change.
  84. * Part of #80: Support for Borg create --read-special via "read_special" option in borgmatic's
  85. location configuration.
  86. * #87: Support for Borg create --checkpoint-interval via "checkpoint_interval" option in
  87. borgmatic's storage configuration.
  88. * #88: Fix declared pykwalify compatibility version range in setup.py to prevent use of ancient
  89. versions of pykwalify with large version numbers.
  90. * #89: Pass --show-rc option to Borg when at highest verbosity level.
  91. * #94: Support for Borg --json option via borgmatic command-line to --create archives.
  92. 1.2.2
  93. * #85: Fix compatibility issue between pykwalify and ruamel.yaml 0.15.52, which manifested in
  94. borgmatic as a pykwalify RuleError.
  95. 1.2.1
  96. * Skip before/after backup hooks when only doing --prune, --check, --list, and/or --info.
  97. * #71: Support for XDG_CONFIG_HOME environment variable for specifying alternate user ~/.config/
  98. path.
  99. * #74, #83: Support for Borg --json option via borgmatic command-line to --list archives or show
  100. archive --info in JSON format, ideal for programmatic consumption.
  101. * #38, #76: Upgrade ruamel.yaml compatibility version range and fix support for Python 3.7.
  102. * #77: Skip non-"*.yaml" config filenames in /etc/borgmatic.d/ so as not to parse backup files,
  103. editor swap files, etc.
  104. * #81: Document user-defined hooks run before/after backup, or on error.
  105. * Add code style guidelines to the documention.
  106. 1.2.0
  107. * #61: Support for Borg --list option via borgmatic command-line to list all archives.
  108. * #61: Support for Borg --info option via borgmatic command-line to display summary information.
  109. * #62: Update README to mention other ways of installing borgmatic.
  110. * Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's
  111. consistency configuration.
  112. * Add introductory screencast link to documentation.
  113. * #59: Ignore "check_last" and consistency "prefix" when "archives" not in consistency checks.
  114. * #60: Add "Persistent" flag to systemd timer example.
  115. * #63: Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in
  116. archive.
  117. * #69: Support for Borg prune --umask option using value of existing "umask" option in borgmatic's
  118. storage configuration.
  119. * Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
  120. * Add ~/.config/borgmatic/config.yaml to default configuration path probing.
  121. * Document how to develop on and contribute to borgmatic.
  122. 1.1.15
  123. * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file.
  124. * Fix for Borg create error when using borgmatic's --dry-run and --verbosity options together.
  125. Work-around for behavior introduced in Borg 1.1.3: https://github.com/borgbackup/borg/issues/3298
  126. * #55: Fix for missing tags/releases on Gitea and GitHub project hosting.
  127. * #56: Support for Borg --lock-wait option for the maximum wait for a repository/cache lock.
  128. * #58: Support for using tilde in exclude_patterns to reference home directory.
  129. 1.1.14
  130. * #49: Fix for typo in --patterns-from option.
  131. * #47: Support for Borg --dry-run option via borgmatic command-line.
  132. 1.1.13
  133. * #54: Fix for incorrect consistency check flags passed to Borg when all three checks ("repository",
  134. "archives", and "extract") are specified in borgmatic configuration.
  135. * #48: Add "local_path" to configuration for specifying an alternative Borg executable path.
  136. * #49: Support for Borg experimental --patterns-from and --patterns options for specifying mixed
  137. includes/excludes.
  138. * Moved issue tracker from Taiga to integrated Gitea tracker at
  139. https://projects.torsion.org/witten/borgmatic/issues
  140. 1.1.12
  141. * #46: Declare dependency on pykwalify 1.6 or above, as older versions yield "Unknown key: version"
  142. rule errors.
  143. * Support for Borg --keep-minutely prune option.
  144. 1.1.11
  145. * #26: Add "ssh_command" to configuration for specifying a custom SSH command or options.
  146. * Fix for incorrect /etc/borgmatic.d/ configuration path probing on macOS. This problem manifested
  147. as an error on startup: "[Errno 2] No such file or directory: '/etc/borgmatic.d'".
  148. 1.1.10
  149. * Pass several Unix signals through to child processes like Borg. This means that Borg now properly
  150. shuts down if borgmatic is terminated (e.g. due to a system suspend).
  151. * #30: Support for using tilde in repository paths to reference home directory.
  152. * #43: Support for Borg --files-cache option for setting the files cache operation mode.
  153. * #45: Support for Borg --remote-ratelimit option for limiting upload rate.
  154. * Log invoked Borg commands when at highest verbosity level.
  155. 1.1.9
  156. * #17, #39: Support for user-defined hooks before/after backup, or on error.
  157. * #34: Improve clarity of logging spew at high verbosity levels.
  158. * #30: Support for using tilde in source directory path to reference home directory.
  159. * Require "prefix" in retention section when "archive_name_format" is set. This is to avoid
  160. accidental pruning of archives with a different archive name format. For similar reasons, default
  161. "prefix" to "{hostname}-" if not specified.
  162. * Convert main source repository from Mercurial to Git.
  163. * Update dead links to Borg documentation.
  164. 1.1.8
  165. * #40: Fix to make /etc/borgmatic/config.yaml optional rather than required when using the default
  166. config paths.
  167. 1.1.7
  168. * #29: Add "archive_name_format" to configuration for customizing archive names.
  169. * Fix for traceback when "exclude_from" value is empty in configuration file.
  170. * When pruning, make highest verbosity level list archives kept and pruned.
  171. * Clarification of Python 3 pip usage in documentation.
  172. 1.1.6
  173. * #13, #36: Support for Borg --exclude-from, --exclude-caches, and --exclude-if-present options.
  174. 1.1.5
  175. * #35: New "extract" consistency check that performs a dry-run extraction of the most recent
  176. archive.
  177. 1.1.4
  178. * #18: Added command-line flags for performing a borgmatic run with only pruning, creating, or
  179. checking enabled. This supports use cases like running consistency checks from a different cron
  180. job with a different frequency, or running pruning with a different verbosity level.
  181. 1.1.3
  182. * #15: Support for running multiple config files in /etc/borgmatic.d/ from a single borgmatic run.
  183. * Fix for generate-borgmatic-config writing config with invalid one_file_system value.
  184. 1.1.2
  185. * #33: Fix for passing check_last as integer to subprocess when calling Borg.
  186. 1.1.1
  187. * Part of #33: Fix for upgrade-borgmatic-config converting check_last option as a string instead of
  188. an integer.
  189. * Fix for upgrade-borgmatic-config erroring when consistency checks option is not present.
  190. 1.1.0
  191. * Switched config file format to YAML. Run upgrade-borgmatic-config to upgrade.
  192. * Added generate-borgmatic-config command for initial config creation.
  193. * Dropped Python 2 support. Now Python 3 only.
  194. * #19: Fix for README mention of sample files not included in package.
  195. * #23: Sample files for triggering borgmatic from a systemd timer.
  196. * Support for backing up to multiple repositories.
  197. * To free up space, now pruning backups prior to creating a new backup.
  198. * Enabled test coverage output during tox runs.
  199. * Added logo.
  200. 1.0.3
  201. * #22: Fix for verbosity flag not actually causing verbose output.
  202. 1.0.2
  203. * #21: Fix for traceback when remote_path option is missing.
  204. 1.0.1
  205. * #20: Support for Borg's --remote-path option to use an alternate Borg
  206. executable. See sample/config.
  207. 1.0.0
  208. * Attic is no longer supported, as there hasn't been any recent development on
  209. it. Dropping Attic support will allow faster iteration on Borg-specific
  210. features. If you're still using Attic, this is a good time to switch to Borg!
  211. * Project renamed from atticmatic to borgmatic. See the borgmatic README for
  212. information on upgrading.
  213. 0.1.8
  214. * Fix for handling of spaces in source_directories which resulted in backup up everything.
  215. * Fix for broken links to Borg documentation.
  216. * At verbosity zero, suppressing Borg check stderr spew about "Checking segments".
  217. * Support for Borg --one-file-system.
  218. * Support for Borg create --umask.
  219. * Support for file globs in source_directories.
  220. 0.1.7
  221. * #12: Fixed parsing of punctuation in configuration file.
  222. * Better error message when configuration file is missing.
  223. 0.1.6
  224. * #10: New configuration option for the encryption passphrase.
  225. * #11: Support for Borg's new archive compression feature.
  226. 0.1.5
  227. * Changes to support release on PyPI. Now pip installable by name!
  228. 0.1.4
  229. * Adding test that setup.py version matches release version.
  230. 0.1.3
  231. * #2: Add support for "borg check --last N" to Borg backend.
  232. 0.1.2
  233. * As a convenience to new users, allow a missing default excludes file.
  234. * New issue tracker, linked from documentation.
  235. 0.1.1
  236. * Adding borgmatic cron example, and updating documentation to refer to it.
  237. 0.1.0
  238. * New "borgmatic" command to support Borg backup software, a fork of Attic.
  239. 0.0.7
  240. * Flag for multiple levels of verbosity: some, and lots.
  241. * Improved mocking of Python builtins in unit tests.
  242. 0.0.6
  243. * New configuration section for customizing which Attic consistency checks run, if any.
  244. 0.0.5
  245. * Fixed regression with --verbose output being buffered. This means dropping the helpful error
  246. message introduced in 0.0.4.
  247. 0.0.4
  248. * Now using tox to run tests against multiple versions of Python in one go.
  249. * Helpful error message about how to create a repository if one is missing.
  250. * Troubleshooting section with steps to deal with broken pipes.
  251. * Nosetests config file (setup.cfg) with defaults.
  252. 0.0.3
  253. * After pruning, run attic's consistency checks on all archives.
  254. * Integration tests for argument parsing.
  255. * Documentation updates about repository encryption.
  256. 0.0.2
  257. * Configuration support for additional attic prune flags: keep_within, keep_hourly, keep_yearly,
  258. and prefix.
  259. 0.0.1
  260. * Initial release.