1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-28 19:01:58 +00:00
Commit graph

8771 commits

Author SHA1 Message Date
Thomas Waldmann
6adf18d97c
update URL docs 2024-10-14 23:30:12 +02:00
Thomas Waldmann
858fbae9a9
Location: simplify regexes, parsing
There were still some relicts from pre-borgstore / borg 1.x in there:
- patterns about "::", used to be separator between repository and archive.
- patterns for //server/share (not supported by borgstore)

Also: unified ssh+sftp and file+socket processing.
2024-10-14 23:16:24 +02:00
Thomas Waldmann
835b2657cd
new ssh: URLs, see #8372
ssh://user@host:port/rel/path
ssh://user@host:port//abs/path

remove the /./ and /~/ hacks.
2024-10-14 19:59:13 +02:00
Thomas Waldmann
72fc028142
to_key_filename: generate different filenames for rel/abs paths 2024-10-14 19:59:11 +02:00
Thomas Waldmann
d60303eb8c
new sftp: URLs, see #8372
sftp://user@host:port/rel/path
sftp://user@host:port//abs/path
2024-10-14 19:59:10 +02:00
Thomas Waldmann
83414b037d
new rclone: URLs, fixes #8446
rclone:remote:path
2024-10-14 19:58:38 +02:00
Thomas Waldmann
4e576d51c7
repo-create: write empty ChunkIndex to repo/cache/, docs 2024-10-14 19:57:59 +02:00
Thomas Waldmann
7f79b65e39
require borgstore ~= 0.1.0 2024-10-13 21:10:47 +02:00
TW
dd7ce48bd5
Merge pull request #8470 from ThomasWaldmann/assert-rewrite
call register_assert_rewrite before importing borg.testsuite
2024-10-12 19:39:32 +02:00
Thomas Waldmann
2b06ac50a1
move conftest one level higher
if it is inside borg.testsuite, we can't rewrite asserts in there.
2024-10-12 18:26:48 +02:00
Thomas Waldmann
450375167e
call register_assert_rewrite before importing borg.testsuite 2024-10-12 18:05:17 +02:00
TW
e376b7f2fa
Merge pull request #8469 from ThomasWaldmann/special-tags
implement special tags, @PROT for protecting archives
2024-10-10 13:37:39 +02:00
Thomas Waldmann
3fb5d3f227
recreate: do not recreate protected archives 2024-10-10 00:35:12 +02:00
Thomas Waldmann
9d187d61ce
delete/prune: do not delete/prune protected archives 2024-10-10 00:34:42 +02:00
Thomas Waldmann
bfd316694d
implement special tags, see #953
special tags start with @ and have clobber protection,
so users can't accidentally remove them using borg tag --set.
it is possible though to still use --set, but one must also
give all special tags that the archive(s) already have.

there is only a known set of allowed special tags:
@PROT - protects archives against archive pruning or archive deletion
setting unknown tags beginning with @ is disallowed.
2024-10-10 00:09:39 +02:00
TW
3cae96cc99
Merge pull request #8468 from ThomasWaldmann/check-improvements
Check improvements
2024-10-09 19:04:47 +02:00
TW
65d0ce66c1
Merge pull request #8467 from ThomasWaldmann/tar-improvements
import-tar/export-tar improvements
2024-10-09 19:04:32 +02:00
Thomas Waldmann
7288f4f94d
check (archives part): use cached ChunkIndex from check (repository part) 2024-10-09 14:30:32 +02:00
Thomas Waldmann
bc24d01928
check (repository part): build and cache a ChunkIndex 2024-10-09 01:28:14 +02:00
Thomas Waldmann
bd22d1fbbb
check: clarify what is meant by remote repository 2024-10-08 23:43:40 +02:00
Thomas Waldmann
e0fdaa440f
import-tar/export-tar: add xattr support for PAX format, #2521 2024-10-08 20:33:24 +02:00
Thomas Waldmann
2ed5d6b101
export-tar: switch default to PAX format
Python 3.8's tarfile module did the same.
2024-10-08 01:49:10 +02:00
TW
d7d59b59de
Merge pull request #8460 from ThomasWaldmann/json-no-changes-master
Suppress modified changes for files which weren't actually modified in JSON output.
2024-10-06 13:48:55 +02:00
TW
ee386d0bef
Merge pull request #8459 from ThomasWaldmann/prune-quarterly-master
Add quarterly pruning strategy.
2024-10-06 12:12:13 +02:00
Thomas Waldmann
1e4314f367
win32: do not test for ctime difference
ctime is file creation time on windows and is not updated on "touch".
2024-10-06 00:12:12 +02:00
TW
c5e48c700b
Merge pull request #8463 from ThomasWaldmann/borgfs-dir-names
mount: create unique directory names, fixes #8461
2024-10-05 23:59:51 +02:00
Thomas Waldmann
f624f76c13
mount: only append archive id when needed 2024-10-05 21:14:30 +02:00
Thomas Waldmann
84245ef2bf
mount: create unique directory names, fixes #8461 2024-10-05 20:52:26 +02:00
TW
91c0def38a
Merge pull request #8458 from ThomasWaldmann/doc-updates
Doc updates
2024-10-05 19:03:30 +02:00
William D. Jones
64e7095578
Ensure that 0B changes are hidden from text diffs too. 2024-10-05 18:28:42 +02:00
William D. Jones
399c3f679d
Add test to make sure 0-added,0-removed modified changes aren't in JSON output. 2024-10-05 17:19:57 +02:00
William D. Jones
16dc660d1d
Remove 0-added,0-removed modified entries from JSON output. 2024-10-05 17:06:34 +02:00
William D. Jones
d54eefd9f4
Add quarterly pruning strategy. (#8337)
Add 13weekly and 3monthly quarterly pruning strategies.
2024-10-05 16:02:14 +02:00
Thomas Waldmann
3d3fc24af3
docs: mount: document on-demand loading, perf tips, fixes #7173 2024-10-05 14:40:32 +02:00
Thomas Waldmann
b69edd4ae1
docs: borg/borgfs detects internally under which name it was invoked, fixes #8207 2024-10-05 14:23:21 +02:00
Thomas Waldmann
414f18a354
docs: better link modern return codes, fixes #8370 2024-10-05 14:12:53 +02:00
Thomas Waldmann
4bdb3c30f9
binary: using the directory build is faster, fixes #8008 2024-10-05 14:01:58 +02:00
Thomas Waldmann
a793d44f5b
update (c) year 2024-10-05 13:53:16 +02:00
TW
ea619e759d
Merge pull request #8452 from ThomasWaldmann/rename-test-files
Rename test files
2024-10-04 20:51:57 +02:00
Thomas Waldmann
090ee523ad
docs: update "Running the tests (using the pypi package)", fixes #6386 2024-10-04 19:04:43 +02:00
Thomas Waldmann
f795d64538
clean up tool.pytest.ini_options 2024-10-04 18:58:11 +02:00
Thomas Waldmann
40dc9dadb4
rename test files, fix imports/names 2024-10-04 18:56:52 +02:00
TW
b2bdf5e20e
Merge pull request #8450 from ThomasWaldmann/rel200b12
Release 2.0.0b12
2024-10-03 12:47:38 +02:00
Thomas Waldmann
4b7ab4f087
build_usage / build_man 2024-10-03 12:30:58 +02:00
Thomas Waldmann
cb691417ac
update CHANGES 2024-10-03 12:30:56 +02:00
TW
c308f76ddc
Merge pull request #8449 from ThomasWaldmann/tag-command
tag: set, add, remove tags
2024-10-03 11:53:13 +02:00
TW
349e6e37ef
Merge pull request #8447 from ThomasWaldmann/fix-canonical-path-rclone
Location.canonical_path: some fixes, see #8446
2024-10-03 01:00:11 +02:00
Thomas Waldmann
ae0e794355
repo-list: show tags 2024-10-03 00:22:32 +02:00
Thomas Waldmann
e274860983
tag: set, add, remove tags 2024-10-02 23:52:39 +02:00
Thomas Waldmann
136d3dc20e
Location.canonical_path: use empty host if host is None, see #8446
% borg repo-info
Location: rclone:///./pcloud:justtesting
2024-10-02 18:52:47 +02:00