Divyansh Singh
|
6f300b0079
|
feat: constants support
|
2023-03-24 02:39:37 +05:30 |
|
Divyansh Singh
|
bd235f0426
|
use exit_code_indicates_error and modify it to accept a command
|
2023-03-22 16:23:53 +05:30 |
|
Nain
|
7de9260b0d
|
Remove test now that --repository isn't expected to error
As discussed #652#issuecomment-5579
|
2023-03-15 14:59:12 -04:00 |
|
Dan Helfman
|
9b83afe491
|
With the "create" action, only one of "--list" ("--files") and "--progress" flags can be used.
|
2023-02-26 17:05:56 -08:00 |
|
Dan Helfman
|
2774c2e4c0
|
Add support for Borg 2's "--match-archives" flag (replaces "--glob-archives") (#591).
|
2022-10-03 22:50:37 -07:00 |
|
Dan Helfman
|
87c97b7568
|
Fixed spurious, intermittent test failures related to command execution and logging.
|
2022-08-28 09:06:06 -07:00 |
|
Dan Helfman
|
462326406e
|
Drop only-style actions like "--create", rename "prune --files" to "prune --list", and add "--list" alias to "create" and "export-tar" (#571).
|
2022-08-21 14:25:16 -07:00 |
|
Dan Helfman
|
540f9f6b72
|
Add missing test for "transfer" action (#557).
|
2022-08-19 09:40:29 -07:00 |
|
Dan Helfman
|
7dee6194a2
|
Add new "transfer" action for Borg 2 (#557).
|
2022-08-18 23:06:51 -07:00 |
|
Dan Helfman
|
3ab7a3b64a
|
Replace use of --prefix with --glob-archives in info action (#557).
|
2022-08-17 15:36:19 -07:00 |
|
Dan Helfman
|
28d847b8b1
|
Warn and tranform on non-ssh://-style repositories (#557).
|
2022-08-17 10:13:11 -07:00 |
|
Dan Helfman
|
c7176bd00a
|
Add rinfo action for Borg 2 support (#557).
|
2022-08-12 23:06:56 -07:00 |
|
Dan Helfman
|
622caa0c21
|
Support for Borg 2's rcreate and rinfo sub-commands (#557).
|
2022-08-12 14:53:20 -07:00 |
|
Dan Helfman
|
16066942e3
|
Fix traceback with "create" action and "--json" flag when a database hook is configured (#563).
|
2022-07-19 10:25:10 -07:00 |
|
Dan Helfman
|
457ed80744
|
Fix environment variable plumbing so options in one configuration file aren't used for others (#555).
|
2022-06-30 13:42:17 -07:00 |
|
Dan Helfman
|
bd4d109009
|
Fix logging to include the full traceback when Borg experiences an internal error (#553).
|
2022-06-28 13:38:24 -07:00 |
|
Dan Helfman
|
80ec3e7d97
|
Deprecate "borgmatic list --successful" flag, as listing only non-checkpoint (successful) archives is now the default in newer versions of Borg.
|
2022-06-02 20:35:39 -07:00 |
|
Dan Helfman
|
2bc91ac3d2
|
Add "generate-borgmatic-config --overwrite" flag to replace an existing destination file (#539).
|
2022-05-29 16:03:55 -07: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 |
|
Dan Helfman
|
77b84f8a48
|
Add Bash completion script so you can tab-complete the borgmatic command-line.
|
2022-05-26 10:27:53 -07:00 |
|
Dan Helfman
|
be59a3e574
|
Fix generate-borgmatic-config with "--source" flag to support more complex schema changes like the new Healthchecks configuration options (#536).
|
2022-05-25 10:26:26 -07:00 |
|
Dan Helfman
|
255cc6ec23
|
When deep merging common configuration, merge colliding list values by appending them (#531).
|
2022-05-20 15:28:28 -07:00 |
|
Dan Helfman
|
788281cfb9
|
When a configuration include is a relative path, load it from either the current working directory or from the directory containing the file doing the including (#532).
|
2022-05-19 17:15:05 -07:00 |
|
Dan Helfman
|
525266ede6
|
Deep merging when including common configuration (#381).
|
2022-04-25 21:18:37 -07: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
|
acb2ca79d9
|
Fix traceback that can occur when dumping a database (#440).
|
2021-08-06 08:58:11 -07:00 |
|
Dan Helfman
|
80b33fbf8a
|
Code style reformatting.
|
2021-07-27 09:39:48 -07:00 |
|
Marek Szuba
|
e8b8d86592
|
tests/integration/test_execute: use plain Python rather than xxd
Removes this test's dependencies on vim and /dev/urandom.
Signed-off-by: Marek Szuba <marek.szuba@cern.ch>
|
2021-07-27 13:50:16 +01:00 |
|
Dan Helfman
|
2a8692c64f
|
Fix integration test to hopefully work on Alpine (#430).
|
2021-07-25 22:50:00 -07:00 |
|
Dan Helfman
|
1709f57ff0
|
Fix hang when restoring a PostgreSQL "tar" format database dump (#430).
|
2021-07-25 22:30:15 -07:00 |
|
Dan Helfman
|
27d37b606b
|
Better error messages! Switch the library used for validating configuration files (from pykwalify to jsonschema).
|
2021-06-22 13:27:59 -07:00 |
|
Dan Helfman
|
cf8882f2bc
|
Run arbitrary Borg commands with new "borgmatic borg" action (#425).
|
2021-06-17 20:41:44 -07:00 |
|
Dan Helfman
|
ad7198ba66
|
Tweak to test failing on some machines.
|
2020-11-26 16:22:42 -08:00 |
|
Dan Helfman
|
c0ae01f5d5
|
Code formatting.
|
2020-11-25 17:46:57 -08:00 |
|
Dan Helfman
|
ccd1627175
|
Fix timing-related test error in Alpine Edge.
|
2020-11-25 15:48:33 -08:00 |
|
Dan Helfman
|
9b819f32f8
|
Fix traceback when upgrading old INI-style configuration with upgrade-borgmatic-config (#367).
|
2020-11-18 15:01:10 -08:00 |
|
Dan Helfman
|
1ea04aedf0
|
Merge override values when specifying the "--override" flag multiple times (#361).
|
2020-10-23 16:06:00 -07:00 |
|
Dan Helfman
|
6f82c9979b
|
Add #339 to NEWS and add test.
|
2020-07-07 22:31:17 -07:00 |
|
Dan Helfman
|
37cc229749
|
Fix duplicate logging to Healthchecks and send "after_*" hooks output to Healthchecks (#328).
|
2020-06-23 11:01:03 -07: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
|
89cb5eb76d
|
Fix regression in support for PostgreSQL's "directory" dump format (#314).
|
2020-05-18 11:31:29 -07:00 |
|
Dan Helfman
|
3e5a19d95a
|
Add missing test coverage.
|
2020-05-14 23:21:43 -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
|
15ea70a71b
|
Flesh out missing test coverage for execute.py.
|
2020-05-12 15:49:49 -07:00 |
|
Dan Helfman
|
3bcef72050
|
Add some missing test mocks that were masking lack of unit coverage.
|
2020-05-11 11:17:24 -07:00 |
|
Dan Helfman
|
695c764a01
|
Merge log output functions into one.
|
2020-05-11 10:55:50 -07:00 |
|
Dan Helfman
|
1ea047dd94
|
Remove "borgmatic restore --progress" flag, as it now conflicts with streaming database restores.
|
2020-05-09 21:53:16 -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 |
|
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 |
|
palto42
|
e27ba0d08a
|
less detail at v1 + option "--files" for details
|
2020-01-11 16:38:07 +01: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
|
df2be9620b
|
Mount whole repositories via "borgmatic mount" without any "--archive" flag (#253).
|
2019-12-06 15:58:54 -08:00 |
|
Dan Helfman
|
375036e409
|
Support for mounting an archive as a FUSE filesystem via "borgmatic mount" action, and unmounting via "borgmatic umount" (#123).
|
2019-11-25 14:56:20 -08:00 |
|
Dan Helfman
|
427b57e2a9
|
Database dump hooks for MySQL/MariaDB (#228).
|
2019-11-08 11:17:52 -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 |
|
palto42
|
18d3542fbc
|
new verbosity level "-1" for errors
|
2019-11-03 09:55:19 +01:00 |
|
Dan Helfman
|
e3dd545345
|
Extract files to a particular directory via "borgmatic extract --destination" flag. Also rename "--restore-path" to "--path" to reduce confusion.
|
2019-11-01 10:00:26 -07:00 |
|
Dan Helfman
|
3006db0cae
|
Restore backed up PostgreSQL databases via "borgmatic restore" sub-command (#229).
|
2019-10-31 12:57:36 -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
|
7b3b28616d
|
Add "borgmatic list --successful" flag to only list successful (non-checkpoint) archives (#86).
|
2019-10-13 15:58:11 -07:00 |
|
Dan Helfman
|
340bd72176
|
Fix regression of argument parsing for default actions (#220).
|
2019-09-22 11:30:58 -07:00 |
|
Dan Helfman
|
1a1bb71af1
|
Fix error with "borgmatic check --only" command-line flag with "extract" consistency check (#217).
|
2019-09-20 11:43:27 -07:00 |
|
Dan Helfman
|
11e830bb1d
|
Fix flake8 warning.
|
2019-09-18 14:11:56 -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
|
67ab2acb82
|
Fix for hook erroring with exit code 1 not being interpreted as an error (#214).
|
2019-09-12 16:37:43 -07:00 |
|
Dan Helfman
|
ccbd0b608b
|
Do not treat Borg warnings (exit code 1) as failures (#204).
|
2019-08-03 15:13:54 -07:00 |
|
Dan Helfman
|
1676a98c51
|
Fix for Borg create error output not showing up at borgmatic verbosity level zero (#198).
|
2019-06-24 09:55:41 -07:00 |
|
Dan Helfman
|
4bf3e906a1
|
Break out main borgmatic arguments-parsing code into a separate file.
|
2019-06-22 21:32:27 -07:00 |
|
Dan Helfman
|
0ca43ef67a
|
Get tests passing.
|
2019-06-22 21:23:48 -07:00 |
|
Dan Helfman
|
276aeb9875
|
Fix tests that assert on default syslog verbosity.
|
2019-06-16 21:58:41 -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
|
1ba56d5262
|
Fix tests in Python 3.6.
|
2019-06-13 21:34:04 -07:00 |
|
Dan Helfman
|
7d7308a80d
|
Integration tests for execute.py.
|
2019-06-13 10:48:21 -07:00 |
|
Dan Helfman
|
a6c4debf78
|
Additional test coverage, and upgrade test requirements.
|
2019-06-13 10:01:55 -07:00 |
|
Luke Murphy
|
1c0dc3f904
|
Run isort over the source
|
2019-05-14 18:59:19 +02:00 |
|
Dan Helfman
|
8650a15db1
|
Document validate-borgmatic-config and add a few tests.
|
2019-05-11 14:05:16 -07:00 |
|
Dan Helfman
|
6ff1867312
|
Configuration files includes and merging (#148).
|
2019-03-06 12:06:27 -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
|
9de5083a7e
|
Additional test coverage for extract options in borgmatic command.
|
2019-02-18 09:52:56 -08:00 |
|
Dan Helfman
|
2dc006aab4
|
Allow use of --stats flag when --create or --prune flags are implied (#139).
|
2019-01-27 12:15:47 -08:00 |
|
Dan Helfman
|
fd46efb193
|
Add borgmatic --version command-line flag to get the current installed version number.
|
2018-12-25 21:01:08 -08:00 |
|
Dan Helfman
|
30b52e5523
|
With --init command-line flag, if a repository already exists, proceed without erroring (#117).
|
2018-12-24 22:28:02 -08:00 |
|
Felix Buehler
|
73d67e29b4
|
Support for Borg create & prune --stats via borgmatic command-line flag (#100)
|
2018-12-22 23:27:24 +01:00 |
|
Dan Helfman
|
cc9dbb1def
|
Support for Borg repository initialization via borgmatic --init command-line flag (#110).
|
2018-12-10 22:20:57 -08:00 |
|
Dan Helfman
|
1dcac44d6c
|
Fix broken test of deprecated --excludes option.
|
2018-12-09 15:49:05 -08:00 |
|
Dan Helfman
|
80c69aac05
|
Fix incomplete test coverage around --progress argument validation.
|
2018-12-02 15:08:42 -08:00 |
|
Dan Helfman
|
a125df991b
|
Move tests to the root of the repository, in keeping with more common convention.
|
2018-09-30 13:57:20 -07:00 |
|