1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 16:55:36 +00:00
Commit graph

6432 commits

Author SHA1 Message Date
Andrey Bienkowski
910852acbf Begin automating asciinema screencasts 2022-01-29 15:54:30 +03: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
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
Thomas Waldmann
e22a6c2032 info: emit repo info even if repo has 0 archives, fixes #6120 2022-01-22 18:24:36 +01:00
TW
dce0d89627
Merge pull request #6150 from ThomasWaldmann/vagrant-updates-master5
vagrant fixes (master)
2022-01-22 18:02:28 +01:00
Thomas Waldmann
1a3d0ea66a vagrant: update python version info in comment 2022-01-22 17:52:10 +01:00
Thomas Waldmann
6152f86d74 vagrant: more memory for openindiana64
maybe this speeds up the VM a bit.
2022-01-22 17:50:23 +01:00
Thomas Waldmann
7585e3843c vagrant: more memory for darwin64
maybe this speeds up the VM a bit.
2022-01-22 17:48:57 +01:00
Thomas Waldmann
2f8b130834 vagrant: also invoke setup.py clean2
clean2 was added in master branch to work around some setuptools customizability limitation.
2022-01-22 17:45:28 +01:00
Thomas Waldmann
41814d393d vagrant: use macfuse instead of osxfuse
note: we also use the more recent macfuse on github CI.
2022-01-22 17:41:50 +01:00
Thomas Waldmann
d3bf52e105 vagrant: remove remainders of archlinux box
the (broken) box was removed a while ago.
2022-01-22 17:39:31 +01:00
Thomas Waldmann
550be412e4 vagrant: fix vagrant scp on macOS, fixes #5921
it did not find pyenv in PATH, resulting in unpretty error messages.
2022-01-22 17:25:54 +01:00
TW
757f757cc1
codeql analysis (#6148)
codeql analysis: fixes and cosmetics
2022-01-22 15:00:45 +01:00
TW
9bded11c4e
create github security policy 2022-01-22 14:36:31 +01:00
TW
69337fca61
add codeql analysis 2022-01-22 13:50:27 +01:00
Thomas Waldmann
8a7b32e824 repository: fix quota tests 2022-01-22 02:11:16 +01:00
Thomas Waldmann
57e0724108 repository: fix compactable space computation for empty segment file 2022-01-22 01:32:04 +01:00
Thomas Waldmann
f4b9f63856 repository: fix used quota computation
storage_quota_use should reflect current disk space usage (not considering some overheads like for the index etc.).

 if a chunk is deleted, but the segment file containing the chunk is not yet compacted, the chunk's disk space is still in use!

 when compact_segments is dropping the unused chunks, it is the right time to reduce storage_quota_use.

 storage_quota_use includes the put header overhead.
2022-01-22 01:27:23 +01:00
TW
b3defeb740
Merge pull request #6145 from ThomasWaldmann/update-10xchanges
updated 1.0.x changes up to last one, dissect 1.0.x vs 1.1.x
2022-01-21 14:46:08 +01:00
Thomas Waldmann
35d00ceb2f updated 1.0.x changes up to last one, dissect 1.0.x vs 1.1.x 2022-01-21 14:44:14 +01:00
TW
263bd0b8b7
Merge pull request #6142 from ThomasWaldmann/update-11xchanges
updated 1.1.x changes up to 1.1.17
2022-01-21 14:25:39 +01:00
Thomas Waldmann
5d0446ccf8 updated 1.1.x changes up to 1.1.17 2022-01-21 14:24:12 +01:00
TW
de9d4265e0
Merge pull request #6141 from ThomasWaldmann/remove-env-var-master
remove leftovers of BORG_HOSTNAME_IS_UNIQUE from docs
2022-01-20 23:45:54 +01:00
Thomas Waldmann
78f0f3518e remove leftovers of BORG_HOSTNAME_IS_UNIQUE from docs
thanks to @snsmac for the hint: there is no code implementing this any more. it was replaced by
BORG_HOST_ID (if needed).
2022-01-20 23:38:43 +01:00
TW
35cbf473a1
Merge pull request #6135 from ThomasWaldmann/updates-master
some minor updates (master)
2022-01-20 18:26:11 +01:00
Thomas Waldmann
4c493aa27c pypi metadata: alpha -> beta 2022-01-20 17:45:41 +01:00
Thomas Waldmann
cf2b2d5ab7 vagrant: use python 3.9.10 2022-01-20 17:43:49 +01:00