Commit Graph

154 Commits

Author SHA1 Message Date
Dan Helfman caba5f8291 Update schema comment for check_repositories to mention labels (#635). 2023-03-31 11:46:38 +02:00
Dan Helfman 11798edc15 Mention prior versions of borgmatic in repositories schema. 2023-03-31 11:46:38 +02:00
Dan Helfman f8a81419c4 Fix repository schema description. 2023-03-31 11:46:38 +02:00
Divyansh Singh 6be334d388 remove optional label for repos from tests 2023-03-31 11:46:38 +02:00
Divyansh Singh 74abc19df6 pass all tests 2023-03-31 11:45:34 +02:00
Divyansh Singh 4c8600aa5d use repository["path"] instead of repository 2023-03-31 11:45:02 +02:00
Divyansh Singh f2b2b3c984 feat: tag repos 2023-03-31 11:37:02 +02:00
Divyansh Singh 0ae811c25d feat: constants support 2023-03-31 11:36:15 +02:00
Divyansh Singh d0dce1c362 feat: add optional check for existence of source directories 2023-03-31 11:35:34 +02:00
Soumik Dutta e1a182418a add test to ensure integers are converted to string
before setting them up to be environment variable values

Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:34 +02:00
Soumik Dutta 26c83d1f62 add option to set borg_files_cache_ttl in config
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:35:34 +02:00
Dan Helfman 9fa57b3190 Change the default action order to: "create", "prune", "compact", "check" (#304). 2023-03-31 11:35:33 +02:00
Dan Helfman fc9bf03409 Add Healthchecks "log" state feature to NEWS. 2023-03-31 11:35:33 +02:00
Soumik Dutta 49564585dd update schema.yaml description
also add monitor.State.LOG to cronitor.

Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:34:42 +02:00
Soumik Dutta 01b4d7c27e Add support for healthchecks "log" feature #628
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
2023-03-31 11:34:39 +02:00
Divyansh Singh f8f9debee8 code review 2023-03-31 11:33:18 +02:00
Divyansh Singh 4231405c80 feat: add dump-restore support for sqlite databases 2023-03-31 11:33:17 +02:00
Dan Helfman 7beb935122 Add "checkpoint_volume" configuration option to creates checkpoints every specified number of bytes. 2023-03-31 11:33:17 +02:00
Tom Hubrecht 3e8236c26e Add authentication to the ntfy hook 2023-03-31 11:33:17 +02:00
Dan Helfman 6bdb1974cf Add MySQL database hook "add_drop_database" configuration option to control whether dumped MySQL databases get dropped right before restore (#642). 2023-03-31 11:33:17 +02:00
Dan Helfman 2cf1ed57c0 Add configuration options for database command customization (#630). 2023-03-31 11:33:17 +02:00
Dan Helfman 25df602a47 Optionally dump "all" PostgreSQL databases to separate files instead of one combined dump file (#438, #560). 2023-03-31 11:33:17 +02:00
Dan Helfman a97dc48fee Optionally dump "all" PostgreSQL databases to separate files instead of one combined dump file (#438, #560). 2023-03-31 11:33:17 +02:00
Javier Paniagua 781e479966 specify pg dump/restore commands (#311) 2023-03-31 11:33:17 +02:00
Paul Hoffmann 89cc4e824a Add ntfy warning 2023-03-30 16:02:19 +02:00
Dan Helfman c46f2b8508 Fix conflict between "patterns" and "source_directories" (#574), make "source_directories" optional (#542). 2022-08-25 11:55:34 -07:00
Dan Helfman ef7e95e22a Fix end-to-end tests. 2022-08-21 23:29:13 -07:00
Dan Helfman 3be99de5b1 Update "repositories" examples in configuration to use ssh:// style syntax. 2022-08-21 22:40:31 -07:00
Dan Helfman 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). 2022-08-21 21:48:37 -07:00
Dan Helfman f47c98c4a5 Rename several configuration options to match Borg 2 (#557). 2022-08-17 21:14:58 -07:00
Dan Helfman c7e4e6f6c9 Add Healthchecks "verify_tls" option to NEWS. 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
Dan Helfman f2c2f3139e Add periods to ntfy config descriptions. 2022-06-10 09:42:41 -07:00
Gavin Chappell a8b8d507b6
add a hook for sending push notifications via ntfy.sh 2022-06-09 21:10:38 +01:00
Dan Helfman 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
polyzen 8708ca07f4 Remove trailing whitespace 2022-05-25 00:43:40 +00:00
Dan Helfman 157e59ac88 Add Healthchecks monitoring hook "send_logs" option to enable/disable sending borgmatic logs to the Healthchecks server (#460). 2022-05-24 14:44:33 -07:00
Dan Helfman 666f0dd751 Add missing Healthchecks "states" option example in configuration schema (#525). 2022-05-24 14:17:19 -07:00
Dan Helfman 8b179e4647 Reverse logic of Healtchecks "skip_states" option to just "states" (#525). 2022-05-24 14:09:42 -07:00
Dan Helfman 865eff7d98 Add Healthchecks monitoring hook "skip_states" option to disable pinging for particular monitoring states (#525). 2022-05-24 13:59:28 -07:00
Dan Helfman b9741f4d0b Add Healthchecks monitoring hook "ping_body_limit" option to configure how many bytes of logs to send to the Healthchecks server (#294). 2022-05-24 12:23:38 -07:00
Dan Helfman 02781662f8 Change monitoring hooks to specify the ping URL / integration key as a named option. 2022-05-23 20:02:10 -07:00
Dan Helfman 32a1043468 Remove the error when "archive_name_format" is specified but a retention prefix isn't (#402). 2022-05-23 16:11:24 -07:00
Dan Helfman cbce6707f4 Clarify one_file_system behavior in schema comment (#520). 2022-04-12 11:05:22 -07:00
Dan Helfman 0eb2634f9b Working directory option to support source directories with relative paths (#431).
Reviewed-on: borgmatic-collective/borgmatic#477
2022-03-03 19:28:17 +00:00
Dan Helfman 6bf6ac310b When using the "bsd_flags" option, tailor the flags passed to Borg depending on the Borg version (#394). 2022-02-09 21:11:00 -08:00
Dan Helfman 4b5af2770d When the "atime" option is used, tailor the flags passed to Borg depending on version (#394). 2022-02-09 16:54:35 -08:00
Dan Helfman b525e70e1c Run "compact" action by default when no actions are specified (#394). 2022-02-09 14:33:12 -08:00
Dan Helfman 4498671233 Remove references to removed long-deprecated options (#394). 2022-02-09 11:08:02 -08:00
Dan Helfman 48f44d2f3d Add tests for compact action (#394). 2022-02-08 12:05:02 -08:00