Soumik Dutta
|
044ae7869a
|
fix tests
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
|
2023-03-08 03:30:12 +05:30 |
|
Soumik Dutta
|
98e429594e
|
added tests to make sure unsupported log states are detected
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
|
2023-03-06 20:31:00 +05:30 |
|
Soumik Dutta
|
45256ae33f
|
add test for healthchecks
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
|
2023-03-06 03:38:08 +05:30 |
|
Divyansh Singh
|
c71eb60cd2
|
mock os.remove instead of actually removing a file
|
2023-03-04 13:08:30 +05:30 |
|
Divyansh Singh
|
675e54ba9f
|
use os.remove and improve tests
|
2023-03-04 12:43:07 +05:30 |
|
Divyansh Singh
|
903507bd03
|
code review
|
2023-03-04 01:27:07 +05:30 |
|
Divyansh Singh
|
3aa88085ed
|
formatting fix
|
2023-03-03 00:01:52 +05:30 |
|
Divyansh Singh
|
af1cc27988
|
feat: add dump-restore support for sqlite databases
|
2023-03-02 23:55:16 +05:30 |
|
Dan Helfman
|
da321e180d
|
Fix the "create" action with the "--dry-run" flag querying for databases when a PostgreSQL/MySQL "all" database is configured.
|
2023-02-26 22:15:12 -08:00 |
|
Tom Hubrecht
|
95575c3450
|
Add auth test for the ntfy hook
|
2023-02-25 20:04:39 +01:00 |
|
Dan Helfman
|
418ebc8843
|
Add MySQL database hook "add_drop_database" configuration option to control whether dumped MySQL databases get dropped right before restore (#642).
|
2023-02-20 15:32:47 -08:00 |
|
Dan Helfman
|
f5a448c7c2
|
Fix for potential data loss (data not getting backed up) when dumping large "directory" format PostgreSQL/MongoDB databases (#643).
|
2023-02-20 15:18:51 -08:00 |
|
Dan Helfman
|
c1eb210253
|
Fix code style flake issue.
|
2023-01-26 15:09:35 -08:00 |
|
Dan Helfman
|
30cca62d09
|
Add configuration options for database command customization (#630).
|
2023-01-26 14:59:17 -08:00 |
|
Dan Helfman
|
0e6b2c6773
|
Optionally dump "all" PostgreSQL databases to separate files instead of one combined dump file (#438, #560).
|
2023-01-25 23:31:07 -08:00 |
|
Dan Helfman
|
f67c544be6
|
Optionally dump "all" PostgreSQL databases to separate files instead of one combined dump file (#438, #560).
|
2022-12-15 22:59:42 -08:00 |
|
Javier Paniagua
|
faf682ca35
|
specify pg dump/restore commands (#311)
|
2022-11-06 11:12:53 +01:00 |
|
Dan Helfman
|
9c42e7e817
|
Fix regression in which "check" action errored on certain systems (#597, #598).
|
2022-10-14 16:19:26 -07:00 |
|
Dan Helfman
|
d7f1c10c8c
|
To prevent Borg hangs, unconditionally delete stale named pipes before dumping databases (#360).
|
2022-10-12 10:26:09 -07:00 |
|
Uli
|
5c6407047f
|
feat: add verify_tls flag for Healthchecks
|
2022-07-24 07:37:00 +02:00 |
|
Dan Helfman
|
e85d551eac
|
Fix all database hooks to error when the requested database to restore isn't present in the Borg archive (#560).
|
2022-07-06 23:21:24 -07:00 |
|
Dan Helfman
|
10723efc68
|
Fix all monitoring hooks to warn if the server returns an HTTP 4xx error (#554).
|
2022-06-29 21:19:40 -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
|
3561c93d74
|
Fix Healthchecks tests that leak global state, breaking downstream tests (discovered in #543).
|
2022-06-09 11:05:44 -07:00 |
|
Dan Helfman
|
54933ebef5
|
Change connection failures for monitoring hooks to be warnings instead of errors (#439).
|
2022-05-24 15:50:04 -07: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
|
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
|
3e4aeec649
|
Warn when an unsupported variable is used in a hook command (#420).
|
2022-05-23 15:27:54 -07:00 |
|
Dan Helfman
|
2ee75546f5
|
Add MongoDB database hook documentation.
|
2022-01-04 16:26:38 -08:00 |
|
Andrea Ghensi
|
7c6ce9399c
|
fix integration tests and mongodb auth
|
2021-12-29 22:18:50 +01:00 |
|
Andrea Ghensi
|
6b7653484b
|
Add mongodb dump hook
|
2021-12-26 01:00:58 +01:00 |
|
Dan Helfman
|
a1673d1fa1
|
Fix unicode error when restoring particular MySQL databases (#476).
|
2021-12-08 16:40:25 -08:00 |
|
nebulon42
|
c3e76585fc
|
move mysqldump options to the beginning of the command due to MySQL bug 30994.
|
2021-11-26 17:16:03 +01:00 |
|
nebulon42
|
3729ba5ca3
|
add list_options setting, fixes #306
|
2021-11-20 15:43:58 +01:00 |
|
Dan Helfman
|
ea6cd53067
|
Update versions of test dependencies (test_requirements.txt and test containers).
|
2020-11-22 14:48:07 -08:00 |
|
Dan Helfman
|
0e978299cf
|
Fix traceback when a database hook value is null in a configuration file (#355).
|
2020-10-07 15:41:45 -07:00 |
|
Dan Helfman
|
32e15dc905
|
Add a few more mocks to PostgreSQL SSL tests.
|
2020-06-20 14:39:16 -07:00 |
|
Edward Shornock
|
d2d92b1f1a
|
Add tests for the PostgreSQL SSL options
|
2020-06-20 23:32:24 +03:00 |
|
Edward Shornock
|
abd47fc14e
|
Add SSL support to PostgreSQL hooks
|
2020-06-19 02:19:17 +03:00 |
|
Dan Helfman
|
d7277893fb
|
Fix hang when a stale database dump named pipe from an aborted borgmatic run remains on disk (#316).
|
2020-06-02 12:40:32 -07:00 |
|
Dan Helfman
|
65472c8de2
|
Fix error message when there are no MySQL databases to dump for "all" databases (#319).
|
2020-05-26 08:59:04 -07:00 |
|
Dan Helfman
|
89cb5eb76d
|
Fix regression in support for PostgreSQL's "directory" dump format (#314).
|
2020-05-18 11:31:29 -07:00 |
|
Dan Helfman
|
d88f321cef
|
Fix legitimate database dump command errors (exit code 1) not being treated as errors by borgmatic (#310).
|
2020-05-14 22:38:38 -07:00 |
|
Dan Helfman
|
4b523f9e2c
|
Make database restore output only show at verbosity 2.
|
2020-05-08 19:38:33 -07:00 |
|
Dan Helfman
|
6a61070d85
|
Use shell redirection rather than the --file flag to sidestep synchronization issues when pg_dump/pg_dumpall tries to write to a named pipe.
|
2020-05-08 19:11:26 -07:00 |
|
Dan Helfman
|
1ba996ad93
|
Additional test coverage.
|
2020-05-07 12:14:27 -07:00 |
|
Dan Helfman
|
a23fdf946d
|
Stream database dumps and restores directly to/from Borg without using any additional filesystem space (#258).
|
2020-05-07 11:44:04 -07:00 |
|