NEWS 17 KB

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