Simple, configuration-driven backup software for servers and workstations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

545 lines
23 KiB

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