summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-12-02build_man1.2.7Thomas Waldmann
2023-12-02build_usageThomas Waldmann
2023-12-02update CHANGESThomas Waldmann
2023-12-02Merge pull request #7956 from ThomasWaldmann/py313-unistdh-1.2TW
include unistd.h in _chunker.c
2023-12-02Merge pull request #7957 from ThomasWaldmann/docs-rebuild-refcounts-1.2TW
docs: Add "check.rebuild_refcounts" message
2023-12-02docs: Add "check.rebuild_refcounts" messageSophie Herold
2023-12-01include unistd.h in _chunker.cFelix Schwarz
With Python 3.13, Python.h no longer includes the <unistd.h> standard header file: https://docs.python.org/3.13/whatsnew/3.13.html#id8
2023-11-29Merge pull request #7952 from ThomasWaldmann/update-changes-1.2TW
update CHANGES (1.2-maint)
2023-11-27Remove period that could be interpreted as part of the command (#7946)Kevin Yin
CVE upgrade steps: remove period that could be interpreted as part of the command
2023-11-27update CHANGESThomas Waldmann
2023-11-18Merge pull request #7939 from ThomasWaldmann/lockroster-remove-fix-1.2TW
LockRoster.modify fix (1.2-maint)
2023-11-16LockRoster.modify: no KeyError if element was already gone, fixes #7937Thomas Waldmann
The intention of LockRoster.modify(key, REMOVE) is to remove self.id. Using set.discard will just ignore it if self.id is not present there anymore. Previously, using set.remove triggered a KeyError that has been frequently seen in tracebacks of teardowns involving Repository.__del__ and Repository.__exit__. I added a REMOVE2 op to serve one caller that needs to get the KeyError if self.id was not present. Thanks to @herrmanntom for the workaround!
2023-11-13Add backup by SERIAL method (#7934)zDEFz
docs: create disk/partition sector backup by disk serial number
2023-11-09Merge pull request #7926 from ThomasWaldmann/update-requirements-1.2TW
update requirements.d/development.lock.txt
2023-11-09update requirements.d/development.lock.txtThomas Waldmann
2023-11-07Merge pull request #7915 from ThomasWaldmann/fix-subcommand-env-1.2TW
create --*-from-command: run subcommands with a clean environment
2023-11-06create --*-from-command: run subcommands with a clean environment, fixes #7916Thomas Waldmann
When borg invokes a system command, it needs to prepare the environment for that. This is especially important when using a pyinstaller-made borg fat binary that works with a modified env var LD_LIBRARY_PATH - system commands may crash with that. borg already had calls to prepare_subprocess_env at some places (e.g. when invoking ssh for the remote repo connection), but they were missing for: borg create --content-from-command ... borg create --paths-from-command ...
2023-11-06Merge pull request #7913 from ThomasWaldmann/docs-upgrade-chkpt-tam-1.2TW
CVE-2023-36811 upgrade docs: consider checkpoint archives, fixes #7802
2023-11-06CVE-2023-36811 upgrade docs: consider checkpoint archives, fixes #7802Thomas Waldmann
The traceback seen there came from borg not showing a .checkpoint archive that didn't have a valid TAM and thus the user not see it / fix it: https://github.com/borgbackup/borg/issues/7802#issuecomment-1793860606
2023-11-05Merge pull request #7904 from ThomasWaldmann/fix-shadow-index2-1.2TW
shadow index: add more comments
2023-11-05shadow index: add more commentsThomas Waldmann
2023-11-04Merge pull request #7903 from ThomasWaldmann/update-changes-1.2TW
update CHANGES (1.2-maint)
2023-11-03update CHANGESThomas Waldmann
2023-11-03Merge pull request #7896 from ThomasWaldmann/fix-shadow-index-1.2TW
fix shadow index update for double-put (1.2-maint)
2023-11-03Merge pull request #7897 from ThomasWaldmann/check-fixes-shadow-index-1.2TW
check --repair fixes shadow_index (1.2-maint)
2023-11-03Merge pull request #7901 from ThomasWaldmann/update-docs-1.2TW
Update docs (1.2-maint)
2023-11-01docs: not only attack/unsafe, can also be a fs issue, fixes #7853Thomas Waldmann
2023-11-01docs: point to CVE-2023-36811 upgrade steps from borg 1.1 to 1.2 upgrade ↵Thomas Waldmann
steps, fixes #7899 also: use 1.2.6 to refer to the fixed version 1.2.5 had issues and was superseded by 1.2.6 just 1 day later, so we do not need to talk about that. Also, the docs point out that: """ Below, if we speak of borg 1.2.6, we mean a borg version >= 1.2.6 **or** a borg version that has the relevant security patches for this vulnerability applied (could be also an older version in that case). """ So, it now just talks about "1.2.6" at the relevant places.
2023-11-01docs: upgrade steps needed for all kinds of repos, fixes #7813Thomas Waldmann
Repos with encryption=none of course can not do real authentication (because there is no secret key material to work with). But the code always works the same way and such repos also use (and expect) TAMs, so the instructions should be followed in any case.
2023-11-01docs: consequences of borg check, fixes #7816Thomas Waldmann
2023-10-29check --repair: recreate shadow index, see #6687Thomas Waldmann
before this fix, borg check --repair just created an empty shadow index, which can lead to incomplete entries if entries are added later. and such incomplete (but present) entries can lead to compact_segments() resurrecting old PUTs by accidentally dropping related DELs.
2023-10-29check --repair: test if shadow index is recreatedThomas Waldmann
still failing here, because it is not.
2023-10-28shadow index updates: simplify and more commentsThomas Waldmann
no functional change here.
2023-10-28update shadow index when doing a double-put, fixes #5661Thomas Waldmann
this fixes the test added in previous commit (avoids that the PUT reappears after index rebuild).
2023-10-28test the shadowing-by-double-put behaviour, see #5661Thomas Waldmann
the new test is currently failing due to a bug in the repository code.
2023-10-28Merge pull request #7892 from ThomasWaldmann/ci-timeout-1.2TW
CI: increase timeout to 90min
2023-10-27CI: increase timeout to 90minThomas Waldmann
esp. the macOS CI jobs are sometimes rather slow, so 40min were not enough.
2023-10-27Merge pull request #7891 from ThomasWaldmann/sort-by-aliases-1.2TW
--sort-by: support "archive" as alias of "name", fixes #7873 (1.2-maint)
2023-10-27Merge pull request #7890 from ThomasWaldmann/doc-updates-1.2TW
doc updates (1.2-maint)
2023-10-27--sort-by: support "archive" as alias of "name", fixes #7873Thomas Waldmann
2023-10-27Merge pull request #7889 from ThomasWaldmann/udev-uuid-1.2TW
automated-local.rst: use GPT UUID for consistent udev rule (1.2-maint)
2023-10-27docs: OS X -> macOSThomas Waldmann
2023-10-27docs: update macOS hint about full disk accessThomas Waldmann
2023-10-27docs: minor fixes/update to notesThomas Waldmann
2023-10-27docs: remove info about borg 1.0 files per dirThomas Waldmann
2023-10-27docs: no signature upload on pypi any moreThomas Waldmann
but we upload it on github releases, so people can check it.
2023-10-27docs: CI only on github actions nowThomas Waldmann
2023-10-27automated-local.rst: Partition table UUID match works for MBR tooazrdev
not only GPT
2023-10-27automated-local.rst: use GPT UUID for consistent udev ruleazrdev
2023-10-27Merge pull request #7886 from ThomasWaldmann/fix-inv-pattern-errorhandling-1.2TW
Fix arg parsing error handling (1.2-maint)