1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-03 05:35:58 +00:00
Commit graph

8785 commits

Author SHA1 Message Date
TW
44aab3fca6
Merge pull request #8488 from ThomasWaldmann/py313
CI: use "3.13" (w/o "-dev")
2024-10-24 00:16:31 +02:00
TW
defb7237ed
Merge pull request #8487 from ThomasWaldmann/fix-8486
prune: fix exception when NAME is given, fixes #8486
2024-10-24 00:13:23 +02:00
Thomas Waldmann
e1347ef9ab
CI: use "3.13" (w/o "-dev") 2024-10-23 23:21:18 +02:00
Thomas Waldmann
75b8030ed5
prune: fix exception when NAME is given, fixes #8486 2024-10-23 22:51:35 +02:00
TW
d510555b1b
Merge pull request #8481 from ThomasWaldmann/updates-changes
update CHANGES
2024-10-19 04:11:33 +02:00
Thomas Waldmann
b6eb5b239f
update CHANGES 2024-10-19 03:49:28 +02:00
TW
b00ae897f1
Merge pull request #8477 from ThomasWaldmann/non-existing-repo-errors
simple error msg for non-existing repo, fixes #8475
2024-10-16 18:41:18 +02:00
Thomas Waldmann
a49de25fe3
simple error msg for non-existing repo, fixes #8475
do not show a traceback for this (expected) case.
2024-10-16 17:13:53 +02:00
TW
dfbd3b7d5f
Merge pull request #8472 from ThomasWaldmann/borgstore010
changes needed for borgstore 0.1.0
2024-10-15 21:56:08 +02:00
Thomas Waldmann
7be254efe5
github CI: temporarily disabled windows CI, #8474 2024-10-15 20:36:17 +02:00
Thomas Waldmann
f6f8c678e8
msys2: use pyinstaller 6.10.0 2024-10-15 19:06:34 +02:00
Thomas Waldmann
e8dbcb3bfa
msys2: install rclone 2024-10-15 19:05:27 +02:00
Thomas Waldmann
703c98dbc9
create: catch StoreBackendAlreadyExists
Don't show traceback if a repo at the given location already exists.
2024-10-15 14:30:11 +02:00
Thomas Waldmann
ffdc9581d9
"file:" Location: use absolute path 2024-10-15 01:21:41 +02:00
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