TW
1a6437d8ca
Merge pull request #6046 from Killamus/fix_overwrite_keys
...
Disallow overwriting of existing keyfiles on init
2022-02-04 20:15:53 +01:00
Thomas Waldmann
7edba854b2
use create=True when creating new keys, fixes #6036
2022-02-04 19:33:45 +01:00
Thomas Waldmann
d299b8bc9c
KeyfileKeyBase: add create=False param to save method
...
If we create a new repo (and a new keyfile key, create=True),
there must not already exist a keyfile at the path/filename
where we want to write the new one.
In other use cases (e.g. if we overwrite a keyfile due
to the user changing their passphrase, create=False),
of course overwriting at the same path/fname is desired.
2022-02-04 19:33:45 +01:00
Andrey Bienkowski
9f311abd79
Doc: borg key export: add examples ( #6227 )
...
docs: borg key export: add examples
see: https://github.com/borgbackup/borg/issues/6204#issuecomment-1027150308
2022-02-04 18:37:33 +01:00
TW
f96e443975
Merge pull request #6223 from ThomasWaldmann/fix-codeql-master
...
do not use broken setuptools version
2022-02-02 05:45:29 +01:00
TW
495c6bb977
Merge pull request #6220 from ThomasWaldmann/fix-intermediate-commits
...
fix intermediate commits, shall be at end of segment
2022-02-02 05:30:34 +01:00
Thomas Waldmann
456bf4ce35
exclude buggy current setuptools release
...
see there: https://github.com/pypa/setuptools/issues/3063
2022-02-02 05:24:53 +01:00
Thomas Waldmann
925daf30b7
fix intermediate commits, shall be at end of segment
...
compact_segments produced separate 17b files for intermediate commits, although they were intended to be end-of-segment-file commits.
this is because when the intermediate commit is triggered, we are already at an offset beyond the limit.
thus needed to add the no_new flag to indicate that we do not want a new segment file just for the commit IF it is an intermediate commit.
2022-02-01 19:45:29 +01:00
TW
2b81943030
Merge pull request #6218 from ThomasWaldmann/better-errors-master
...
if ensure_dir() fails, give more informative error message, fixes #5952
2022-02-01 04:25:15 +01:00
Thomas Waldmann
79964d1a2b
if ensure_dir() fails, give more informative error message, fixes #5952
...
previously, it just said PermissionDenied with giving the filename/path.
2022-02-01 04:02:09 +01:00
TW
444ef02262
Merge pull request #6216 from ThomasWaldmann/cleanup-location-master
...
repo::archive location placeholder expansion fixes (master)
2022-01-31 22:54:20 +01:00
Thomas Waldmann
c4116b26c8
Location: fix bad naming: rename .orig -> .processed
...
- .raw is the unprocessed location (as given by user / env).
- .processed is the processed location (after placeholder replacement).
2022-01-31 21:55:12 +01:00
Thomas Waldmann
ad122e554a
repo::archive location placeholder expansion fixes, fixes #5826 , fixes #5998
...
- use expanded location for log output
- support placeholder expansion for BORG_REPO env var
- use Location.raw for the unprocessed, not expanded location string
2022-01-31 21:33:41 +01:00
TW
207db933e5
Merge pull request #6214 from ThomasWaldmann/docs-patterns-stable-master
...
docs updates about features not experimental any more
2022-01-31 21:22:07 +01:00
Thomas Waldmann
6c517e4c25
docs: FUSE "versions" view is not experimental any more
2022-01-31 21:01:49 +01:00
Thomas Waldmann
5d4dda75d3
docs: --pattern* not experimental any more, fixes #6134
2022-01-31 20:55:08 +01:00
TW
3a552b4c8b
Merge pull request #6209 from ThomasWaldmann/delete-repo-forced-master
...
delete --force: do not ask when deleting a repo, fixes #5941
2022-01-31 00:29:19 +01:00
Thomas Waldmann
d917c3a43b
delete --force: do not ask when deleting a repo, fixes #5941
2022-01-30 23:43:59 +01:00
TW
a2b131dc2d
Merge pull request #6208 from ThomasWaldmann/fix-del-nonexist-master
...
delete: don't commit if nothing was deleted, avoid cache sync, fixes #6060
2022-01-30 23:35:12 +01:00
Thomas Waldmann
20c5c6afbd
delete: don't commit if nothing was deleted, avoid cache sync, fixes #6060
2022-01-30 23:15:05 +01:00
TW
a65f298477
Merge pull request #6157 from hexagonrecursion/ununit
...
Refactor: remove assert_true (master)
2022-01-29 23:19:11 +01:00
TW
5c9dfd701e
Merge pull request #6187 from ThomasWaldmann/update-install-docs
...
update install docs, fixes #6180
2022-01-29 01:55:27 +01:00
Thomas Waldmann
faf980cb69
update install docs, fixes #6180
2022-01-29 01:52:41 +01:00
Dee Newcum
03bbad0d17
docs: fix/update cygwin package requirements ( #5735 )
...
docs: cygwin package requirements fixes/updates
Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-01-29 01:51:23 +01:00
Andrey Bienkowski
98fcef57ce
Doc: ~/.config/borg/keys is not used w/ repokey ( #6185 )
...
docs: ~/.config/borg/keys is not used for repokey keys, fixes #6107
Thanks to ThomasWaldmann for suggesting this
https://github.com/borgbackup/borg/pull/6185#discussion_r793995379
2022-01-28 18:29:40 +01:00
TW
b931befd65
Merge pull request #6186 from hexagonrecursion/move-test
...
Refactor: move a test to ArchiverTestCase
2022-01-27 22:01:31 +01:00
Andrey Bienkowski
6a5d24650f
Refactor: improve a test name
...
https://github.com/borgbackup/borg/pull/6186#issuecomment-1023504905
> could you rename the strip test a little, so that there is
> ..._remote_repo in the test name. if one does not fully read the test
> (like me), one would assume that a strip-related test also applies to
> local repos, but in this case, the condition checked only applies to
> remote repos.
2022-01-27 23:03:15 +03:00
Andrey Bienkowski
e401d674b9
Refactor: move a test to ArchiverTestCase
...
Fixes #6168
2022-01-27 20:18:45 +03:00
TW
0765cedb50
Merge pull request #6167 from ThomasWaldmann/vagrant-fixes
...
vagrant fixes (master)
2022-01-23 22:15:47 +01:00
Thomas Waldmann
d906ac3fad
vagrant: macos box tuning, fixes #5370
...
git is already installed, installing the latest version takes ages
due to its dependencies. also brew upgrade (same issue).
2022-01-23 22:12:57 +01:00
TW
3edb19ac87
Merge pull request #6165 from hexagonrecursion/excluded-parent
...
docs: excluded parent dir's metadata can't restore
2022-01-23 22:05:58 +01:00
Thomas Waldmann
baf74f938a
vagrant: netbsd box fixes, see #5922
...
use more current 9.0_current pkgsrc, upgrade pkgs
fix the pythons so they actually work (_sysconfig_data brokenness)
vagrant's rsync install now also works, seems like somebody fixed it.
still, there are spurious python crashes.
2022-01-23 22:02:00 +01:00
TW
a45307ed1a
Merge pull request #6160 from borgbackup/rel120b4
...
release 1.2.0b4
2022-01-23 21:51:05 +01:00
Andrey Bienkowski
bc69450cb6
Docs: excluded parent dir's metadata can't restore
...
The PR #6062 made a mistake: it updated the generated files instead of
the source. This is the fix
Refer to discussion in #5680 .
2022-01-23 23:11:21 +03:00
Andrey Bienkowski
1911c81cbb
Revert "docs: excluded parent dir's metadata can't restore. ( #6062 )"
...
This reverts commit 7e746e10e7
.
The commit was modifying auto-generated files instead of their sources.
See the next commit for the fix.
2022-01-23 22:32:15 +03:00
Thomas Waldmann
ab1a83c813
changes.rst markup fixes
2022-01-23 17:18:17 +01:00
Thomas Waldmann
c643210741
docs: fix tar-related doc structure
2022-01-23 17:16:20 +01:00
Thomas Waldmann
61c7ee2b35
build_man
2022-01-23 15:53:42 +01:00
Thomas Waldmann
572e996d9a
build_usage
2022-01-23 15:52:21 +01:00
Thomas Waldmann
5b60761bd7
update CHANGES
2022-01-23 15:39:40 +01:00
TW
74c087c76a
Merge pull request #6159 from ThomasWaldmann/fix-xxh-build-master
...
fix xxh64 related build (master)
2022-01-23 15:13:22 +01:00
Thomas Waldmann
2d4669a2b4
upgrade to xxhash 0.8.1
2022-01-23 14:43:33 +01:00
TW
91e3b0cd8f
Merge pull request #6119 from ThomasWaldmann/repo-review-master
...
repository: quota computation fixes for delayed compaction
2022-01-23 13:34:05 +01:00
Andrey Bienkowski
aa77957f68
Add test for: info: emit repo info even if repo has 0 archives ( #6155 )
...
add test for: info: emit repo info even if repo has 0 archives
In https://github.com/borgbackup/borg/pull/6152 it has been neglected to
add a regression test for the bug that has been fixed. This is the test.
2022-01-22 21:53:17 +01:00
Andrey Bienkowski
37506ca8af
Refactor: remove assert_true (master)
...
Work toward https://github.com/borgbackup/borg/issues/28
2022-01-22 23:49:34 +03:00
Philip Waritschlager
8b61fd308c
docs: add note about GFS ( #6006 )
...
docs: add note about grandfather-father-son backup retention policy / rotation scheme
2022-01-22 20:33:02 +01:00
Mateusz Konieczny
b4f54399d8
minor rewrite to make it less confusing (get rid of "Avoid to create a mixup") ( #5490 )
...
docs: permissions note rewritten to make it less confusing
Original wording was confusing "Avoid to create a mixup of users and permissions in your repository (or cache)." is not clear, what should be avoided?
Also implement some feedback of @jdchristensen.
Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-01-22 20:21:36 +01:00
TW
5edc773488
Merge pull request #6108 from sophie-h/sophie-h/list-command-line
...
list: Add command_line to format keys
2022-01-22 20:16:41 +01:00
Sophie Herold
efd719bcc3
list: Add command_line to format keys
2022-01-22 19:13:32 +01:00
TW
8e8bc6f5c1
Merge pull request #6152 from ThomasWaldmann/info-0-archives-master
...
info: emit repo info even if repo has 0 archives, fixes #6120
2022-01-22 19:05:57 +01:00