1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-12 17:35:44 +00:00
Commit graph

7852 commits

Author SHA1 Message Date
elandorr
8e2f5a621b
escape 2023-05-14 07:09:45 +00:00
TW
b70cefa474
Merge pull request #7556 from ThomasWaldmann/kill-nonce-manager
remove nonce management, related repo methods
2023-05-12 00:00:29 +02:00
TW
dc0112ce44
Merge pull request #7557 from ThomasWaldmann/crypto-cleanup
cosmetic crypto cleanup
2023-05-11 23:55:30 +02:00
Thomas Waldmann
f970679b62
low_level crypto: fix borg version in comments 2023-05-11 20:10:55 +02:00
Thomas Waldmann
44f58b0870
low_level crypto: minor cleanup
HMAC is not used, we use hmac from py stdlib.
2023-05-11 20:09:47 +02:00
Thomas Waldmann
e02d9edc34
remove nonce management, related repo methods
not needed for borg2 repos (we derive a new session key for each borg
invocation and start counting from 0).

also not needed for borg 1.x repos because we only read them (borg transfer)
and won't write new encrypted data to them.
2023-05-11 17:51:49 +02:00
TW
8ba04bbf37
Merge pull request #7555 from ThomasWaldmann/update-changes-master
update CHANGES
2023-05-10 21:27:52 +02:00
Thomas Waldmann
7c7501acd8
update CHANGES 2023-05-10 20:50:36 +02:00
TW
c7aa0cc5d9
Merge pull request #7554 from ThomasWaldmann/vagrant-updates
vagrant: add lunar64 VM
2023-05-10 17:41:38 +02:00
Thomas Waldmann
2dc0085870
vagrant: add lunar64 VM 2023-05-10 17:40:15 +02:00
TW
49fe6f34aa
Merge pull request #7540 from ThomasWaldmann/transfer-recompress
borg transfer --compression=C --recompress=M, fixes #7529
2023-05-06 22:00:28 +02:00
Thomas Waldmann
0b62338d4a
borg transfer --compression=C --recompress=M, fixes #7529 2023-04-24 23:46:38 +02:00
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