palto42
|
631c3068a9
|
systemd security settings
|
2020-08-22 15:41:25 +02:00 |
|
networkjanitor
|
3c723e8d99
|
Merge branch 'master' into master
|
2020-08-12 21:11:45 +00:00 |
|
Dan Helfman
|
5356f487a5
|
Move before/after_everything hooks so they're easier to find.
|
2020-08-12 13:46:31 -07:00 |
|
Dan Helfman
|
72bd96c656
|
Fix traceback when a configuration directory is non-readable due to directory permissions (#350).
|
2020-08-12 11:32:00 -07:00 |
|
Jakub Duchateau
|
95c415f416
|
Change "before" to "after" in desc
|
2020-08-07 16:41:35 +02:00 |
|
Dan Helfman
|
06dc336481
|
Fix schema exclude patterns example path.
|
2020-08-06 09:59:48 -07:00 |
|
networkjanitor
|
893fca2816
|
Add before_extract and after_extract hooks
|
2020-08-01 16:08:32 +02:00 |
|
Dan Helfman
|
a23083f737
|
Clarify schema documentation about skipping pruning.
|
2020-07-22 10:35:16 -07:00 |
|
Edward Shornock
|
01db676d68
|
Change the example for the ssl_mode parameter
|
2020-06-20 23:32:24 +03:00 |
|
Edward Shornock
|
8fb830099f
|
Re-add the ilbpq-ssl documentation URL to the schema
It's been moved from describing `ssl_mode` to the general
postgresql_database description key.
|
2020-06-19 13:22:39 +03:00 |
|
Edward Shornock
|
463a133a63
|
Ensure schema lines are less than 80 characters in length
|
2020-06-19 13:22:39 +03:00 |
|
Edward Shornock
|
a16fed8887
|
Rename PostgreSQL SSL config variables
e.g. s/sslmode/ssl_mode/g to conform with borgmatic naming conventions.
|
2020-06-19 13:20:14 +03:00 |
|
Edward Shornock
|
abd47fc14e
|
Add SSL support to PostgreSQL hooks
|
2020-06-19 02:19:17 +03:00 |
|
Dan Helfman
|
7fb4061759
|
Improve configuration reference documentation readability via more aggressive word-wrapping in configuration schema descriptions.
|
2020-06-17 23:15:12 -07:00 |
|
Dan Helfman
|
00033bf0a8
|
Tweak comment indentation in generated configuration file for clarity.
|
2020-06-02 11:37:13 -07:00 |
|
Dan Helfman
|
097a09578a
|
Fix enabled database hooks to implicitly set one_file_system configuration option to true to prevent Borg hang. (#315).
|
2020-05-26 09:20:14 -07:00 |
|
Dan Helfman
|
bc02c123e6
|
Monitor backups with PagerDuty hook integration (#245).
|
2020-01-27 15:32:09 -08:00 |
|
Dan Helfman
|
8ad8a9c422
|
Add per-action hooks: "before_prune", "after_prune", "before_check", and "after_check" (#255).
|
2020-01-27 11:07:07 -08:00 |
|
Dan Helfman
|
2405e97c38
|
Backup to a removable drive or intermittent server via "soft failure" feature (#284).
|
2020-01-24 20:52:48 -08:00 |
|
Dan Helfman
|
94b9ef56be
|
Change "exclude_if_present" option to support multiple filenames, rather than just a single filename (#280).
|
2020-01-23 13:41:37 -08:00 |
|
Dan Helfman
|
39550a7fe9
|
Add ~/.config/borgmatic.d as another configuration directory default (#274).
|
2020-01-22 09:26:58 -08:00 |
|
Dan Helfman
|
d0c533555e
|
In "borgmatic --help", don't expand $HOME in listing of default "--config" paths.
|
2020-01-02 10:37:31 -08:00 |
|
Dan Helfman
|
f787dfe809
|
Override particular configuration options from the command-line via "--override" flag (#268).
|
2019-12-17 11:46:27 -08:00 |
|
Dan Helfman
|
8660af745e
|
Optionally change the internal database dump path via "borgmatic_source_directory" option in location configuration section (#259).
|
2019-12-10 16:04:34 -08:00 |
|
Dan Helfman
|
65cc4c9429
|
Fix "--repository" flag to accept relative paths.
|
2019-12-06 16:29:41 -08:00 |
|
Dan Helfman
|
0c6c61a272
|
Pass extra options directly to particular Borg commands, handy for Borg options that borgmatic does not yet support natively (#235).
|
2019-12-04 15:48:10 -08:00 |
|
Dan Helfman
|
427b57e2a9
|
Database dump hooks for MySQL/MariaDB (#228).
|
2019-11-08 11:17:52 -08:00 |
|
Dan Helfman
|
17fda7281a
|
Monitor backups with Cronhub hook integration. Fix Healthchecks/Cronitor hooks to respect dry run.
|
2019-11-07 10:08:44 -08:00 |
|
Dan Helfman
|
ac777965d0
|
Fix regression of generate-borgmatic-config working without --source flag (#239).
|
2019-11-06 09:52:21 -08:00 |
|
Dan Helfman
|
31d3bc9bd8
|
In documentation, clarify when Healthchecks/Cronitor hooks fire in relation to other hooks (#238).
|
2019-11-06 09:44:46 -08:00 |
|
Dan Helfman
|
2115eeb6a2
|
Upgrade your borgmatic configuration to get new options and comments via "generate-borgmatic-config --source" (#239).
|
2019-11-06 09:31:00 -08:00 |
|
Dan Helfman
|
f48f52079d
|
Support for Borg --keep-exclude-tags and --exclude-nodump options (#234).
|
2019-11-01 15:50:59 -07:00 |
|
Dan Helfman
|
8fd46b8c70
|
Monitor backups with Cronitor hook integration.
|
2019-11-01 11:33:15 -07:00 |
|
Dan Helfman
|
458e7776c5
|
Database dump hooks for PostgreSQL, so you can easily dump your databases before backups run (#225).
|
2019-10-22 16:28:42 -07:00 |
|
Dan Helfman
|
f8bc67be8d
|
Config generation support for sequences of maps, needed for database dump hooks (#225).
|
2019-10-21 15:17:47 -07:00 |
|
Dan Helfman
|
128ebf04ce
|
Dead man's switch via healthchecks.io integration (#223) + new monitoring documentation.
|
2019-10-15 10:49:14 -07:00 |
|
Dan Helfman
|
e14ebee4e0
|
User-defined hooks for global setup or cleanup that run before/after all actions. (#192).
|
2019-09-28 16:18:10 -07:00 |
|
Dan Helfman
|
4cdff74e9b
|
Support for Borg check --verify-data flag via borgmatic "data" consistency check (#210).
|
2019-09-18 16:52:27 -07:00 |
|
Daniel M. Capella
|
0c439c0c02
|
Add space to separate comments from tokens
https://yaml.org/spec/1.2/spec.html#id2780069
|
2019-09-17 20:00:58 -04:00 |
|
Dan Helfman
|
ef3dda9213
|
Bypass Borg error about a moved repository (#209).
|
2019-08-26 09:39:41 -07:00 |
|
Dan Helfman
|
a7cc2ea803
|
When validating configuration files, require strings instead of allowing any scalar type.
|
2019-08-03 14:52:12 -07:00 |
|
Dan Helfman
|
39e5aac479
|
If a "prefix" option in borgmatic's configuration has an empty value (blank or ""), then disable default prefix.
|
2019-07-27 14:04:13 -07:00 |
|
Dan Helfman
|
e25f2c4e6c
|
Clarify documentation/schema about on_error hook running if there's an error in another hook (#202).
|
2019-07-19 09:25:01 -07:00 |
|
Dan Helfman
|
4444219e17
|
Support for Borg --noatime, --noctime, and --nobirthtime flags (mentioned in #193).
|
2019-06-25 11:30:55 -07:00 |
|
Dan Helfman
|
74ac148747
|
Disable console color via "color" option in borgmatic configuration output section (#191).
|
2019-06-19 20:48:54 -07:00 |
|
Dan Helfman
|
b3aa6af859
|
Don't color syslog output (#197).
|
2019-06-17 11:53:08 -07:00 |
|
Dan Helfman
|
6c136ebbf1
|
Fix for unclear error message for invalid YAML merge include (#196).
|
2019-06-16 21:33:40 -07:00 |
|
Dan Helfman
|
d6d66de251
|
Set umask used when executing hooks via "umask" option in borgmatic hooks section (#189).
|
2019-06-13 17:05:26 -07:00 |
|
Dan Helfman
|
418c09398c
|
Fix incorrect compression default in schema comment.
|
2019-06-09 21:21:46 -07:00 |
|
Dan Helfman
|
fb7a6dccaa
|
Link to docs on skipping pruning entirely.
|
2019-05-21 12:32:19 -07:00 |
|
Luke Murphy
|
8424e443a9
|
Also read .yml ending configuration files
Closes https://projects.torsion.org/witten/borgmatic/issues/178.
|
2019-05-19 13:04:42 +02:00 |
|
Dan Helfman
|
1cf0e1bd84
|
Support for various Borg directory environment variables (#153).
|
2019-05-16 10:34:52 -07:00 |
|
Luke Murphy
|
1c0dc3f904
|
Run isort over the source
|
2019-05-14 18:59:19 +02:00 |
|
Dan Helfman
|
a13cc0ab17
|
More tests for colored logging.
|
2019-05-13 21:10:26 -07:00 |
|
Luke Murphy
|
1f524d6c87
|
Add borgmatic custom logger
|
2019-05-13 13:40:18 +02:00 |
|
Dan Helfman
|
0b59c22c23
|
Fix for seemingly random filename ordering when running through a directory of configuration files (#157).
|
2019-03-30 16:41:21 -07:00 |
|
Dan Helfman
|
6ff1867312
|
Configuration files includes and merging (#148).
|
2019-03-06 12:06:27 -08:00 |
|
Dan Helfman
|
3cb52423d2
|
Support for Borg create/extract --numeric-owner flag (#147).
|
2019-03-05 09:11:35 -08:00 |
|
Dan Helfman
|
4272c6b077
|
List the files within an archive via --list --archive option (#140).
|
2019-02-23 23:02:17 -08:00 |
|
Dan Helfman
|
aa7c7651e5
|
Fix config repositories consumption.
|
2019-02-18 13:27:35 -08:00 |
|
Dan Helfman
|
c41ffb5ceb
|
If no extract repository is given, then error if there are multiple configured repositories.
|
2019-02-18 13:22:14 -08:00 |
|
Dan Helfman
|
766a03375a
|
Guard that the given repository occurs in config exactly once.
|
2019-02-18 12:58:39 -08:00 |
|
Dan Helfman
|
fb21d4e645
|
Remove dead code.
|
2019-02-09 21:17:55 -08:00 |
|
Dan Helfman
|
fa9dfb8ff7
|
Remove date echo from schema example, as it's not a substitute for real logging (#127).
|
2019-01-27 12:22:22 -08:00 |
|
Dan Helfman
|
09d521661f
|
Remove weasel words like "easily" and "simply".
|
2018-12-25 22:03:34 -08:00 |
|
Dan Helfman
|
426f54c9cc
|
When generating sample configuration, document the defaults for each option (#103).
|
2018-12-25 17:05:22 -08:00 |
|
Dan Helfman
|
5c0b17ef39
|
Support for Borg --chunker-params create option via "chunker_params" in borgmatic's storage section (#105).
|
2018-10-27 15:57:28 -07:00 |
|
Dan Helfman
|
fa38de2de7
|
Enable consistency checks for only certain repositories via "check_repositories" (#73).
|
2018-10-13 20:34:51 -07:00 |
|
Dan Helfman
|
da8e9638f4
|
Support for Borg --keep-secondly prune option (#98).
|
2018-10-04 21:54:23 -07:00 |
|
Dan Helfman
|
56ad1d164a
|
Use Flake8 code checker as part of running automated tests.
|
2018-09-29 23:15:18 -07:00 |
|
Dan Helfman
|
76d6a69f5a
|
Use Black code formatter as part of running automated tests.
|
2018-09-29 22:45:00 -07:00 |
|
Dan Helfman
|
746428ed44
|
Fix generated configuration to also include a "keep_daily" value so pruning works out of the box.
|
2018-09-29 15:44:37 -07:00 |
|
Dan Helfman
|
47efa88c9d
|
In generate-borgmatic-config, comment out all optional config (#57).
|
2018-09-29 15:03:11 -07:00 |
|
Dan Helfman
|
856db29180
|
Mention --read-special in NEWS.
|
2018-09-09 10:42:06 -07:00 |
|
Steve Kerrison
|
20e09b4ea8
|
Support for Borg create --read-special via "read_special" option (#25).
|
2018-09-09 10:39:56 -07:00 |
|
Dan Helfman
|
da7aed3814
|
Support for Borg create --checkpoint-interval (#87).
|
2018-08-19 11:41:49 -07:00 |
|
Dan Helfman
|
7b77fd2510
|
Fix compatibility issue between pykwalify and ruamel.yaml 0.15.52 (#85).
|
2018-08-11 13:59:27 -07:00 |
|
Dan Helfman
|
cf6ab60d2e
|
Use XDG_CONFIG_HOME for user configuration directory, if set. (Thanks to floli.) (#71)
Thanks! This will go out in the next release.
|
2018-07-25 01:34:05 +00:00 |
|
Dan Helfman
|
64364b20ff
|
Skip non-"*.yaml" config filenames in /etc/borgmatic.d/ so as not to parse backup files, editor swap files, etc. (#77)
|
2018-07-22 12:08:49 -07:00 |
|
Dan Helfman
|
dede8f9d4b
|
News for: ~/.config/borgmatic/config.yaml.
|
2018-06-17 14:30:47 -07:00 |
|
Florian Lindner
|
9bd77292ff
|
Add default path for user configuration
|
2018-06-10 15:03:23 +02:00 |
|
Dan Helfman
|
cc9044487b
|
Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in archive (#63).
|
2018-05-26 15:09:23 -07:00 |
|
Dan Helfman
|
007ec0644c
|
Ignore "check_last" and consistency "prefix" when "archives" not in consistency checks. (#59)
|
2018-05-20 22:11:40 -07:00 |
|
Dan Helfman
|
9b9c4c4abb
|
Clarifying note in schema about adding prefix to consistency section.
|
2018-03-03 22:33:34 -08:00 |
|
Dan Helfman
|
1b59f5b190
|
Changing version in warning to correspond with next release version.
|
2018-03-03 22:30:30 -08:00 |
|
Nick Whyte
|
c64d0100d5
|
Only check archives with matching prefix.
|
2018-03-03 22:17:39 -08:00 |
|
Dan Helfman
|
2d3f5fa05d
|
Support for Borg --lock-wait option for the maximum wait for a repository/cache lock (#56).
|
2018-02-19 15:51:04 -08:00 |
|
Dan Helfman
|
a87036ee46
|
Support for using tilde in exclude_patterns to reference home directory (#58).
|
2018-02-18 15:34:19 -08:00 |
|
Dan Helfman
|
4c45d60529
|
Mentioning ssh_command for additional SSH configuration..
|
2018-02-18 13:39:05 -08:00 |
|
newtonne
|
e55e9e8139
|
Add encryption_passcommand configuration option
|
2018-01-16 21:03:25 -08:00 |
|
Dan Helfman
|
cd189c4fe4
|
48: Add "local_path" to configuration for specifying an alternative Borg executable path.
|
2018-01-14 16:35:24 -08:00 |
|
Dan Helfman
|
b8f6bab12d
|
49: Support for Borg experimental --patterns-from and --patterns options for specifying mixed includes/excludes.
|
2018-01-14 15:52:19 -08:00 |
|
Thomas LEVEIL
|
24b5eccefc
|
add support for Borg --keep-minutely prune option
|
2018-01-03 00:13:44 +01:00 |
|
Dan
|
3e26e70d0c
|
Fix for incorrect /etc/borgmatic.d/ configuration path probing on macOS.
|
2017-11-10 21:33:29 -08:00 |
|
Dan
|
425e27dee5
|
Add "ssh_command" to configuration for specifying a custom SSH command or options.
|
2017-11-03 22:01:04 -07:00 |
|
Dan
|
ca4312bb85
|
Support for Borg --remote-ratelimit for limiting upload rate. And log Borg commands.
|
2017-11-02 22:22:40 -07:00 |
|
Dan
|
fc3b1fccba
|
Support for Borg --files-cache option for setting the files cache operation mode.
|
2017-11-02 22:03:11 -07:00 |
|
Dan
|
f83346b9b3
|
Support for using tilde in repository paths to reference home directory.
|
2017-11-02 21:34:04 -07:00 |
|
Dan
|
f495550ad7
|
Default "prefix" to "{hostname}-" if not specified.
|
2017-10-29 20:14:18 -07:00 |
|
Dan
|
43d0e597a2
|
Require "prefix" in retention section when "archive_name_format" is set.
|
2017-10-29 19:36:26 -07:00 |
|
Dan
|
f1c07b5cf5
|
Updated dead links to Borg documentation.
|
2017-10-29 17:05:49 -07:00 |
|
Dan Helfman
|
a5aa9355f5
|
Merge.
|
2017-10-25 21:54:50 -07:00 |
|
Dan Helfman
|
059322b7f8
|
Improve clarity of logging spew at high verbosity levels.
|
2017-10-25 21:47:33 -07:00 |
|
Johannes Feichtner
|
80e2c023dd
|
#16, #38: Support for user-defined hooks before/after backup, or on error.
|
2017-10-26 06:38:27 +02:00 |
|
Dan Helfman
|
86cc6ca869
|
#29: Support for using tilde in source directory path to reference home directory.
|
2017-09-09 17:23:31 -07:00 |
|
Dan Helfman
|
84c148fb3b
|
#39: Fix to make /etc/borgmatic/config.yaml optional rather than required when using the default config paths.
|
2017-09-08 21:25:42 -07:00 |
|
Michele Lazzeri
|
867d3fceb0
|
Added storage.archive_name_format to config (#16)
* Added storage.archive_name_format to config
|
2017-09-03 20:13:14 +02:00 |
|
Dan Helfman
|
b1f429f4b5
|
#12, #35: Support for Borg --exclude-from, --exclude-caches, and --exclude-if-present options.
|
2017-08-05 23:32:39 -07:00 |
|
Dan Helfman
|
e85d487c3a
|
#34: New "extract" consistency check that performs a dry-run extraction of the most recent archive.
|
2017-07-30 11:16:26 -07:00 |
|
Dan Helfman
|
7ed5b33db5
|
#14: Support for running multiple config files in /etc/borgmatic.d/ from a single borgmatic run.
|
2017-07-25 21:18:51 -07:00 |
|
Dan Helfman
|
57b3066987
|
Fix for generate-borgmatic-config writing config with invalid one_file_system value.
|
2017-07-25 20:32:32 -07:00 |
|
Dan Helfman
|
c38f7a3693
|
#32: Fix for upgrade-borgmatic-config converting check_last option as a string instead of an integer.
|
2017-07-24 08:41:02 -07:00 |
|
Dan Helfman
|
499f8aa0a4
|
Support for backing up to multiple repositories.
|
2017-07-22 22:56:46 -07:00 |
|
Dan Helfman
|
ac2a63763f
|
Removing TODO that basically entails testing ruamel.yaml round-tripping, which in theory already has its own tests.
|
2017-07-22 20:31:26 -07:00 |
|
Dan Helfman
|
b1355e75c4
|
Bail if "--excludes" argument is provided, as it's now deprecated in favor of configuration file.
|
2017-07-10 16:25:13 -07:00 |
|
Dan Helfman
|
ef32b292a8
|
Provide helpful message when borgmatic is run with only legacy config present.
|
2017-07-10 16:06:02 -07:00 |
|
Dan Helfman
|
61f88228b0
|
When writing config, make containing directory if necessary. Also default to tighter permissions.
|
2017-07-10 15:20:50 -07:00 |
|
Dan Helfman
|
f98558546c
|
Documentation updates based on the new YAML configuration.
|
2017-07-10 11:06:28 -07:00 |
|
Dan Helfman
|
9cc7c77ba9
|
Don't overwrite config files. And retain file permissions when upgrading config.
|
2017-07-10 10:37:11 -07:00 |
|
Dan Helfman
|
0dfc935af6
|
Merge excludes into config file format.
|
2017-07-10 09:43:25 -07:00 |
|
Dan Helfman
|
263891f414
|
Add a version to the schema, because inevitably I'll want to revise the schema.
|
2017-07-09 16:18:10 -07:00 |
|
Dan Helfman
|
f581f4b8d9
|
More test coverage, and simplification of config generation.
|
2017-07-09 11:41:55 -07:00 |
|
Dan Helfman
|
c7803a2814
|
Adding a "does not raise" test for displaying errors.
|
2017-07-09 10:27:34 -07:00 |
|
Dan Helfman
|
f4e5dc8382
|
Adding test coverage report. Making tests a little less brittle.
|
2017-07-08 23:01:41 -07:00 |
|
Dan Helfman
|
f19a40ef9c
|
Basic YAML generating / validating / converting to.
|
2017-07-08 22:33:51 -07:00 |
|
Dan Helfman
|
4d7556f68b
|
Basic YAML configuration file parsing.
|
2017-07-04 16:52:24 -07:00 |
|