Dan Helfman
ab351548d2
Fix (some) end-to-end tests ( #721 ).
2023-07-09 17:40:02 -07:00
Dan Helfman
325b561296
Switch from "init" to "rcreate" for creating repos in end-to-end tests.
2023-06-24 15:52:20 -07:00
Divyansh Singh
e2d82e9bba
actually test port restores
2023-06-19 01:10:01 +05:30
Divyansh Singh
384182172a
add unit tests for cases when cli/config restore args are used
2023-06-18 06:29:11 +05:30
Divyansh Singh
9016dcc418
all e2e tests
2023-06-18 05:47:35 +05:30
Dan Helfman
5962fd473e
Another try. Backing out psql error changes ( #678 ).
2023-04-21 10:34:50 -07:00
Dan Helfman
7e64f415ba
Attempt to fix failing end-to-end database test that only fails in CI.
2023-04-21 10:03:29 -07:00
Dan Helfman
ae12ccd8e6
And fixing again...
2023-04-21 09:31:37 -07:00
Dan Helfman
3cefeaa229
Fix end-to-end test command-line syntax.
2023-04-21 09:30:08 -07:00
Dan Helfman
71b75800cd
Get more verbose in the end-to-end test restore.
2023-04-20 23:32:57 -07:00
Dan Helfman
f42890430c
Add code style plugins to enforce use of Python f-strings and prevent single-letter variables.
2023-03-23 23:11:14 -07:00
Divyansh Singh
767a7d900b
e2e tests schema update
2023-03-04 01:29:01 +05:30
Divyansh Singh
af1cc27988
feat: add dump-restore support for sqlite databases
2023-03-02 23:55:16 +05:30
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
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
ae036aebd7
When the "read_special" option is true or database hooks are enabled, auto-exclude special files for a "create" action to prevent Borg from hanging ( #587 ).
2022-10-03 12:58:13 -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
89cb5eb76d
Fix regression in support for PostgreSQL's "directory" dump format ( #314 ).
2020-05-18 11:31:29 -07:00
Dan Helfman
048a9ebb52
Add an additional end-to-end database test.
2020-05-15 10:12:49 -07:00
Dan Helfman
dce1928dc4
Fix PostgreSQL restore error on "all" database dump.
2020-04-24 15:50:33 -07:00
Nathan Beals
3c8dc4929f
Added test_restore_all_database_dump
unit test.
...
Updated the other unit tests, as I had to re-arrange argument order
Added an 'all' test for the postgres end-to-end test.
Ran black formatter on it all.
2020-04-24 18:32:53 -04:00
Dan Helfman
e511014a28
Fix MySQL restore error on "all" database dump by excluding system tables ( #301 ).
2020-04-22 12:17:22 -07:00
Dan Helfman
464ff2fe96
Run end-to-end tests on developer machines with Docker Compose for approximate parity with continuous integration tests.
2019-12-11 16:43:01 -08:00
Dan Helfman
68281339b7
Black.
2019-12-10 16:57:12 -08:00
Dan Helfman
01e2cf08d1
Fix Drone CI services syntax.
2019-12-10 16:43:43 -08:00
Dan Helfman
9f821862b7
End-to-end tests for database dump and restore.
2019-12-10 16:41:01 -08:00