1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-29 11:16:43 +00:00
Commit graph

7990 commits

Author SHA1 Message Date
TW
e302fd9da6
Merge pull request #7488 from centic9/master
Describe performing pull-backups via ssh remote forwarding
2023-04-18 18:34:46 +02:00
TW
ee9bf28df9
Merge pull request #7524 from ThomasWaldmann/test-no-backslashes
tests: check for posix-like paths in archives, see #7120
2023-04-18 18:21:48 +02:00
TW
cca8280393
Merge pull request #7526 from ThomasWaldmann/continue-extract-master
extract --continue
2023-04-17 22:28:24 +02:00
Thomas Waldmann
573275e678
extract --continue: continue a previously interrupted extraction, fixes #1356
This skips over all previously fully extracted regular files,
but will delete and fully re-extract incomplete files.
2023-04-16 21:09:48 +02:00
Thomas Waldmann
7786cc7cb4
extract: support extraction of atime/mtime on win32 2023-04-16 20:40:35 +02:00
Thomas Waldmann
9e534c1929
Archive.extract_item: remove unused params, make most params kwargs
stripped_components: this is done already in do_extract, it modifies item.path accordingly.

original_path: not used any more.

also: run black.
2023-04-16 15:40:36 +02:00
Thomas Waldmann
0dee28bd9f
tests: check for posix-like paths in archives, see #7120 2023-04-15 20:29:26 +02:00
TW
0679cbd410
Merge pull request #7523 from ThomasWaldmann/optimize-src-dir-master
tests: use a smaller dir for src_dir, fixes #7518
2023-04-15 17:19:32 +02:00
Thomas Waldmann
4505c90920
tests: use a smaller dir for src_dir, fixes #7518
also: introduce src_file, which is a file in src_dir.
2023-04-15 16:46:23 +02:00
TW
b52a8af6f0
Merge pull request #7517 from snsmac/feat/highlander
Ensure that cli options specified with action=Highlander can only be set once.
2023-04-15 16:45:28 +02:00
snsmac
53b4cf05fb Ensure that cli options specified with action=Highlander can only be set once, even if the set value is a default value. Add tests for action=Highlander. See #7500 #6269 2023-04-15 16:12:36 +02:00
TW
9263705de7
Merge pull request #7521 from ThomasWaldmann/fix-argparse-errors-master
Fix argparse error messages
2023-04-15 15:08:07 +02:00
TW
81e618ba28
Merge pull request #7513 from ThomasWaldmann/friendlier-exceptions-master
refactor toplevel exception handling, see #6018
2023-04-15 15:03:27 +02:00
Thomas Waldmann
0b40e038ad
fix CompressionSpec validator and tests 2023-04-12 01:45:46 +02:00
Thomas Waldmann
05bf29f504
fix SortBySpec validator 2023-04-12 01:21:43 +02:00
Thomas Waldmann
0f923c8c4a
fix FilesCacheMode validator 2023-04-12 01:18:05 +02:00
Thomas Waldmann
6d38530ff1
fix ChunkerParams validator and tests 2023-04-12 01:15:46 +02:00
TW
9307f804bf
Merge pull request #7515 from ThomasWaldmann/vagrant-updates
vagrant updates
2023-04-09 01:50:16 +02:00
Thomas Waldmann
6c62a944fc
vagrant: fix packages_netbsd 2023-04-08 20:30:40 +02:00
TW
1e1c922298
Merge pull request #7512 from ThomasWaldmann/prune-list-pruned-master
prune --list-kept/--list-pruned, fixes #7511
2023-04-08 17:37:33 +02:00
TW
33599b9115
Merge pull request #7509 from ThomasWaldmann/build-filter-microopt
build_filter: micro opt / easier code, fixes #3390
2023-04-08 17:11:40 +02:00
Thomas Waldmann
02b28882b3
prune --list-kept/--list-pruned, fixes #7511
use this to only list the kept (or pruned) archives.
--list-pruned and --list-kept also work in a additive way.

implied logging: support multiple prune options activating same logger

if any of --list / --list-kept / --list-pruned is used,
it should put the borg.output.list logger to INFO level,
otherwise to WARN level.
2023-04-08 15:40:07 +02:00
TW
e3352b1efc
Merge pull request #7514 from ThomasWaldmann/format-env-vars-master
implement BORG_<CMD>_FORMAT env vars, fixes #5166
2023-04-08 14:16:01 +02:00
Thomas Waldmann
9f4f2b42e3
implement BORG_<CMD>_FORMAT env vars, fixes #5166
for now for: prune, list, rlist.
2023-04-08 00:53:53 +02:00
Thomas Waldmann
b0b3d9e08c
refactor toplevel exception handling, see #6018
as a first step, i moved all the traceback formatting
to format_tb.

also, it **first** prints the error and then the traceback
as additional information for a bug report, as suggested
by @jimparis in that ticket.
2023-04-08 00:12:06 +02:00
TW
48f3161248
Merge pull request #7510 from ThomasWaldmann/prune-format-master
prune --short/--format: enable users to format the list output, fixes #3238
2023-04-07 20:24:40 +02:00
TW
b8337b6f77
Merge pull request #7507 from ThomasWaldmann/ignore-empty-path-master
create: ignore empty paths, print warning, fixes #5637
2023-04-07 19:39:27 +02:00
TW
cfbaa3feae
Merge pull request #7506 from ThomasWaldmann/archive-size-nfiles
rlist: size and nfiles format keys
2023-04-07 19:38:54 +02:00
TW
50812f8033
Merge pull request #7508 from ThomasWaldmann/benchmark-use-random-dir-master
benchmark crud: use TemporaryDirectory below given path, fixes #4706
2023-04-07 19:37:35 +02:00
Thomas Waldmann
7686a721af
strip_components: remove bad test 2023-04-07 19:34:32 +02:00
Thomas Waldmann
a0e1110c16
prune --short/--format: enable users to format the list output, fixes #3238 2023-04-07 19:30:22 +02:00
Thomas Waldmann
8060d4100a
build_filter: micro opt / easier code, fixes #3390 2023-04-07 18:21:17 +02:00
Thomas Waldmann
08a2db9410
benchmark crud: use TemporaryDirectory below given path, fixes #4706 2023-04-07 18:05:19 +02:00
Thomas Waldmann
7df6301144
create: ignore empty paths, print warning, fixes #5637 2023-04-07 17:04:00 +02:00
Thomas Waldmann
7a2c757c69
rlist: add size and nfiles to format keys, fixes #6086 2023-04-07 16:37:17 +02:00
Thomas Waldmann
355a50225f
ArchiveFormatter.get_meta: add default value argument 2023-04-07 14:23:43 +02:00
TW
09781e1d30
Merge pull request #7503 from ThomasWaldmann/update-changes
update CHANGES
2023-04-07 00:02:50 +02:00
Thomas Waldmann
7395e4684d
update CHANGES 2023-04-06 21:11:38 +02:00
TW
6662b8dadb
Merge pull request #7498 from ThomasWaldmann/mount-dir-check-master
mount: improve mountpoint error msgs, see #7496
2023-04-06 20:26:43 +02:00
TW
cf55dd0ebd
Merge pull request #7499 from ThomasWaldmann/more-highlander
more Highlander options, fixes #6269
2023-04-06 20:26:26 +02:00
TW
0ba54529a0
Merge pull request #7501 from ThomasWaldmann/gha-increase-timeout-master
CI: increase timeout / save cpu cycles on macOS
2023-04-06 20:19:34 +02:00
Thomas Waldmann
5c24149237
ci: use a faster python on macOS
the macOS machines used for github actions are sometimes slow,
so rather try to put less burden on them.
2023-04-06 19:50:01 +02:00
Thomas Waldmann
bcfbdb6e79
ci: looks like 40mins is not always enough
might depend on server load at gh.
2023-04-06 19:29:01 +02:00
Thomas Waldmann
12f9a26fad
common options: more Highlander options, fixes #6269 2023-04-06 19:11:58 +02:00
Thomas Waldmann
971438dfa0
import/export-tar: more Highlander options, fixes #6269 2023-04-06 17:53:27 +02:00
Thomas Waldmann
d0d8cd1edf
serve: more Highlander options, fixes #6269 2023-04-06 17:49:40 +02:00
Thomas Waldmann
1a6d1d0c7c
rlist: more Highlander options, fixes #6269 2023-04-06 17:47:56 +02:00
Thomas Waldmann
6ca2256f26
rcompress: more Highlander options, fixes #6269 2023-04-06 17:46:17 +02:00
Thomas Waldmann
644796ad6b
list: more Highlander options, fixes #6269 2023-04-06 17:44:07 +02:00
Thomas Waldmann
6074ca44d9
debug: more Highlander options, fixes #6269 2023-04-06 17:40:47 +02:00