Commit graph

9323 commits

Author SHA1 Message Date
Thomas Waldmann
b27dba670c
add test for #9032 2025-09-30 19:32:22 +02:00
TW
0ee5d6f018
Merge pull request #9028 from borgbackup/dependabot/pip/requirements.d/pip-25.2
build(deps-dev): bump pip from 25.1.1 to 25.2 in /requirements.d
2025-09-25 04:45:54 +02:00
dependabot[bot]
9736c72941
build(deps-dev): bump pip from 25.1.1 to 25.2 in /requirements.d
Bumps [pip](https://github.com/pypa/pip) from 25.1.1 to 25.2.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/25.1.1...25.2)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: '25.2'
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-24 22:43:44 +00:00
TW
9f18b7dad5
Merge pull request #9026 from ThomasWaldmann/backport-action
github actions: use korthout/backport-action
2025-09-23 19:39:54 +02:00
Thomas Waldmann
d27409784e
github actions: use korthout/backport-action 2025-09-23 18:53:08 +02:00
TW
07183f1d2a
Merge pull request #8999 from ThomasWaldmann/typos-grammar-master
fix typos and grammar (master)
2025-09-23 17:31:06 +02:00
Thomas Waldmann
5aa536df4c
spelling: hard link(s) 2025-09-23 15:17:35 +02:00
Thomas Waldmann
2c7bec0149
manual corrections/reverts 2025-09-23 14:56:35 +02:00
Thomas Waldmann
3120f9cd1c
fixed typos and grammar (AI)
this was done by Junie AI.
2025-09-23 14:56:23 +02:00
Thomas Waldmann
ff7f2ab2ab
binary readme: fix typos and grammar 2025-09-23 14:53:56 +02:00
Thomas Waldmann
dd06c07789
paperkey.html: fix typos, grammar, html structure
The original markup included a paragraph element wrapping a block-level pre element, which is invalid per HTML’s content model (a p can only contain phrasing content; pre is flow content).

The fix separated text and pre blocks into valid sibling elements, ensuring no pre is nested inside a p.
2025-09-23 14:53:54 +02:00
Thomas Waldmann
ed73aa19d2
README: fix typos and grammar 2025-09-23 14:53:53 +02:00
Thomas Waldmann
f9ec04ddf6
github workflows: fix typos and grammar 2025-09-23 14:53:51 +02:00
Thomas Waldmann
adbad12478
github templates: fix typos and grammar 2025-09-23 14:53:49 +02:00
TW
3aee110c44
Merge pull request #9025 from ThomasWaldmann/fix-readonly-tests-master
read_only CM: skip test if cmd_immutable is unsuccessful, fixes #9021
2025-09-22 22:01:16 +02:00
TW
3bff0c31cf
Merge pull request #9024 from ThomasWaldmann/transfer-corrupts-src-repo
fix borg transfer corrupting the src repo index
2025-09-22 21:08:04 +02:00
Thomas Waldmann
e5a5d67bff
read_only CM: skip test if cmd_immutable is unsuccessful, fixes #9021 2025-09-22 21:01:01 +02:00
Thomas Waldmann
4a0b71cad1
legacyrepository: remove auto_recover, see #9022
we only read from borg 1.x legacy repos, we must not
try to "fix" them (users can use borg1 check --repair).

had to remove some tests that relied on this "feature".
2025-09-22 19:56:51 +02:00
Thomas Waldmann
d955f8ce75
fix reading borg 1.x repo index, fixes #9022
2 fixes:
- add code to update/verify the HashHeader integrity hash. this code was
  missing and led to FileIntegrityError on the borg 1.x repo index.
- when reading a non-compact borg 1.x hash table from disk (like the borg
  repo index), only add the "used" buckets to the in-memory hashtable,
  but not the unused/tombstone buckets.

The corruption described in #9022 was happening like this:
- borg failed to read the repo index, because the integrity check failed
- due to open_index(..., auto_recover=True), it tried to "fix" it by
  writing an empty hash table to disk. borg 1.x usually then rebuilt the
  index, but somehow this wasn't happening for the user in #9022.
2025-09-22 19:56:49 +02:00
Thomas Waldmann
9cbd0ca461
transfer: add test for unexpected src repo index change, #9022 2025-09-22 19:36:54 +02:00
TW
5b85f47618
Merge pull request #9015 from PhrozenByte/docs-build-src-version
Update install docs to include `SETUPTOOLS_SCM_PRETEND_VERSION`
2025-09-21 15:43:12 +02:00
TW
e42ec86e67
Merge pull request #9018 from PhrozenByte/docs-arch-dev-deps
Add Arch Linux to installing from source docs
2025-09-21 15:38:19 +02:00
Daniel Rudolf
5b765b9ec5
Add Arch Linux to installing from source docs
Note that Arch Linux usually has no separate `-dev` packages, but ships development headers with the normal package.
2025-09-19 16:55:45 +02:00
Daniel Rudolf
8f63d984be
Update install docs to include SETUPTOOLS_SCM_PRETEND_VERSION 2025-09-13 20:37:52 +02:00
TW
7b0b334cb4
Merge pull request #9013 from ThomasWaldmann/remote-repo-test
tests: add sftp/rclone/s3 repo testing
2025-09-12 21:35:39 +02:00
Thomas Waldmann
b0a680bb2a
tests: add sftp/rclone/s3 repo testing 2025-09-11 23:57:48 +02:00
TW
3e44cb7fd0
Merge pull request #9006 from mikemrm/support-borgstore-s3-backend
feat(backend): enable s3 support using borgstore
2025-09-11 23:21:20 +02:00
TW
bee82e2bb1
Merge pull request #9011 from ThomasWaldmann/ci-s3-sftp-testing
CI: add local servers for s3 and sftp testing
2025-09-11 23:16:38 +02:00
Thomas Waldmann
b5d0261222
CI: add local servers for s3 and sftp testing 2025-09-11 14:40:24 +02:00
Mike Mason
0207c2176e
feat(backend): enable s3 support using borgstore
Borg2 documentation mentions the support for the s3 backend however,
borg was missing the parsing bits for an s3 repo.

This updates the Location parser to parse the s3 url using the same
logic as borgstore.

Note: borgstore should be installed with the s3 dependencies in order
for the s3 backend to work.

Signed-off-by: Mike Mason <github@mikemrm.com>
2025-09-09 22:56:57 -05:00
TW
332ef28c7e
Merge pull request #8988 from ThomasWaldmann/vagrant-debian-testing-master
Vagrant: debian testing/trixie box (master)
2025-08-17 16:50:52 +02:00
dataprolet
5b01535768
Adds systemd-inhibit and examples (#8989) 2025-08-11 15:06:36 +02:00
TW
769e5e5e8a
Merge pull request #8987 from ThomasWaldmann/fuse-testing-config-master
FUSE testing config (master)
2025-08-09 16:57:36 +02:00
Thomas Waldmann
85e0e05f35
vagrant: add debian trixie box
currently still known as "testing",
but soon to be released.
2025-08-09 16:28:47 +02:00
Thomas Waldmann
a88bda6fbc
pyproject.toml: correctly define test envs for fuse testing
Looks like the toml config format of tox does not yet support
an easier way for generative test environments.
2025-08-09 16:07:05 +02:00
TW
498d836aea
Merge pull request #8980 from ThomasWaldmann/save_space-test_create_big-master
save space in test_create_* tests
2025-08-06 16:17:04 +02:00
Thomas Waldmann
38f97d65df
save space in test_create_* tests 2025-08-06 14:56:18 +02:00
TW
6a83ea1c60
Merge pull request #8856 from ThomasWaldmann/tar-posix-ACLs
export-tar/import-tar: support for POSIX ACLs
2025-08-05 16:21:55 +02:00
Thomas Waldmann
fe5a991c8d
export-tar/import-tar: support for POSIX ACLs (PAX format)
Implemented handling of POSIX access and default ACLs in tar files.
New keys, `SCHILY.acl.access` and `SCHILY.acl.default`, are used
to store these ACLs in the tar PAX headers.
2025-08-03 22:12:32 +02:00
TW
eb136a3d17
Merge pull request #8972 from ThomasWaldmann/rel200b19
Release 2.0.0b19
2025-08-02 14:37:12 +02:00
Thomas Waldmann
bf7a1e4a61
vagrant: use pyinstaller 6.14.2 for binary building
this is for future betas, not including b19.
2025-08-02 12:07:39 +02:00
Thomas Waldmann
49d84e3920
vagrant: use python 3.13.5 for binary building and tests
this is for future betas, not including b19.
2025-08-02 12:05:42 +02:00
Thomas Waldmann
4905fd8bea
update CHANGES 2025-08-02 11:21:28 +02:00
Thomas Waldmann
f327af11a6
build_usage build_man 2025-08-02 11:12:20 +02:00
TW
547f7ec338
Merge pull request #8971 from ThomasWaldmann/files-changed-option-master
create --files-changed=MODE option
2025-08-02 11:09:19 +02:00
Thomas Waldmann
b27df15b36
create --files-changed=MODE option
control how borg detects whether a file has changed while it was backed up, valid modes are ctime, mtime or disabled.

ctime is the safest mode and the default.

mtime can be useful if ctime does not work correctly for some reason
(e.g. OneDrive files change their ctime without the user changing the file).

disabled (= disabling change detection) is not recommended as it could lead to
inconsistent backups. Only use if you know what you are doing.
2025-08-02 09:49:04 +02:00
TW
e40298e30d
Merge pull request #8970 from ThomasWaldmann/update-changes
update CHANGES
2025-08-01 21:49:52 +02:00
TW
8659895f30
Merge pull request #8969 from ThomasWaldmann/fix-8966
to_key_filename: raise length limit to 120, fixes #8966
2025-08-01 21:49:26 +02:00
Thomas Waldmann
1f75c40d34
update CHANGES 2025-08-01 20:19:04 +02:00
Thomas Waldmann
5328c2885b
to_key_filename: raise length limit to 120, fixes #8966
it used to be 100, but that caused test failures on
some systems with deep build directories.
2025-08-01 20:15:05 +02:00