NEWS 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149
  1. 1.8.0.dev0
  2. * #575: BREAKING: For the "borgmatic borg" action, instead of implicitly injecting
  3. repository/archive into the resulting Borg command-line, make repository and archive environment
  4. variables available for explicit use in your commands. See the documentation for more
  5. information: https://torsion.org/borgmatic/docs/how-to/run-arbitrary-borg-commands/
  6. * #719: Fix an error when running "borg key export" through borgmatic.
  7. * When merging two configuration files, error gracefully if the two files do not adhere to the same
  8. format.
  9. 1.7.15
  10. * #326: Add configuration options and command-line flags for backing up a database from one
  11. location while restoring it somewhere else.
  12. * #399: Add a documentation troubleshooting note for MySQL/MariaDB authentication errors.
  13. * #529: Remove upgrade-borgmatic-config command for upgrading borgmatic 1.1.0 INI-style
  14. configuration.
  15. * #529: Deprecate generate-borgmatic-config in favor of new "config generate" action.
  16. * #529: Deprecate validate-borgmatic-config in favor of new "config validate" action.
  17. * #697, #712, #716: Extract borgmatic configuration from backup via new "config bootstrap"
  18. action—even when borgmatic has no configuration yet!
  19. * #669: Add sample systemd user service for running borgmatic as a non-root user.
  20. * #711, #713: Fix an error when "data" check time files are accessed without getting upgraded
  21. first.
  22. 1.7.14
  23. * #484: Add a new verbosity level (-2) to disable output entirely (for console, syslog, log file,
  24. or monitoring), so not even errors are shown.
  25. * #688: Tweak archive check probing logic to use the newest timestamp found when multiple exist.
  26. * #659: Add Borg 2 date-based matching flags to various actions for archive selection.
  27. * #703: Fix an error when loading the configuration schema on Fedora Linux.
  28. * #704: Fix "check" action error when repository and archive checks are configured but the archive
  29. check gets skipped due to the configured frequency.
  30. * #706: Fix "--archive latest" on "list" and "info" actions that only worked on the first of
  31. multiple configured repositories.
  32. 1.7.13
  33. * #375: Restore particular PostgreSQL schemas from a database dump via "borgmatic restore --schema"
  34. flag. See the documentation for more information:
  35. https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#restore-particular-schemas
  36. * #678: Fix error from PostgreSQL when dumping a database with a "format" of "plain".
  37. * #678: Fix PostgreSQL hook to support "psql_command" and "pg_restore_command" options containing
  38. commands with arguments.
  39. * #678: Fix calls to psql in PostgreSQL hook to ignore "~/.psqlrc", whose settings can break
  40. database dumping.
  41. * #680: Add support for logging each log line as a JSON object via global "--log-json" flag.
  42. * #682: Fix "source_directories_must_exist" option to expand globs and tildes in source directories.
  43. * #684: Rename "master" development branch to "main" to use more inclusive language. You'll need to
  44. update your development checkouts accordingly.
  45. * #686: Add fish shell completion script so you can tab-complete on the borgmatic command-line. See
  46. the documentation for more information:
  47. https://torsion.org/borgmatic/docs/how-to/set-up-backups/#shell-completion
  48. * #687: Fix borgmatic error when not finding the configuration schema for certain "pip install
  49. --editable" development installs.
  50. * #688: Fix archive checks being skipped even when particular archives haven't been checked
  51. recently. This occurred when using multiple borgmatic configuration files with different
  52. "archive_name_format"s, for instance.
  53. * #691: Fix error in "borgmatic restore" action when the configured repository path is relative
  54. instead of absolute.
  55. * #694: Run "borgmatic borg" action without capturing output so interactive prompts and flags like
  56. "--progress" still work.
  57. 1.7.12
  58. * #413: Add "log_file" context to command hooks so your scripts can consume the borgmatic log file.
  59. See the documentation for more information:
  60. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  61. * #666, #670: Fix error when running the "info" action with the "--match-archives" or "--archive"
  62. flags. Also fix the "--match-archives"/"--archive" flags to correctly override the
  63. "match_archives" configuration option for the "transfer", "list", "rlist", and "info" actions.
  64. * #668: Fix error when running the "prune" action with both "archive_name_format" and "prefix"
  65. options set.
  66. * #672: Selectively shallow merge certain mappings or sequences when including configuration files.
  67. See the documentation for more information:
  68. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#shallow-merge
  69. * #672: Selectively omit list values when including configuration files. See the documentation for
  70. more information:
  71. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#list-merge
  72. * #673: View the results of configuration file merging via "validate-borgmatic-config --show" flag.
  73. See the documentation for more information:
  74. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#debugging-includes
  75. * Add optional support for running end-to-end tests and building documentation with rootless Podman
  76. instead of Docker.
  77. 1.7.11
  78. * #479, #588: BREAKING: Automatically use the "archive_name_format" option to filter which archives
  79. get used for borgmatic actions that operate on multiple archives. Override this behavior with the
  80. new "match_archives" option in the storage section. This change is "breaking" in that it silently
  81. changes which archives get considered for "rlist", "prune", "check", etc. See the documentation
  82. for more information:
  83. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#archive-naming
  84. * #479, #588: The "prefix" options have been deprecated in favor of the new "archive_name_format"
  85. auto-matching behavior and the "match_archives" option.
  86. * #658: Add "--log-file-format" flag for customizing the log message format. See the documentation
  87. for more information:
  88. https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/#logging-to-file
  89. * #662: Fix regression in which the "check_repositories" option failed to match repositories.
  90. * #663: Fix regression in which the "transfer" action produced a traceback.
  91. * Add spellchecking of source code during test runs.
  92. 1.7.10
  93. * #396: When a database command errors, display and log the error message instead of swallowing it.
  94. * #501: Optionally error if a source directory does not exist via "source_directories_must_exist"
  95. option in borgmatic's location configuration.
  96. * #576: Add support for "file://" paths within "repositories" option.
  97. * #612: Define and use custom constants in borgmatic configuration files. See the documentation for
  98. more information:
  99. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#constant-interpolation
  100. * #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
  101. in borgmatic's storage configuration.
  102. * #623: Fix confusing message when an error occurs running actions for a configuration file.
  103. * #635: Add optional repository labels so you can select a repository via "--repository yourlabel"
  104. at the command-line. See the configuration reference for more information:
  105. https://torsion.org/borgmatic/docs/reference/configuration/
  106. * #649: Add documentation on backing up a database running in a container:
  107. https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
  108. * #655: Fix error when databases are configured and a source directory doesn't exist.
  109. * Add code style plugins to enforce use of Python f-strings and prevent single-letter variables.
  110. To join in the pedantry, refresh your test environment with "tox --recreate".
  111. * Rename scripts/run-full-dev-tests to scripts/run-end-to-end-dev-tests and make it run end-to-end
  112. tests only. Continue using tox to run unit and integration tests.
  113. 1.7.9
  114. * #295: Add a SQLite database dump/restore hook.
  115. * #304: Change the default action order when no actions are specified on the command-line to:
  116. "create", "prune", "compact", "check". If you'd like to retain the old ordering ("prune" and
  117. "compact" first), then specify actions explicitly on the command-line.
  118. * #304: Run any command-line actions in the order specified instead of using a fixed ordering.
  119. * #564: Add "--repository" flag to all actions where it makes sense, so you can run borgmatic on
  120. a single configured repository instead of all of them.
  121. * #628: Add a Healthchecks "log" state to send borgmatic logs to Healthchecks without signalling
  122. success or failure.
  123. * #647: Add "--strip-components all" feature on the "extract" action to remove leading path
  124. components of files you extract. Must be used with the "--path" flag.
  125. * Add support for Python 3.11.
  126. 1.7.8
  127. * #620: With the "create" action and the "--list" ("--files") flag, only show excluded files at
  128. verbosity 2.
  129. * #621: Add optional authentication to the ntfy monitoring hook.
  130. * With the "create" action, only one of "--list" ("--files") and "--progress" flags can be used.
  131. This lines up with the new behavior in Borg 2.0.0b5.
  132. * Internally support new Borg 2.0.0b5 "--filter" status characters / item flags for the "create"
  133. action.
  134. * Fix the "create" action with the "--dry-run" flag querying for databases when a PostgreSQL/MySQL
  135. "all" database is configured. Now, these queries are skipped due to the dry run.
  136. * Add "--repository" flag to the "rcreate" action to optionally select one configured repository to
  137. create.
  138. * Add "--progress" flag to the "transfer" action, new in Borg 2.0.0b5.
  139. * Add "checkpoint_volume" configuration option to creates checkpoints every specified number of
  140. bytes during a long-running backup, new in Borg 2.0.0b5.
  141. 1.7.7
  142. * #642: Add MySQL database hook "add_drop_database" configuration option to control whether dumped
  143. MySQL databases get dropped right before restore.
  144. * #643: Fix for potential data loss (data not getting backed up) when dumping large "directory"
  145. format PostgreSQL/MongoDB databases. Prior to the fix, these dumps would not finish writing to
  146. disk before Borg consumed them. Now, the dumping process completes before Borg starts. This only
  147. applies to "directory" format databases; other formats still stream to Borg without using
  148. temporary disk space.
  149. * Fix MongoDB "directory" format to work with mongodump/mongorestore without error. Prior to this
  150. fix, only the "archive" format worked.
  151. 1.7.6
  152. * #393, #438, #560: Optionally dump "all" PostgreSQL/MySQL databases to separate files instead of
  153. one combined dump file, allowing more convenient restores of individual databases. You can enable
  154. this by specifying the database dump "format" option when the database is named "all".
  155. * #602: Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout.
  156. * #622: Fix traceback when include merging configuration files on ARM64.
  157. * #629: Skip warning about excluded special files when no special files have been excluded.
  158. * #630: Add configuration options for database command customization: "list_options",
  159. "restore_options", and "analyze_options" for PostgreSQL, "restore_options" for MySQL, and
  160. "restore_options" for MongoDB.
  161. 1.7.5
  162. * #311: Override PostgreSQL dump/restore commands via configuration options.
  163. * #604: Fix traceback when a configuration section is present but lacking any options.
  164. * #607: Clarify documentation examples for include merging and deep merging.
  165. * #611: Fix "data" consistency check to support "check_last" and consistency "prefix" options.
  166. * #613: Clarify documentation about multiple repositories and separate configuration files.
  167. 1.7.4
  168. * #596: Fix special file detection erroring when broken symlinks are encountered.
  169. * #597, #598: Fix regression in which "check" action errored on certain systems ("Cannot determine
  170. Borg repository ID").
  171. 1.7.3
  172. * #357: Add "break-lock" action for removing any repository and cache locks leftover from Borg
  173. aborting.
  174. * #360: To prevent Borg hangs, unconditionally delete stale named pipes before dumping databases.
  175. * #587: When database hooks are enabled, auto-exclude special files from a "create" action to
  176. prevent Borg from hanging. You can override/prevent this behavior by explicitly setting the
  177. "read_special" option to true.
  178. * #587: Warn when ignoring a configured "read_special" value of false, as true is needed when
  179. database hooks are enabled.
  180. * #589: Update sample systemd service file to allow system "idle" (e.g. a video monitor turning
  181. off) while borgmatic is running.
  182. * #590: Fix for potential data loss (data not getting backed up) when the "patterns_from" option
  183. was used with "source_directories" (or the "~/.borgmatic" path existed, which got injected into
  184. "source_directories" implicitly). The fix is for borgmatic to convert "source_directories" into
  185. patterns whenever "patterns_from" is used, working around a Borg bug:
  186. https://github.com/borgbackup/borg/issues/6994
  187. * #590: In "borgmatic create --list" output, display which files get excluded from the backup due
  188. to patterns or excludes.
  189. * #591: Add support for Borg 2's "--match-archives" flag. This replaces "--glob-archives", which
  190. borgmatic now treats as an alias for "--match-archives". But note that the two flags have
  191. slightly different syntax. See the Borg 2 changelog for more information:
  192. https://borgbackup.readthedocs.io/en/2.0.0b3/changes.html#version-2-0-0b3-2022-10-02
  193. * Fix for "borgmatic --archive latest" not finding the latest archive when a verbosity is set.
  194. 1.7.2
  195. * #577: Fix regression in which "borgmatic info --archive ..." showed repository info instead of
  196. archive info with Borg 1.
  197. * #582: Fix hang when database hooks are enabled and "patterns" contains a parent directory of
  198. "~/.borgmatic".
  199. 1.7.1
  200. * #542: Make the "source_directories" option optional. This is useful for "check"-only setups or
  201. using "patterns" exclusively.
  202. * #574: Fix for potential data loss (data not getting backed up) when the "patterns" option was
  203. used with "source_directories" (or the "~/.borgmatic" path existed, which got injected into
  204. "source_directories" implicitly). The fix is for borgmatic to convert "source_directories" into
  205. patterns whenever "patterns" is used, working around a Borg bug:
  206. https://github.com/borgbackup/borg/issues/6994
  207. 1.7.0
  208. * #463: Add "before_actions" and "after_actions" command hooks that run before/after all the
  209. actions for each repository. These new hooks are a good place to run per-repository steps like
  210. mounting/unmounting a remote filesystem.
  211. * #463: Update documentation to cover per-repository configurations:
  212. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/
  213. * #557: Support for Borg 2 while still working with Borg 1. This includes new borgmatic actions
  214. like "rcreate" (replaces "init"), "rlist" (list archives in repository), "rinfo" (show repository
  215. info), and "transfer" (for upgrading Borg repositories). For the most part, borgmatic tries to
  216. smooth over differences between Borg 1 and 2 to make your upgrade process easier. However, there
  217. are still a few cases where Borg made breaking changes. See the Borg 2.0 changelog for more
  218. information: https://www.borgbackup.org/releases/borg-2.0.html
  219. * #557: If you install Borg 2, you'll need to manually upgrade your existing Borg 1 repositories
  220. before use. Note that Borg 2 stable is not yet released as of this borgmatic release, so don't
  221. use Borg 2 for production until it is! See the documentation for more information:
  222. https://torsion.org/borgmatic/docs/how-to/upgrade/#upgrading-borg
  223. * #557: Rename several configuration options to match Borg 2: "remote_rate_limit" is now
  224. "upload_rate_limit", "numeric_owner" is "numeric_ids", and "bsd_flags" is "flags". borgmatic
  225. still works with the old options.
  226. * #557: Remote repository paths without the "ssh://" syntax are deprecated but still supported for
  227. now. Remote repository paths containing "~" are deprecated in borgmatic and no longer work in
  228. Borg 2.
  229. * #557: Omitting the "--archive" flag on the "list" action is deprecated when using Borg 2. Use
  230. the new "rlist" action instead.
  231. * #557: The "--dry-run" flag can now be used with the "rcreate"/"init" action.
  232. * #565: Fix handling of "repository" and "data" consistency checks to prevent invalid Borg flags.
  233. * #566: Modify "mount" and "extract" actions to require the "--repository" flag when multiple
  234. repositories are configured.
  235. * #571: BREAKING: Remove old-style command-line action flags like "--create, "--list", etc. If
  236. you're already using actions like "create" and "list" instead, this change should not affect you.
  237. * #571: BREAKING: Rename "--files" flag on "prune" action to "--list", as it lists archives, not
  238. files.
  239. * #571: Add "--list" as alias for "--files" flag on "create" and "export-tar" actions.
  240. * Add support for disabling TLS verification in Healthchecks monitoring hook with "verify_tls"
  241. option.
  242. 1.6.6
  243. * #559: Update documentation about configuring multiple consistency checks or multiple databases.
  244. * #560: Fix all database hooks to error when the requested database to restore isn't present in the
  245. Borg archive.
  246. * #561: Fix command-line "--override" flag to continue supporting old configuration file formats.
  247. * #563: Fix traceback with "create" action and "--json" flag when a database hook is configured.
  248. 1.6.5
  249. * #553: Fix logging to include the full traceback when Borg experiences an internal error, not just
  250. the first few lines.
  251. * #554: Fix all monitoring hooks to warn if the server returns an HTTP 4xx error. This can happen
  252. with Healthchecks, for instance, when using an invalid ping URL.
  253. * #555: Fix environment variable plumbing so options like "encryption_passphrase" and
  254. "encryption_passcommand" in one configuration file aren't used for other configuration files.
  255. 1.6.4
  256. * #546, #382: Keep your repository passphrases and database passwords outside of borgmatic's
  257. configuration file with environment variable interpolation. See the documentation for more
  258. information: https://torsion.org/borgmatic/docs/how-to/provide-your-passwords/
  259. 1.6.3
  260. * #541: Add "borgmatic list --find" flag for searching for files across multiple archives, useful
  261. for hunting down that file you accidentally deleted so you can extract it. See the documentation
  262. for more information:
  263. https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/#searching-for-a-file
  264. * #543: Add a monitoring hook for sending push notifications via ntfy. See the documentation for
  265. more information: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#ntfy-hook
  266. * Fix Bash completion script to no longer alter your shell's settings (complain about unset
  267. variables or error on pipe failures).
  268. * Deprecate "borgmatic list --successful" flag, as listing only non-checkpoint (successful)
  269. archives is now the default in newer versions of Borg.
  270. 1.6.2
  271. * #523: Reduce the default consistency check frequency and support configuring the frequency
  272. independently for each check. Also add "borgmatic check --force" flag to ignore configured
  273. frequencies. See the documentation for more information:
  274. https://torsion.org/borgmatic/docs/how-to/deal-with-very-large-backups/#check-frequency
  275. * #536: Fix generate-borgmatic-config to support more complex schema changes like the new
  276. Healthchecks configuration options when the "--source" flag is used.
  277. * #538: Add support for "borgmatic borg debug" command.
  278. * #539: Add "generate-borgmatic-config --overwrite" flag to replace an existing destination file.
  279. * Add Bash completion script so you can tab-complete the borgmatic command-line. See the
  280. documentation for more information:
  281. https://torsion.org/borgmatic/docs/how-to/set-up-backups/#shell-completion
  282. 1.6.1
  283. * #294: Add Healthchecks monitoring hook "ping_body_limit" option to configure how many bytes of
  284. logs to send to the Healthchecks server.
  285. * #402: Remove the error when "archive_name_format" is specified but a retention prefix isn't.
  286. * #420: Warn when an unsupported variable is used in a hook command.
  287. * #439: Change connection failures for monitoring hooks (Healthchecks, Cronitor, PagerDuty, and
  288. Cronhub) to be warnings instead of errors. This way, the monitoring system failing does not block
  289. backups.
  290. * #460: Add Healthchecks monitoring hook "send_logs" option to enable/disable sending borgmatic
  291. logs to the Healthchecks server.
  292. * #525: Add Healthchecks monitoring hook "states" option to only enable pinging for particular
  293. monitoring states (start, finish, fail).
  294. * #528: Improve the error message when a configuration override contains an invalid value.
  295. * #531: BREAKING: When deep merging common configuration, merge colliding list values by appending
  296. them. Previously, one list replaced the other.
  297. * #532: When a configuration include is a relative path, load it from either the current working
  298. directory or from the directory containing the file doing the including. Previously, only the
  299. working directory was used.
  300. * Add a randomized delay to the sample systemd timer to spread out the load on a server.
  301. * Change the configuration format for borgmatic monitoring hooks (Healthchecks, Cronitor,
  302. PagerDuty, and Cronhub) to specify the ping URL / integration key as a named option. The intent
  303. is to support additional options (some in this release). This change is backwards-compatible.
  304. * Add emojis to documentation table of contents to make it easier to find particular how-to and
  305. reference guides at a glance.
  306. 1.6.0
  307. * #381: BREAKING: Greatly simplify configuration file reuse by deep merging when including common
  308. configuration. See the documentation for more information:
  309. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#include-merging
  310. * #473: BREAKING: Instead of executing "before" command hooks before all borgmatic actions run (and
  311. "after" hooks after), execute these hooks right before/after the corresponding action. E.g.,
  312. "before_check" now runs immediately before the "check" action. This better supports running
  313. timing-sensitive tasks like pausing containers. Side effect: before/after command hooks now run
  314. once for each configured repository instead of once per configuration file. Additionally, the
  315. "repositories" interpolated variable has been changed to "repository", containing the path to the
  316. current repository for the hook. See the documentation for more information:
  317. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  318. * #513: Add mention of sudo's "secure_path" option to borgmatic installation documentation.
  319. * #515: Fix "borgmatic borg key ..." to pass parameters to Borg in the correct order.
  320. * #516: Fix handling of TERM signal to exit borgmatic, not just forward the signal to Borg.
  321. * #517: Fix borgmatic exit code (so it's zero) when initial Borg calls fail but later retries
  322. succeed.
  323. * Change Healthchecks logs truncation size from 10k bytes to 100k bytes, corresponding to that
  324. same change on Healthchecks.io.
  325. 1.5.24
  326. * #431: Add "working_directory" option to support source directories with relative paths.
  327. * #444: When loading a configuration file that is unreadable due to file permissions, warn instead
  328. of erroring. This supports running borgmatic as a non-root user with configuration in ~/.config
  329. even if there is an unreadable global configuration file in /etc.
  330. * #469: Add "repositories" context to "before_*" and "after_*" command action hooks. See the
  331. documentation for more information:
  332. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  333. * #486: Fix handling of "patterns_from" and "exclude_from" options to error instead of warning when
  334. referencing unreadable files and "create" action is run.
  335. * #507: Fix Borg usage error in the "compact" action when running "borgmatic --dry-run". Now, skip
  336. "compact" entirely during a dry run.
  337. 1.5.23
  338. * #394: Compact repository segments and free space with new "borgmatic compact" action. Borg 1.2+
  339. only. Also run "compact" by default when no actions are specified, as "prune" in Borg 1.2 no
  340. longer frees up space unless "compact" is run.
  341. * #394: When using the "atime", "bsd_flags", "numeric_owner", or "remote_rate_limit" options,
  342. tailor the flags passed to Borg depending on the Borg version.
  343. * #480, #482: Fix traceback when a YAML validation error occurs.
  344. 1.5.22
  345. * #288: Add database dump hook for MongoDB.
  346. * #470: Move mysqldump options to the beginning of the command due to MySQL bug 30994.
  347. * #471: When command-line configuration override produces a parse error, error cleanly instead of
  348. tracebacking.
  349. * #476: Fix unicode error when restoring particular MySQL databases.
  350. * Drop support for Python 3.6, which has been end-of-lifed.
  351. * Add support for Python 3.10.
  352. 1.5.21
  353. * #28: Optionally retry failing backups via "retries" and "retry_wait" configuration options.
  354. * #306: Add "list_options" MySQL configuration option for passing additional arguments to MySQL
  355. list command.
  356. * #459: Add support for old version (2.x) of jsonschema library.
  357. 1.5.20
  358. * Re-release with correct version without dev0 tag.
  359. 1.5.19
  360. * #387: Fix error when configured source directories are not present on the filesystem at the time
  361. of backup. Now, Borg will complain, but the backup will still continue.
  362. * #455: Mention changing borgmatic path in cron documentation.
  363. * Update sample systemd service file with more granular read-only filesystem settings.
  364. * Move Gitea and GitHub hosting from a personal namespace to an organization for better
  365. collaboration with related projects.
  366. * 1k ★s on GitHub!
  367. 1.5.18
  368. * #389: Fix "message too long" error when logging to rsyslog.
  369. * #440: Fix traceback that can occur when dumping a database.
  370. 1.5.17
  371. * #437: Fix error when configuration file contains "umask" option.
  372. * Remove test dependency on vim and /dev/urandom.
  373. 1.5.16
  374. * #379: Suppress console output in sample crontab and systemd service files.
  375. * #407: Fix syslog logging on FreeBSD.
  376. * #430: Fix hang when restoring a PostgreSQL "tar" format database dump.
  377. * Better error messages! Switch the library used for validating configuration files (from pykwalify
  378. to jsonschema).
  379. * Link borgmatic Ansible role from installation documentation:
  380. https://torsion.org/borgmatic/docs/how-to/set-up-backups/#other-ways-to-install
  381. 1.5.15
  382. * #419: Document use case of running backups conditionally based on laptop power level:
  383. https://torsion.org/borgmatic/docs/how-to/backup-to-a-removable-drive-or-an-intermittent-server/
  384. * #425: Run arbitrary Borg commands with new "borgmatic borg" action. See the documentation for
  385. more information: https://torsion.org/borgmatic/docs/how-to/run-arbitrary-borg-commands/
  386. 1.5.14
  387. * #390: Add link to Hetzner storage offering from the documentation.
  388. * #398: Clarify canonical home of borgmatic in documentation.
  389. * #406: Clarify that spaces in path names should not be backslashed in path names.
  390. * #423: Fix error handling to error loudly when Borg gets killed due to running out of memory!
  391. * Fix build so as not to attempt to build and push documentation for a non-main branch.
  392. * "Fix" build failure with Alpine Edge by switching from Edge to Alpine 3.13.
  393. * Move #borgmatic IRC channel from Freenode to Libera Chat due to Freenode takeover drama.
  394. IRC connection info: https://torsion.org/borgmatic/#issues
  395. 1.5.13
  396. * #373: Document that passphrase is used for Borg keyfile encryption, not just repokey encryption.
  397. * #404: Add support for ruamel.yaml 0.17.x YAML parsing library.
  398. * Update systemd service example to return a permission error when a system call isn't permitted
  399. (instead of terminating borgmatic outright).
  400. * Drop support for Python 3.5, which has been end-of-lifed.
  401. * Add support for Python 3.9.
  402. * Update versions of test dependencies (test_requirements.txt and test containers).
  403. * Only support black code formatter on Python 3.8+. New black dependencies make installation
  404. difficult on older versions of Python.
  405. * Replace "improve this documentation" form with link to support and ticket tracker.
  406. 1.5.12
  407. * Fix for previous release with incorrect version suffix in setup.py. No other changes.
  408. 1.5.11
  409. * #341: Add "temporary_directory" option for changing Borg's temporary directory.
  410. * #352: Lock down systemd security settings in sample systemd service file.
  411. * #355: Fix traceback when a database hook value is null in a configuration file.
  412. * #361: Merge override values when specifying the "--override" flag multiple times. The previous
  413. behavior was to take the value of the last "--override" flag only.
  414. * #367: Fix traceback when upgrading old INI-style configuration with upgrade-borgmatic-config.
  415. * #368: Fix signal forwarding from borgmatic to Borg resulting in recursion traceback.
  416. * #369: Document support for Borg placeholders in repository names.
  417. 1.5.10
  418. * #347: Add hooks that run for the "extract" action: "before_extract" and "after_extract".
  419. * #350: Fix traceback when a configuration directory is non-readable due to directory permissions.
  420. * Add documentation navigation links on left side of all documentation pages.
  421. * Clarify documentation on configuration overrides, specifically the portion about list syntax:
  422. http://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#configuration-overrides
  423. * Clarify documentation overview of monitoring options:
  424. http://torsion.org/borgmatic/docs/how-to/monitor-your-backups/
  425. 1.5.9
  426. * #300: Add "borgmatic export-tar" action to export an archive to a tar-formatted file or stream.
  427. * #339: Fix for intermittent timing-related test failure of logging function.
  428. * Clarify database documentation about excluding named pipes and character/block devices to prevent
  429. hangs.
  430. * Add documentation on how to make backups redundant with multiple repositories:
  431. https://torsion.org/borgmatic/docs/how-to/make-backups-redundant/
  432. 1.5.8
  433. * #336: Fix for traceback when running Cronitor, Cronhub, and PagerDuty monitor hooks.
  434. 1.5.7
  435. * #327: Fix broken pass-through of BORG_* environment variables to Borg.
  436. * #328: Fix duplicate logging to Healthchecks and send "after_*" hooks output to Healthchecks.
  437. * #331: Add SSL support to PostgreSQL database configuration.
  438. * #333: Fix for potential data loss (data not getting backed up) when borgmatic omitted configured
  439. source directories in certain situations. Specifically, this occurred when two source directories
  440. on different filesystems were related by parentage (e.g. "/foo" and "/foo/bar/baz") and the
  441. one_file_system option was enabled.
  442. * Update documentation code fragments theme to better match the rest of the page.
  443. * Improve configuration reference documentation readability via more aggressive word-wrapping in
  444. configuration schema descriptions.
  445. 1.5.6
  446. * #292: Allow before_backup and similar hooks to exit with a soft failure without altering the
  447. monitoring status on Healthchecks or other providers. Support this by waiting to ping monitoring
  448. services with a "start" status until after before_* hooks finish. Failures in before_* hooks
  449. still trigger a monitoring "fail" status.
  450. * #316: Fix hang when a stale database dump named pipe from an aborted borgmatic run remains on
  451. disk.
  452. * #323: Fix for certain configuration options like ssh_command impacting Borg invocations for
  453. separate configuration files.
  454. * #324: Add "borgmatic extract --strip-components" flag to remove leading path components when
  455. extracting an archive.
  456. * Tweak comment indentation in generated configuration file for clarity.
  457. * Link to Borgmacator GNOME AppIndicator from monitoring documentation.
  458. 1.5.5
  459. * #314: Fix regression in support for PostgreSQL's "directory" dump format. Unlike other dump
  460. formats, the "directory" dump format does not stream directly to/from Borg.
  461. * #315: Fix enabled database hooks to implicitly set one_file_system configuration option to true.
  462. This prevents Borg from reading devices like /dev/zero and hanging.
  463. * #316: Fix hang when streaming a database dump to Borg with implicit duplicate source directories
  464. by deduplicating them first.
  465. * #319: Fix error message when there are no MySQL databases to dump for "all" databases.
  466. * Improve documentation around the installation process. Specifically, making borgmatic commands
  467. runnable via the system PATH and offering a global install option.
  468. 1.5.4
  469. * #310: Fix legitimate database dump command errors (exit code 1) not being treated as errors by
  470. borgmatic.
  471. * For database dumps, replace the named pipe on every borgmatic run. This prevent hangs on stale
  472. pipes left over from previous runs.
  473. * Fix error handling to handle more edge cases when executing commands.
  474. 1.5.3
  475. * #258: Stream database dumps and restores directly to/from Borg without using any additional
  476. filesystem space. This feature is automatic, and works even on restores from archives made with
  477. previous versions of borgmatic.
  478. * #293: Documentation on macOS launchd permissions issues with work-around for Full Disk Access.
  479. * Remove "borgmatic restore --progress" flag, as it now conflicts with streaming database restores.
  480. 1.5.2
  481. * #301: Fix MySQL restore error on "all" database dump by excluding system tables.
  482. * Fix PostgreSQL restore error on "all" database dump by using "psql" for the restore instead of
  483. "pg_restore".
  484. 1.5.1
  485. * #289: Tired of looking up the latest successful archive name in order to pass it to borgmatic
  486. actions? Me too. Now you can specify "--archive latest" to all actions that accept an archive
  487. flag.
  488. * #290: Fix the "--stats" and "--files" flags so that they yield output at verbosity 0.
  489. * Reduce the default verbosity of borgmatic logs sent to Healthchecks monitoring hook. Now, it's
  490. warnings and errors only. You can increase the verbosity via the "--monitoring-verbosity" flag.
  491. * Add security policy documentation in SECURITY.md.
  492. 1.5.0
  493. * #245: Monitor backups with PagerDuty hook integration. See the documentation for more
  494. information: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#pagerduty-hook
  495. * #255: Add per-action hooks: "before_prune", "after_prune", "before_check", and "after_check".
  496. * #274: Add ~/.config/borgmatic.d as another configuration directory default.
  497. * #277: Customize Healthchecks log level via borgmatic "--monitoring-verbosity" flag.
  498. * #280: Change "exclude_if_present" option to support multiple filenames that indicate a directory
  499. should be excluded from backups, rather than just a single filename.
  500. * #284: Backup to a removable drive or intermittent server via "soft failure" feature. See the
  501. documentation for more information:
  502. https://torsion.org/borgmatic/docs/how-to/backup-to-a-removable-drive-or-an-intermittent-server/
  503. * #287: View consistency check progress via "--progress" flag for "check" action.
  504. * For "create" and "prune" actions, no longer list files or show detailed stats at any verbosities
  505. by default. You can opt back in with "--files" or "--stats" flags.
  506. * For "list" and "info" actions, show repository names even at verbosity 0.
  507. 1.4.22
  508. * #276, #285: Disable colored output when "--json" flag is used, so as to produce valid JSON output.
  509. * After a backup of a database dump in directory format, properly remove the dump directory.
  510. * In "borgmatic --help", don't expand $HOME in listing of default "--config" paths.
  511. 1.4.21
  512. * #268: Override particular configuration options from the command-line via "--override" flag. See
  513. the documentation for more information:
  514. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#configuration-overrides
  515. * #270: Only trigger "on_error" hooks and monitoring failures for "prune", "create", and "check"
  516. actions, and not for other actions.
  517. * When pruning with verbosity level 1, list pruned and kept archives. Previously, this information
  518. was only shown at verbosity level 2.
  519. 1.4.20
  520. * Fix repository probing during "borgmatic init" to respect verbosity flag and remote_path option.
  521. * #249: Update Healthchecks/Cronitor/Cronhub monitoring integrations to fire for "check" and
  522. "prune" actions, not just "create".
  523. 1.4.19
  524. * #259: Optionally change the internal database dump path via "borgmatic_source_directory" option
  525. in location configuration section.
  526. * #271: Support piping "borgmatic list" output to grep by logging certain log levels to console
  527. stdout and others to stderr.
  528. * Retain colored output when piping or redirecting in an interactive terminal.
  529. * Add end-to-end tests for database dump and restore. These are run on developer machines with
  530. Docker Compose for approximate parity with continuous integration tests.
  531. 1.4.18
  532. * Fix "--repository" flag to accept relative paths.
  533. * Fix "borgmatic umount" so it only runs Borg once instead of once per repository / configuration
  534. file.
  535. * #253: Mount whole repositories via "borgmatic mount" without any "--archive" flag.
  536. * #269: Filter listed paths via "borgmatic list --path" flag.
  537. 1.4.17
  538. * #235: Pass extra options directly to particular Borg commands, handy for Borg options that
  539. borgmatic does not yet support natively. Use "extra_borg_options" in the storage configuration
  540. section.
  541. * #266: Attempt to repair any inconsistencies found during a consistency check via
  542. "borgmatic check --repair" flag.
  543. 1.4.16
  544. * #256: Fix for "before_backup" hook not triggering an error when the command contains "borg" and
  545. has an exit code of 1.
  546. * #257: Fix for garbled Borg file listing when using "borgmatic create --progress" with
  547. verbosity level 1 or 2.
  548. * #260: Fix for missing Healthchecks monitoring payload or HTTP 500 due to incorrect unicode
  549. encoding.
  550. 1.4.15
  551. * Fix for database dump removal incorrectly skipping some database dumps.
  552. * #123: Support for mounting an archive as a FUSE filesystem via "borgmatic mount" action, and
  553. unmounting via "borgmatic umount". See the documentation for more information:
  554. https://torsion.org/borgmatic/docs/how-to/extract-a-backup/#mount-a-filesystem
  555. 1.4.14
  556. * Show summary log errors regardless of verbosity level, and log the "summary:" header with a log
  557. level based on the contained summary logs.
  558. 1.4.13
  559. * Show full error logs at "--verbosity 0" so you can see command output without upping the
  560. verbosity level.
  561. 1.4.12
  562. * #247: With "borgmatic check", consider Borg warnings as errors.
  563. * Dial back the display of inline error logs a bit, so failed command output doesn't appear
  564. multiple times in the logs (well, except for the summary).
  565. 1.4.11
  566. * #241: When using the Healthchecks monitoring hook, include borgmatic logs in the payloads for
  567. completion and failure pings.
  568. * With --verbosity level 1 or 2, show error logs both inline when they occur and in the summary
  569. logs at the bottom. With lower verbosity levels, suppress the summary and show error logs when
  570. they occur.
  571. 1.4.10
  572. * #246: Fix for "borgmatic restore" showing success and incorrectly extracting archive files, even
  573. when no databases are configured to restore. As this can overwrite files from the archive and
  574. lead to data loss, please upgrade to get the fix before using "borgmatic restore".
  575. * Reopen the file given by "--log-file" flag if an external program rotates the log file while
  576. borgmatic is running.
  577. 1.4.9
  578. * #228: Database dump hooks for MySQL/MariaDB, so you can easily dump your databases before backups
  579. run.
  580. * #243: Fix repository does not exist error with "borgmatic extract" when repository is remote.
  581. 1.4.8
  582. * Monitor backups with Cronhub hook integration. See the documentation for more information:
  583. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#cronhub-hook
  584. * Fix Healthchecks/Cronitor hooks to skip actions when the borgmatic "--dry-run" flag is used.
  585. 1.4.7
  586. * #238: In documentation, clarify when Healthchecks/Cronitor hooks fire in relation to other hooks.
  587. * #239: Upgrade your borgmatic configuration to get new options and comments via
  588. "generate-borgmatic-config --source". See the documentation for more information:
  589. https://torsion.org/borgmatic/docs/how-to/upgrade/#upgrading-your-configuration
  590. 1.4.6
  591. * Verbosity level "-1" for even quieter output: Errors only (#236).
  592. 1.4.5
  593. * Log to file instead of syslog via command-line "--log-file" flag (#233).
  594. 1.4.4
  595. * #234: Support for Borg --keep-exclude-tags and --exclude-nodump options.
  596. 1.4.3
  597. * Monitor backups with Cronitor hook integration. See the documentation for more information:
  598. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#cronitor-hook
  599. 1.4.2
  600. * Extract files to a particular directory via "borgmatic extract --destination" flag.
  601. * Rename "borgmatic extract --restore-path" flag to "--path" to reduce confusion with the separate
  602. "borgmatic restore" action. Any uses of "--restore-path" will continue working.
  603. 1.4.1
  604. * #229: Restore backed up PostgreSQL databases via "borgmatic restore" action. See the
  605. documentation for more information:
  606. https://torsion.org/borgmatic/docs/how-to/backup-your-databases/
  607. * Documentation on how to develop borgmatic's documentation:
  608. https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/#documentation-development
  609. 1.4.0
  610. * #225: Database dump hooks for PostgreSQL, so you can easily dump your databases before backups
  611. run.
  612. * #230: Rename "borgmatic list --pattern-from" flag to "--patterns-from" to match Borg.
  613. 1.3.26
  614. * #224: Fix "borgmatic list --successful" with a slightly better heuristic for listing successful
  615. (non-checkpoint) archives.
  616. 1.3.25
  617. * #223: Dead man's switch to detect when backups start failing silently, implemented via
  618. healthchecks.io hook integration. See the documentation for more information:
  619. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#healthchecks-hook
  620. * Documentation on monitoring and alerting options for borgmatic backups:
  621. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/
  622. * Automatically rewrite links when developing on documentation locally.
  623. 1.3.24
  624. * #86: Add "borgmatic list --successful" flag to only list successful (non-checkpoint) archives.
  625. * Add a suggestion form to all documentation pages, so users can submit ideas for improving the
  626. documentation.
  627. * Update documentation link to community Arch Linux borgmatic package.
  628. 1.3.23
  629. * #174: More detailed error alerting via runtime context available in "on_error" hook.
  630. 1.3.22
  631. * #144: When backups to one of several repositories fails, keep backing up to the other
  632. repositories and report errors afterwards.
  633. 1.3.21
  634. * #192: User-defined hooks for global setup or cleanup that run before/after all actions. See the
  635. documentation for more information:
  636. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  637. 1.3.20
  638. * #205: More robust sample systemd service: boot delay, network dependency, lowered CPU/IO
  639. priority, etc.
  640. * #221: Fix "borgmatic create --progress" output so that it updates on the console in real-time.
  641. 1.3.19
  642. * #219: Fix visibility of "borgmatic prune --stats" output.
  643. 1.3.18
  644. * #220: Fix regression of argument parsing for default actions.
  645. 1.3.17
  646. * #217: Fix error with "borgmatic check --only" command-line flag with "extract" consistency check.
  647. 1.3.16
  648. * #210: Support for Borg check --verify-data flag via borgmatic "data" consistency check.
  649. * #210: Override configured consistency checks via "borgmatic check --only" command-line flag.
  650. * When generating sample configuration with generate-borgmatic-config, add a space after each "#"
  651. comment indicator.
  652. 1.3.15
  653. * #208: Fix for traceback when the "checks" option has an empty value.
  654. * #209: Bypass Borg error about a moved repository via "relocated_repo_access_is_ok" option in
  655. borgmatic storage configuration section.
  656. * #213: Reorder arguments passed to Borg to fix duplicate directories when using Borg patterns.
  657. * #214: Fix for hook erroring with exit code 1 not being interpreted as an error.
  658. 1.3.14
  659. * #204: Do not treat Borg warnings (exit code 1) as failures.
  660. * When validating configuration files, require strings instead of allowing any scalar type.
  661. 1.3.13
  662. * #199: Add note to documentation about using spaces instead of tabs for indentation, as YAML does
  663. not allow tabs.
  664. * #203: Fix compatibility with ruamel.yaml 0.16.x.
  665. * If a "prefix" option in borgmatic's configuration has an empty value (blank or ""), then disable
  666. default prefix.
  667. 1.3.12
  668. * Only log to syslog when run from a non-interactive console (e.g. a cron job).
  669. * Remove unicode byte order mark from syslog output so it doesn't show up as a literal in rsyslog
  670. output. See discussion on #197.
  671. 1.3.11
  672. * #193: Pass through several "borg list" and "borg info" flags like --short, --format, --sort-by,
  673. --first, --last, etc. via borgmatic command-line flags.
  674. * Add borgmatic info --repository and --archive command-line flags to display info for individual
  675. repositories or archives.
  676. * Support for Borg --noatime, --noctime, and --nobirthtime flags via corresponding options in
  677. borgmatic configuration location section.
  678. 1.3.10
  679. * #198: Fix for Borg create error output not showing up at borgmatic verbosity level zero.
  680. 1.3.9
  681. * #195: Switch to command-line actions as more traditional sub-commands, e.g. "borgmatic create",
  682. "borgmatic prune", etc. However, the classic dashed options like "--create" still work!
  683. 1.3.8
  684. * #191: Disable console color via "color" option in borgmatic configuration output section.
  685. 1.3.7
  686. * #196: Fix for unclear error message for invalid YAML merge include.
  687. * #197: Don't color syslog output.
  688. * Change default syslog verbosity to show errors only.
  689. 1.3.6
  690. * #53: Log to syslog in addition to existing console logging. Add --syslog-verbosity flag to
  691. customize the log level. See the documentation for more information:
  692. https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/
  693. * #178: Look for .yml configuration file extension in addition to .yaml.
  694. * #189: Set umask used when executing hooks via "umask" option in borgmatic hooks section.
  695. * Remove Python cache files before each Tox run.
  696. * Add #borgmatic Freenode IRC channel to documentation.
  697. * Add Borg/borgmatic hosting providers section to documentation.
  698. * Add files for building documentation into a Docker image for web serving.
  699. * Upgrade project build server from Drone 0.8 to 1.1.
  700. * Build borgmatic documentation during continuous integration.
  701. * We're nearly at 500 ★s on GitHub. We can do this!
  702. 1.3.5
  703. * #153: Support for various Borg directory environment variables (BORG_CONFIG_DIR, BORG_CACHE_DIR,
  704. etc.) via options in borgmatic's storage configuration.
  705. * #177: Fix for regression with missing verbose log entries.
  706. 1.3.4
  707. * Part of #125: Color borgmatic (but not Borg) output when using an interactive terminal.
  708. * #166: Run tests for all installed versions of Python.
  709. * #168: Update README with continuous integration badge.
  710. * #169: Automatically sort Python imports in code.
  711. * Document installing borgmatic with pip install --user instead of a system Python install.
  712. * Get more reproducible builds by pinning the versions of pip and tox used to run tests.
  713. * Factor out build/test configuration from tox.ini file.
  714. 1.3.3
  715. * Add validate-borgmatic-config command, useful for validating borgmatic config generated by
  716. configuration management or even edited by hand.
  717. 1.3.2
  718. * #160: Fix for hooks executing when using --dry-run. Now hooks are skipped during a dry run.
  719. 1.3.1
  720. * #155: Fix for invalid JSON output when using multiple borgmatic configuration files.
  721. * #157: Fix for seemingly random filename ordering when running through a directory of
  722. configuration files.
  723. * Fix for empty JSON output when using --create --json.
  724. * Now capturing Borg output only when --json flag is used. Previously, borgmatic delayed Borg
  725. output even without the --json flag.
  726. 1.3.0
  727. * #148: Configuration file includes and merging via "!include" tag to support reuse of common
  728. options across configuration files.
  729. 1.2.18
  730. * #147: Support for Borg create/extract --numeric-owner flag via "numeric_owner" option in
  731. borgmatic's location section.
  732. 1.2.17
  733. * #140: List the files within an archive via --list --archive option.
  734. 1.2.16
  735. * #119: Include a sample borgmatic configuration file in the documentation.
  736. * #123: Support for Borg archive restoration via borgmatic --extract command-line flag.
  737. * Refactor documentation into multiple separate pages for clarity and findability.
  738. * Organize options within command-line help into logical groups.
  739. * Exclude tests from distribution packages.
  740. 1.2.15
  741. * #127: Remove date echo from schema example, as it's not a substitute for real logging.
  742. * #132: Leave exclude_patterns glob expansion to Borg, since doing it in borgmatic leads to
  743. confusing behavior.
  744. * #136: Handle and format validation errors raised during argument parsing.
  745. * #138: Allow use of --stats flag when --create or --prune flags are implied.
  746. 1.2.14
  747. * #103: When generating sample configuration with generate-borgmatic-config, document the defaults
  748. for each option.
  749. * #116: When running multiple configuration files, attempt all configuration files even if one of
  750. them errors. Log a summary of results at the end.
  751. * Add borgmatic --version command-line flag to get the current installed version number.
  752. 1.2.13
  753. * #100: Support for --stats command-line flag independent of --verbosity.
  754. * #117: With borgmatic --init command-line flag, proceed without erroring if a repository already
  755. exists.
  756. 1.2.12
  757. * #110: Support for Borg repository initialization via borgmatic --init command-line flag.
  758. * #111: Update Borg create --filter values so a dry run lists files to back up.
  759. * #113: Update README with link to a new/forked Docker image.
  760. * Prevent deprecated --excludes command-line option from being used.
  761. * Refactor README a bit to flow better for first-time users.
  762. * Update README with a few additional borgmatic packages (Debian and Ubuntu).
  763. 1.2.11
  764. * #108: Support for Borg create --progress via borgmatic command-line flag.
  765. 1.2.10
  766. * #105: Support for Borg --chunker-params create option via "chunker_params" option in borgmatic's
  767. storage section.
  768. 1.2.9
  769. * #102: Fix for syntax error that occurred in Python 3.5 and below.
  770. * Make automated tests support running in Python 3.5.
  771. 1.2.8
  772. * #73: Enable consistency checks for only certain repositories via "check_repositories" option in
  773. borgmatic's consistency configuration. Handy for large repositories that take forever to check.
  774. * Include link to issue tracker within various command output.
  775. * Run continuous integration tests on a matrix of Python and Borg versions.
  776. 1.2.7
  777. * #98: Support for Borg --keep-secondly prune option.
  778. * Use Black code formatter and Flake8 code checker as part of running automated tests.
  779. * Add an end-to-end automated test that actually integrates with Borg.
  780. * Set up continuous integration for borgmatic automated tests on projects.evoworx.org.
  781. 1.2.6
  782. * Fix generated configuration to also include a "keep_daily" value so pruning works out of the
  783. box.
  784. 1.2.5
  785. * #57: When generating sample configuration with generate-borgmatic-config, comment out all
  786. optional configuration so as to streamline the initial configuration process.
  787. 1.2.4
  788. * Fix for archive checking traceback due to parameter mismatch.
  789. 1.2.3
  790. * #64, #90, #92: Rewrite of logging system. Now verbosity flags passed to Borg are derived from
  791. borgmatic's log level. Note that the output of borgmatic might slightly change.
  792. * Part of #80: Support for Borg create --read-special via "read_special" option in borgmatic's
  793. location configuration.
  794. * #87: Support for Borg create --checkpoint-interval via "checkpoint_interval" option in
  795. borgmatic's storage configuration.
  796. * #88: Fix declared pykwalify compatibility version range in setup.py to prevent use of ancient
  797. versions of pykwalify with large version numbers.
  798. * #89: Pass --show-rc option to Borg when at highest verbosity level.
  799. * #94: Support for Borg --json option via borgmatic command-line to --create archives.
  800. 1.2.2
  801. * #85: Fix compatibility issue between pykwalify and ruamel.yaml 0.15.52, which manifested in
  802. borgmatic as a pykwalify RuleError.
  803. 1.2.1
  804. * Skip before/after backup hooks when only doing --prune, --check, --list, and/or --info.
  805. * #71: Support for XDG_CONFIG_HOME environment variable for specifying alternate user ~/.config/
  806. path.
  807. * #74, #83: Support for Borg --json option via borgmatic command-line to --list archives or show
  808. archive --info in JSON format, ideal for programmatic consumption.
  809. * #38, #76: Upgrade ruamel.yaml compatibility version range and fix support for Python 3.7.
  810. * #77: Skip non-"*.yaml" config filenames in /etc/borgmatic.d/ so as not to parse backup files,
  811. editor swap files, etc.
  812. * #81: Document user-defined hooks run before/after backup, or on error.
  813. * Add code style guidelines to the documentation.
  814. 1.2.0
  815. * #61: Support for Borg --list option via borgmatic command-line to list all archives.
  816. * #61: Support for Borg --info option via borgmatic command-line to display summary information.
  817. * #62: Update README to mention other ways of installing borgmatic.
  818. * Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's
  819. consistency configuration.
  820. * Add introductory screencast link to documentation.
  821. * #59: Ignore "check_last" and consistency "prefix" when "archives" not in consistency checks.
  822. * #60: Add "Persistent" flag to systemd timer example.
  823. * #63: Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in
  824. archive.
  825. * #69: Support for Borg prune --umask option using value of existing "umask" option in borgmatic's
  826. storage configuration.
  827. * Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
  828. * Add ~/.config/borgmatic/config.yaml to default configuration path probing.
  829. * Document how to develop on and contribute to borgmatic.
  830. 1.1.15
  831. * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file.
  832. * Fix for Borg create error when using borgmatic's --dry-run and --verbosity options together.
  833. Work-around for behavior introduced in Borg 1.1.3: https://github.com/borgbackup/borg/issues/3298
  834. * #55: Fix for missing tags/releases on Gitea and GitHub project hosting.
  835. * #56: Support for Borg --lock-wait option for the maximum wait for a repository/cache lock.
  836. * #58: Support for using tilde in exclude_patterns to reference home directory.
  837. 1.1.14
  838. * #49: Fix for typo in --patterns-from option.
  839. * #47: Support for Borg --dry-run option via borgmatic command-line.
  840. 1.1.13
  841. * #54: Fix for incorrect consistency check flags passed to Borg when all three checks ("repository",
  842. "archives", and "extract") are specified in borgmatic configuration.
  843. * #48: Add "local_path" to configuration for specifying an alternative Borg executable path.
  844. * #49: Support for Borg experimental --patterns-from and --patterns options for specifying mixed
  845. includes/excludes.
  846. * Moved issue tracker from Taiga to integrated Gitea tracker at
  847. https://projects.torsion.org/borgmatic-collective/borgmatic/issues
  848. 1.1.12
  849. * #46: Declare dependency on pykwalify 1.6 or above, as older versions yield "Unknown key: version"
  850. rule errors.
  851. * Support for Borg --keep-minutely prune option.
  852. 1.1.11
  853. * #26: Add "ssh_command" to configuration for specifying a custom SSH command or options.
  854. * Fix for incorrect /etc/borgmatic.d/ configuration path probing on macOS. This problem manifested
  855. as an error on startup: "[Errno 2] No such file or directory: '/etc/borgmatic.d'".
  856. 1.1.10
  857. * Pass several Unix signals through to child processes like Borg. This means that Borg now properly
  858. shuts down if borgmatic is terminated (e.g. due to a system suspend).
  859. * #30: Support for using tilde in repository paths to reference home directory.
  860. * #43: Support for Borg --files-cache option for setting the files cache operation mode.
  861. * #45: Support for Borg --remote-ratelimit option for limiting upload rate.
  862. * Log invoked Borg commands when at highest verbosity level.
  863. 1.1.9
  864. * #17, #39: Support for user-defined hooks before/after backup, or on error.
  865. * #34: Improve clarity of logging spew at high verbosity levels.
  866. * #30: Support for using tilde in source directory path to reference home directory.
  867. * Require "prefix" in retention section when "archive_name_format" is set. This is to avoid
  868. accidental pruning of archives with a different archive name format. For similar reasons, default
  869. "prefix" to "{hostname}-" if not specified.
  870. * Convert main source repository from Mercurial to Git.
  871. * Update dead links to Borg documentation.
  872. 1.1.8
  873. * #40: Fix to make /etc/borgmatic/config.yaml optional rather than required when using the default
  874. config paths.
  875. 1.1.7
  876. * #29: Add "archive_name_format" to configuration for customizing archive names.
  877. * Fix for traceback when "exclude_from" value is empty in configuration file.
  878. * When pruning, make highest verbosity level list archives kept and pruned.
  879. * Clarification of Python 3 pip usage in documentation.
  880. 1.1.6
  881. * #13, #36: Support for Borg --exclude-from, --exclude-caches, and --exclude-if-present options.
  882. 1.1.5
  883. * #35: New "extract" consistency check that performs a dry-run extraction of the most recent
  884. archive.
  885. 1.1.4
  886. * #18: Added command-line flags for performing a borgmatic run with only pruning, creating, or
  887. checking enabled. This supports use cases like running consistency checks from a different cron
  888. job with a different frequency, or running pruning with a different verbosity level.
  889. 1.1.3
  890. * #15: Support for running multiple config files in /etc/borgmatic.d/ from a single borgmatic run.
  891. * Fix for generate-borgmatic-config writing config with invalid one_file_system value.
  892. 1.1.2
  893. * #33: Fix for passing check_last as integer to subprocess when calling Borg.
  894. 1.1.1
  895. * Part of #33: Fix for upgrade-borgmatic-config converting check_last option as a string instead of
  896. an integer.
  897. * Fix for upgrade-borgmatic-config erroring when consistency checks option is not present.
  898. 1.1.0
  899. * Switched config file format to YAML. Run upgrade-borgmatic-config to upgrade.
  900. * Added generate-borgmatic-config command for initial config creation.
  901. * Dropped Python 2 support. Now Python 3 only.
  902. * #19: Fix for README mention of sample files not included in package.
  903. * #23: Sample files for triggering borgmatic from a systemd timer.
  904. * Support for backing up to multiple repositories.
  905. * To free up space, now pruning backups prior to creating a new backup.
  906. * Enabled test coverage output during tox runs.
  907. * Added logo.
  908. 1.0.3
  909. * #22: Fix for verbosity flag not actually causing verbose output.
  910. 1.0.2
  911. * #21: Fix for traceback when remote_path option is missing.
  912. 1.0.1
  913. * #20: Support for Borg's --remote-path option to use an alternate Borg
  914. executable. See sample/config.
  915. 1.0.0
  916. * Attic is no longer supported, as there hasn't been any recent development on
  917. it. Dropping Attic support will allow faster iteration on Borg-specific
  918. features. If you're still using Attic, this is a good time to switch to Borg!
  919. * Project renamed from atticmatic to borgmatic. See the borgmatic README for
  920. information on upgrading.
  921. 0.1.8
  922. * Fix for handling of spaces in source_directories which resulted in backup up everything.
  923. * Fix for broken links to Borg documentation.
  924. * At verbosity zero, suppressing Borg check stderr spew about "Checking segments".
  925. * Support for Borg --one-file-system.
  926. * Support for Borg create --umask.
  927. * Support for file globs in source_directories.
  928. 0.1.7
  929. * #12: Fixed parsing of punctuation in configuration file.
  930. * Better error message when configuration file is missing.
  931. 0.1.6
  932. * #10: New configuration option for the encryption passphrase.
  933. * #11: Support for Borg's new archive compression feature.
  934. 0.1.5
  935. * Changes to support release on PyPI. Now pip installable by name!
  936. 0.1.4
  937. * Adding test that setup.py version matches release version.
  938. 0.1.3
  939. * #2: Add support for "borg check --last N" to Borg backend.
  940. 0.1.2
  941. * As a convenience to new users, allow a missing default excludes file.
  942. * New issue tracker, linked from documentation.
  943. 0.1.1
  944. * Adding borgmatic cron example, and updating documentation to refer to it.
  945. 0.1.0
  946. * New "borgmatic" command to support Borg backup software, a fork of Attic.
  947. 0.0.7
  948. * Flag for multiple levels of verbosity: some, and lots.
  949. * Improved mocking of Python builtins in unit tests.
  950. 0.0.6
  951. * New configuration section for customizing which Attic consistency checks run, if any.
  952. 0.0.5
  953. * Fixed regression with --verbose output being buffered. This means dropping the helpful error
  954. message introduced in 0.0.4.
  955. 0.0.4
  956. * Now using tox to run tests against multiple versions of Python in one go.
  957. * Helpful error message about how to create a repository if one is missing.
  958. * Troubleshooting section with steps to deal with broken pipes.
  959. * Nosetests config file (setup.cfg) with defaults.
  960. 0.0.3
  961. * After pruning, run attic's consistency checks on all archives.
  962. * Integration tests for argument parsing.
  963. * Documentation updates about repository encryption.
  964. 0.0.2
  965. * Configuration support for additional attic prune flags: keep_within, keep_hourly, keep_yearly,
  966. and prefix.
  967. 0.0.1
  968. * Initial release.