Commit Graph

176 Commits

Author SHA1 Message Date
317dc7fbce Add "before_actions" and "after_actions" command hooks that run before/after all the actions for each repository, update docs to cover per-repository configurations (#463).
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-21 21:48:37 -07:00
f47c98c4a5 Rename several configuration options to match Borg 2 (#557).
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-17 21:14:58 -07:00
c7e4e6f6c9 Add Healthchecks "verify_tls" option to NEWS.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-23 23:16:06 -07:00
Uli
5c6407047f feat: add verify_tls flag for Healthchecks 2022-07-24 07:37:00 +02:00
f2c2f3139e Add periods to ntfy config descriptions.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-10 09:42:41 -07:00
a8b8d507b6
add a hook for sending push notifications via ntfy.sh 2022-06-09 21:10:38 +01:00
e76bfa555f Reduce the default consistency check frequency and support configuring the frequency independently for each check (#523). 2022-05-28 14:42:19 -07:00
8708ca07f4 Remove trailing whitespace 2022-05-25 00:43:40 +00:00
157e59ac88 Add Healthchecks monitoring hook "send_logs" option to enable/disable sending borgmatic logs to the Healthchecks server (#460).
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 14:44:33 -07:00
666f0dd751 Add missing Healthchecks "states" option example in configuration schema (#525).
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 14:17:19 -07:00
8b179e4647 Reverse logic of Healtchecks "skip_states" option to just "states" (#525).
Some checks failed
continuous-integration/drone/push Build is failing
2022-05-24 14:09:42 -07:00
865eff7d98 Add Healthchecks monitoring hook "skip_states" option to disable pinging for particular monitoring states (#525).
Some checks failed
continuous-integration/drone/push Build is failing
2022-05-24 13:59:28 -07:00
b9741f4d0b Add Healthchecks monitoring hook "ping_body_limit" option to configure how many bytes of logs to send to the Healthchecks server (#294).
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 12:23:38 -07:00
02781662f8 Change monitoring hooks to specify the ping URL / integration key as a named option.
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 20:02:10 -07:00
32a1043468 Remove the error when "archive_name_format" is specified but a retention prefix isn't (#402).
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 16:11:24 -07:00
cbce6707f4 Clarify one_file_system behavior in schema comment (#520).
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-12 11:05:22 -07:00
0eb2634f9b Working directory option to support source directories with relative paths (#431).
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #477
2022-03-03 19:28:17 +00:00
6bf6ac310b When using the "bsd_flags" option, tailor the flags passed to Borg depending on the Borg version (#394).
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-09 21:11:00 -08:00
4b5af2770d When the "atime" option is used, tailor the flags passed to Borg depending on version (#394).
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 16:54:35 -08:00
b525e70e1c Run "compact" action by default when no actions are specified (#394). 2022-02-09 14:33:12 -08:00
4498671233 Remove references to removed long-deprecated options (#394).
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 11:08:02 -08:00
48f44d2f3d Add tests for compact action (#394). 2022-02-08 12:05:02 -08:00
9582324c88 Compact repository segments with new "borgmatic compact" action (#394).
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-07 23:29:44 -08:00
b39f08694d Merge branch 'master' into pr-working-directory
All checks were successful
continuous-integration/drone/pr Build is passing
2022-01-05 09:30:27 +00:00
2ee75546f5 Add MongoDB database hook documentation.
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-04 16:26:38 -08:00
7c6ce9399c fix integration tests and mongodb auth
Some checks failed
continuous-integration/drone/pr Build is failing
2021-12-29 22:18:50 +01:00
6b7653484b Add mongodb dump hook
Some checks failed
continuous-integration/drone/pr Build is failing
2021-12-26 01:00:58 +01:00
Fabian Schilling
5821c6782e Add defaults to not set in schema 2021-12-10 18:23:08 +01:00
Fabian Schilling
f15498f6d9 Add working_directory to borgmatic schema 2021-12-10 17:58:27 +01:00
3729ba5ca3
add list_options setting, fixes #306
All checks were successful
continuous-integration/drone/pr Build is passing
2021-11-20 15:43:58 +01:00
38ebfd2969 Rename retry_timeout to retry_wait and standardize log formatting (#28).
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-15 11:51:17 -08:00
cadamswaite
976a877a25 Formatting
Some checks failed
continuous-integration/drone/pr Build is failing
2021-11-14 22:37:42 +00:00
cadamswaite
b4117916b8 Add timeout and tests 2021-11-14 22:15:22 +00:00
6b182c9d2d Merge branch 'master' into master
Some checks failed
continuous-integration/drone/pr Build is failing
2021-11-14 18:24:17 +00:00
fbbb096cec Note in documentation that borgmatic requires Python 3.6+.
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-04 11:15:51 -07:00
77980511c6 Add another glob pattern example to exclude patterns.
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-16 09:51:40 -07:00
b3f5a9d18f Fix error when configuration file contains "umask" option (#437).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-07-27 10:04:22 -07:00
cadamswaite
510449ce65 Change default retries to 0 2021-07-14 22:49:03 +01:00
cadamswaite
4cc4b8d484 Add queue based retry logic 2021-07-14 22:46:02 +01:00
27d37b606b Better error messages! Switch the library used for validating configuration files (from pykwalify to jsonschema).
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-22 13:27:59 -07:00
9016f4be43 Clarify that spaces in path names should not be backslashed in path names (#406).
Some checks failed
continuous-integration/drone/push Build is failing
2021-04-18 17:28:11 -07:00
eb4b4cc92b Fix line length in schema.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-25 19:21:06 -08:00
41bf520585 Document that passphrase is used for Borg keyfile encryption, not just repokey encryption (#373).
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-25 18:36:23 -08:00
b619bde037 Fix broken end-to-end test.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-18 14:20:07 -08:00
ebac02f118 Mention placeholders for repositories in documentation; fix #369 2020-11-18 20:22:41 +01:00
root
7cad5a8608 Add temporary_directory as a configuration option defaulting to $TMPDIR 2020-08-26 15:29:02 +00:00
631c3068a9 systemd security settings 2020-08-22 15:41:25 +02:00
3c723e8d99 Merge branch 'master' into master 2020-08-12 21:11:45 +00:00
5356f487a5 Move before/after_everything hooks so they're easier to find.
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-12 13:46:31 -07:00
Jakub Duchateau
95c415f416
Change "before" to "after" in desc 2020-08-07 16:41:35 +02:00
06dc336481 Fix schema exclude patterns example path.
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-06 09:59:48 -07:00
893fca2816 Add before_extract and after_extract hooks 2020-08-01 16:08:32 +02:00
a23083f737 Clarify schema documentation about skipping pruning.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-22 10:35:16 -07:00
01db676d68 Change the example for the ssl_mode parameter 2020-06-20 23:32:24 +03:00
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
463a133a63 Ensure schema lines are less than 80 characters in length 2020-06-19 13:22:39 +03:00
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
abd47fc14e Add SSL support to PostgreSQL hooks 2020-06-19 02:19:17 +03:00
7fb4061759 Improve configuration reference documentation readability via more aggressive word-wrapping in configuration schema descriptions.
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-17 23:15:12 -07:00
097a09578a Fix enabled database hooks to implicitly set one_file_system configuration option to true to prevent Borg hang. (#315).
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-26 09:20:14 -07:00
bc02c123e6 Monitor backups with PagerDuty hook integration (#245).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-01-27 15:32:09 -08:00
8ad8a9c422 Add per-action hooks: "before_prune", "after_prune", "before_check", and "after_check" (#255).
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-27 11:07:07 -08:00
2405e97c38 Backup to a removable drive or intermittent server via "soft failure" feature (#284).
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-24 20:52:48 -08:00
94b9ef56be Change "exclude_if_present" option to support multiple filenames, rather than just a single filename (#280).
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-23 13:41:37 -08:00
8660af745e Optionally change the internal database dump path via "borgmatic_source_directory" option in location configuration section (#259).
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-10 16:04:34 -08:00
0c6c61a272 Pass extra options directly to particular Borg commands, handy for Borg options that borgmatic does not yet support natively (#235).
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-04 15:48:10 -08:00
427b57e2a9 Database dump hooks for MySQL/MariaDB (#228).
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-08 11:17:52 -08:00
17fda7281a Monitor backups with Cronhub hook integration. Fix Healthchecks/Cronitor hooks to respect dry run.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-07 10:08:44 -08:00
31d3bc9bd8 In documentation, clarify when Healthchecks/Cronitor hooks fire in relation to other hooks (#238).
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-11-06 09:44:46 -08:00
f48f52079d Support for Borg --keep-exclude-tags and --exclude-nodump options (#234).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-01 15:50:59 -07:00
8fd46b8c70 Monitor backups with Cronitor hook integration.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-01 11:33:15 -07:00
458e7776c5 Database dump hooks for PostgreSQL, so you can easily dump your databases before backups run (#225).
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-22 16:28:42 -07:00
128ebf04ce Dead man's switch via healthchecks.io integration (#223) + new monitoring documentation.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-10-15 10:49:14 -07:00
e14ebee4e0 User-defined hooks for global setup or cleanup that run before/after all actions. (#192).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-09-28 16:18:10 -07:00
4cdff74e9b Support for Borg check --verify-data flag via borgmatic "data" consistency check (#210).
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-18 16:52:27 -07:00
ef3dda9213 Bypass Borg error about a moved repository (#209).
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-26 09:39:41 -07:00
a7cc2ea803 When validating configuration files, require strings instead of allowing any scalar type. 2019-08-03 14:52:12 -07:00
39e5aac479 If a "prefix" option in borgmatic's configuration has an empty value (blank or ""), then disable default prefix.
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-27 14:04:13 -07:00
e25f2c4e6c Clarify documentation/schema about on_error hook running if there's an error in another hook (#202).
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-19 09:25:01 -07:00
4444219e17 Support for Borg --noatime, --noctime, and --nobirthtime flags (mentioned in #193).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-06-25 11:30:55 -07:00
74ac148747 Disable console color via "color" option in borgmatic configuration output section (#191).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-06-19 20:48:54 -07:00
d6d66de251 Set umask used when executing hooks via "umask" option in borgmatic hooks section (#189).
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-13 17:05:26 -07:00
418c09398c Fix incorrect compression default in schema comment.
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-09 21:21:46 -07:00
fb7a6dccaa Link to docs on skipping pruning entirely.
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-21 12:32:19 -07:00
1cf0e1bd84 Support for various Borg directory environment variables (#153).
All checks were successful
the build was successful
2019-05-16 10:34:52 -07:00
3cb52423d2 Support for Borg create/extract --numeric-owner flag (#147).
All checks were successful
the build was successful
2019-03-05 09:11:35 -08:00
fa9dfb8ff7 Remove date echo from schema example, as it's not a substitute for real logging (#127).
All checks were successful
the build was successful
2019-01-27 12:22:22 -08:00
09d521661f Remove weasel words like "easily" and "simply".
All checks were successful
the build was successful
2018-12-25 22:03:34 -08:00
426f54c9cc When generating sample configuration, document the defaults for each option (#103).
All checks were successful
the build was successful
2018-12-25 17:05:22 -08:00
5c0b17ef39 Support for Borg --chunker-params create option via "chunker_params" in borgmatic's storage section (#105).
All checks were successful
the build was successful
2018-10-27 15:57:28 -07:00
fa38de2de7 Enable consistency checks for only certain repositories via "check_repositories" (#73).
All checks were successful
the build was successful
2018-10-13 20:34:51 -07:00
da8e9638f4 Support for Borg --keep-secondly prune option (#98).
All checks were successful
the build was successful
2018-10-04 21:54:23 -07:00
47efa88c9d In generate-borgmatic-config, comment out all optional config (#57). 2018-09-29 15:03:11 -07:00
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
da7aed3814 Support for Borg create --checkpoint-interval (#87). 2018-08-19 11:41:49 -07:00
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
007ec0644c Ignore "check_last" and consistency "prefix" when "archives" not in consistency checks. (#59) 2018-05-20 22:11:40 -07:00
9b9c4c4abb Clarifying note in schema about adding prefix to consistency section. 2018-03-03 22:33:34 -08:00
Nick Whyte
c64d0100d5 Only check archives with matching prefix. 2018-03-03 22:17:39 -08:00