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
azrdev
69d71d99bf
automated-local.rst: Partition table UUID match works for MBR too
...
not only GPT
2023-10-27 20:15:05 +02:00
azrdev
b61a565fbc
automated-local.rst: use GPT UUID for consistent udev rule
2023-10-27 20:14:50 +02:00
Thomas Waldmann
5195fb2dcf
update CHANGES
2023-09-25 17:07:28 +02:00
Thomas Waldmann
97b8eb2104
docs: minor fix to CVE-2023-36811 related upgrade instructions
...
while the main issue in the code has been fixed since 1.2.5,
let's better refer to 1.2.6, which has fixes in upgrade docs and code.
2023-09-02 15:47:13 +02:00
Thomas Waldmann
c133303243
update CHANGES, incl. upgrade instructions
2023-08-31 01:02:44 +02:00
Thomas Waldmann
d05d02f238
implement BORG_WORKAROUNDS=ignore_invalid_archive_tam, see #7791
2023-08-31 00:36:04 +02:00
Thomas Waldmann
447d0df1bb
fix changelog markup
2023-08-30 18:36:42 +02:00
Thomas Waldmann
ee33c22443
fix CVE timeline
2023-08-30 14:39:41 +02:00
Thomas Waldmann
509a5fd71c
build_usage / build_man
2023-08-30 03:49:47 +02:00
Thomas Waldmann
ed1ab84cc7
update CHANGES
2023-08-30 03:47:35 +02:00
Thomas Waldmann
9e63abb679
document vulnerability, repo upgrade procedure
2023-08-30 02:52:34 +02:00
Thomas Waldmann
62ca4f666b
build_man / build_usage
2023-08-29 18:48:41 +02:00
Thomas Waldmann
7f07f81e39
update CHANGES
2023-08-29 18:24:56 +02:00
Thomas Waldmann
276781081b
docs: fix borg init command in environment.rst.inc
...
It mentioned borg rcreate due to a bad backport from master.
Must be borg init in borg 1.2.x.
2023-08-24 11:49:17 +02:00
Thomas Waldmann
dedbd38844
1.1.x upgrade notes: more precise borg upgrade instructions, fixes #3396
2023-07-22 18:08:35 +02:00
Thomas Waldmann
b419b6ad03
build_man / build_usage
2023-07-20 18:57:22 +02:00
Thomas Waldmann
65a2fe8502
update CHANGES
2023-07-20 18:54:55 +02:00
TW
4721a35863
Merge pull request #7702 from ThomasWaldmann/authenticated-no-key-1.2
...
BORG_WORKAROUNDS=authenticated_no_key, fixes #7700
2023-07-07 01:02:41 +02:00