Commit Graph

1566 Commits

Author SHA1 Message Date
Thomas Waldmann bdacc84ceb
build_usage build_man 2024-01-20 19:25:08 +01:00
Thomas Waldmann 1445a2b3ff
update CHANGES 2024-01-20 19:13:40 +01:00
Thomas Waldmann 5d956b9655
add ConnectionBrokenWithHint for BrokenPipeErrors and similar, see #7016
no traceback, but error message and specific exit code.
2024-01-19 18:38:07 +01:00
Thomas Waldmann 45f65f7c57
check_can_create_repository: deal with PermissionErrors, see #7016
borg init calls this. If there is a PermissionError, it is
usually fs permission issue at path or its parent directory.

Don't give a traceback, but rather an error msg and a specific exit code.
2024-01-19 18:13:53 +01:00
Thomas Waldmann 9ec454727d
update CHANGES 2024-01-19 00:54:45 +01:00
TW 319441e75d
Merge pull request #8051 from ThomasWaldmann/corrupted-key-errmsg-1.4
better error msg for corrupted key data, fixes #8016
2024-01-19 00:45:59 +01:00
Thomas Waldmann dbbccf9451
better error msg for corrupted key data, fixes #8016 2024-01-18 23:59:35 +01:00
Thomas Waldmann 2b7f3adec9
it's 2024 2024-01-18 20:02:56 +01:00
Stephen e3ba364933
docs: add brew bundle instructions (macOS) 2024-01-14 19:54:30 +01:00
Thomas Waldmann f6963df380
build_man 2024-01-01 21:16:56 +01:00
Thomas Waldmann 5eaabea647
build_usage 2024-01-01 21:16:30 +01:00
Thomas Waldmann 3426f91241
update release checklist 2024-01-01 21:13:27 +01:00
Thomas Waldmann 520870329f
update CHANGES 2024-01-01 21:11:07 +01:00
Thomas Waldmann 7e2a1c4ea7 update CHANGES 2024-01-01 20:21:15 +01:00
TW de5bfdbd7a
Merge pull request #7976 from ThomasWaldmann/new-rc-1.4
optional more specific return codes
2024-01-01 19:53:25 +01:00
Thomas Waldmann 649537f951
update CHANGES 2023-12-27 19:22:04 +01:00
Thomas Waldmann f81c6b5963
update frontends.rst error/warning list 2023-12-27 13:48:58 +01:00
Thomas Waldmann 83bf4d8c7d
raise BackupOSError subclasses 2023-12-27 13:48:52 +01:00
Thomas Waldmann 82f147f63f
add NotFoundWarning 2023-12-27 13:48:49 +01:00
Thomas Waldmann 775b9f5560
extend errorlist script to warnings, update docs 2023-12-27 13:48:41 +01:00
Thomas Waldmann 482ac47ed8
new warnings infrastructure to support modern exit codes
- implement updating exit code based on severity, including modern codes
- extend print_warning with kwargs wc (warning code) and wt (warning type)
- update a global warnings_list with warning_info elements
- create a class hierarchy below BorgWarning class similar to Error class
- diff: change harmless warnings about speed to rc == 0
- delete --force --force: change harmless warnings to rc == 0

Also:

- have BackupRaceConditionError as a more precise subclass of BackupError
2023-12-27 13:47:52 +01:00
Thomas Waldmann 770f4117a5
get rid of some rare error classes, use RTError instead 2023-12-27 13:46:15 +01:00
Thomas Waldmann f6279eac9d
shorten TAMRequiredError error msg
Users using recently created repos (after borg 1.0.9) or
who followed the upgrade procedure of 1.0.9 or >1.2.4 will
never see this error msg.

So, have it as short as and similar to the ArchiveTAMRequiredError.
2023-12-27 13:46:13 +01:00
Thomas Waldmann 62ad0369ef
update "modern" error RCs (docs and code) 2023-12-27 13:45:48 +01:00
Thomas Waldmann 915e58653b
replace flake8 by ruff 2023-12-25 04:20:15 +01:00
Thomas Waldmann d9061e9a07
update CHANGES 2023-12-25 02:13:05 +01:00
Thomas Waldmann 6b402896a6
require python >= 3.9, drop py38, fixes #6383 2023-12-24 03:01:21 +01:00
Marc Kohaupt 05fa6fcab2
typo: notes.rst 2023-12-23 18:58:47 +01:00
Thomas Waldmann 49d7e74f97
change log: more infos about #6687 fix 2023-12-23 18:58:20 +01:00
Thomas Waldmann 4c131059bc
build_man 2023-12-02 01:02:03 +01:00
Thomas Waldmann 46c1e01d29
build_usage 2023-12-02 01:01:46 +01:00
Thomas Waldmann 8b70bb36c6
update CHANGES 2023-12-02 00:59:58 +01:00
Sophie Herold 897f88dfaa
docs: Add "check.rebuild_refcounts" message 2023-12-02 00:01:12 +01:00
TW b2929b4cee
Merge pull request #7952 from ThomasWaldmann/update-changes-1.2
update CHANGES (1.2-maint)
2023-11-29 16:48:38 +01:00
Kevin Yin bcc8f74b56
Remove period that could be interpreted as part of the command (#7946)
CVE upgrade steps: remove period that could be interpreted as part of the command
2023-11-27 18:12:26 +01:00
Thomas Waldmann 4bdd404949
update CHANGES 2023-11-27 18:08:00 +01:00
zDEFz 2cefe8f53d
Add backup by SERIAL method (#7934)
docs: create disk/partition sector backup by disk serial number
2023-11-13 22:03:09 +01:00
Thomas Waldmann 9c886330d3
CVE-2023-36811 upgrade docs: consider checkpoint archives, fixes #7802
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-06 13:31:02 +01:00
Thomas Waldmann d9a0deb227
update CHANGES 2023-11-03 18:43:22 +01:00
Thomas Waldmann 6b928dac93
docs: not only attack/unsafe, can also be a fs issue, fixes #7853 2023-11-01 18:04:24 +01:00
Thomas Waldmann da4fcc5a66
docs: point to CVE-2023-36811 upgrade steps from borg 1.1 to 1.2 upgrade 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-01 18:04:22 +01:00
Thomas Waldmann 136e3ed1d6
docs: upgrade steps needed for all kinds of repos, fixes #7813
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-01 18:04:20 +01:00
Thomas Waldmann a19ebe5ecc
docs: consequences of borg check, fixes #7816 2023-11-01 17:18:32 +01:00
TW fa7a6d7095
Merge pull request #7890 from ThomasWaldmann/doc-updates-1.2
doc updates (1.2-maint)
2023-10-27 22:25:59 +02:00
Thomas Waldmann 05cec8b3b0
docs: OS X -> macOS 2023-10-27 20:31:26 +02:00
Thomas Waldmann 7a4d53c2f5
docs: update macOS hint about full disk access 2023-10-27 20:28:57 +02:00
Thomas Waldmann 661e5cccd3
docs: minor fixes/update to notes 2023-10-27 20:27:51 +02:00
Thomas Waldmann d13b5d5557
docs: remove info about borg 1.0 files per dir 2023-10-27 20:26:27 +02:00
Thomas Waldmann e0f80812a5
docs: no signature upload on pypi any more
but we upload it on github releases,
so people can check it.
2023-10-27 20:25:29 +02:00
Thomas Waldmann 7640973d6b
docs: CI only on github actions now 2023-10-27 20:23:00 +02:00