Skip to content

Commit 160f84d

Browse files
Merge pull request #9235 from ThomasWaldmann/rel200b20
Release 2.0.0b20
2 parents 42ea1d0 + fef9d63 commit 160f84d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1380
-1172
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ jobs:
279279
- name: Build Borg fat binaries (${{ matrix.binary }})
280280
if: ${{ matrix.binary && startsWith(github.ref, 'refs/tags/') }}
281281
run: |
282-
pip install 'pyinstaller==6.14.2'
282+
pip install -r requirements.d/pyinstaller.txt
283283
mkdir -p dist/binary
284284
# Ensure locally built binaries in ./dist/binary are found during tox tests
285285
echo "$GITHUB_WORKSPACE/dist/binary" >> "$GITHUB_PATH"
@@ -429,7 +429,7 @@ jobs:
429429
tox -e py311-mfusepy
430430
431431
if [[ "${{ matrix.do_binaries }}" == "true" && "${{ startsWith(github.ref, 'refs/tags/') }}" == "true" ]]; then
432-
python -m pip install 'pyinstaller==6.14.2'
432+
python -m pip install -r requirements.d/pyinstaller.txt
433433
mkdir -p dist/binary
434434
pyinstaller --clean --distpath=dist/binary scripts/borg.exe.spec
435435
pushd dist/binary
@@ -576,7 +576,7 @@ jobs:
576576
. env/bin/activate
577577
# python -m pip install --upgrade pip
578578
# pip install --upgrade setuptools build wheel
579-
pip install pyinstaller==6.14.2
579+
pip install -r requirements.d/pyinstaller.txt
580580
581581
- name: Build
582582
run: |

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def install_pyinstaller()
206206
. ~/.bash_profile
207207
cd /vagrant/borg
208208
. borg-env/bin/activate
209-
pip install 'pyinstaller==6.14.2'
209+
pip install -r requirements.d/pyinstaller.txt
210210
EOF
211211
end
212212

docs/changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ Compatibility notes:
144144
Change Log 2.x
145145
==============
146146

147-
Version 2.0.0b20 (not released yet)
148-
-----------------------------------
147+
Version 2.0.0b20 (2025-12-24)
148+
-----------------------------
149149

150150
Please note:
151151

docs/man/borg-analyze.1

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,60 +27,60 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-ANALYZE" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-ANALYZE" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
32-
borg-analyze \- Analyze archives
32+
borg-analyze \- Analyzes archives.
3333
.SH SYNOPSIS
3434
.sp
3535
borg [common options] analyze [options]
3636
.SH DESCRIPTION
3737
.sp
3838
Analyze archives to find \(dqhot spots\(dq.
3939
.sp
40-
Borg analyze relies on the usual archive matching options to select the
40+
\fBborg analyze\fP relies on the usual archive matching options to select the
4141
archives that should be considered for analysis (e.g. \fB\-a series_name\fP).
42-
Then it iterates over all matching archives, over all contained files and
43-
collects information about chunks stored in all directories it encountered.
42+
Then it iterates over all matching archives, over all contained files, and
43+
collects information about chunks stored in all directories it encounters.
4444
.sp
45-
It considers chunk IDs and their plaintext sizes (we don\(aqt have the compressed
46-
size in the repository easily available) and adds up added/removed chunks\(aq
47-
sizes per direct parent directory and outputs a list of \(dqdirectory: size\(dq.
45+
It considers chunk IDs and their plaintext sizes (we do not have the compressed
46+
size in the repository easily available) and adds up the sizes of added and removed
47+
chunks per direct parent directory, and outputs a list of \(dqdirectory: size\(dq.
4848
.sp
49-
You can use that list to find directories with a lot of \(dqactivity\(dq \- maybe
50-
some of these are temporary or cache directories you did forget to exclude.
49+
You can use that list to find directories with a lot of \(dqactivity\(dq maybe
50+
some of these are temporary or cache directories you forgot to exclude.
5151
.sp
52-
To not have these unwanted directories in your backups, you could carefully
53-
exclude these in \fBborg create\fP (for future backups) or use \fBborg recreate\fP
54-
to re\-create existing archives without these.
52+
To avoid including these unwanted directories in your backups, you can carefully
53+
exclude them in \fBborg create\fP (for future backups) or use \fBborg recreate\fP
54+
to recreate existing archives without them.
5555
.SH OPTIONS
5656
.sp
5757
See \fIborg\-common(1)\fP for common options of Borg commands.
5858
.SS Archive filters
5959
.INDENT 0.0
6060
.TP
6161
.BI \-a \ PATTERN\fR,\fB \ \-\-match\-archives \ PATTERN
62-
only consider archives matching all patterns. see \(dqborg help match\-archives\(dq.
62+
only consider archives matching all patterns. See \(dqborg help match\-archives\(dq.
6363
.TP
6464
.BI \-\-sort\-by \ KEYS
6565
Comma\-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; default is: timestamp
6666
.TP
6767
.BI \-\-first \ N
68-
consider first N archives after other filters were applied
68+
consider the first N archives after other filters are applied
6969
.TP
7070
.BI \-\-last \ N
71-
consider last N archives after other filters were applied
71+
consider the last N archives after other filters are applied
7272
.TP
7373
.BI \-\-oldest \ TIMESPAN
74-
consider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g. 7d or 12m.
74+
consider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g., 7d or 12m.
7575
.TP
7676
.BI \-\-newest \ TIMESPAN
77-
consider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g. 7d or 12m.
77+
consider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g., 7d or 12m.
7878
.TP
7979
.BI \-\-older \ TIMESPAN
80-
consider archives older than (now \- TIMESPAN), e.g. 7d or 12m.
80+
consider archives older than (now \- TIMESPAN), e.g., 7d or 12m.
8181
.TP
8282
.BI \-\-newer \ TIMESPAN
83-
consider archives newer than (now \- TIMESPAN), e.g. 7d or 12m.
83+
consider archives newer than (now \- TIMESPAN), e.g., 7d or 12m.
8484
.UNINDENT
8585
.SH SEE ALSO
8686
.sp

docs/man/borg-benchmark-cpu.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-BENCHMARK-CPU" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-BENCHMARK-CPU" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
32-
borg-benchmark-cpu \- Benchmark CPU bound operations.
32+
borg-benchmark-cpu \- Benchmark CPU-bound operations.
3333
.SH SYNOPSIS
3434
.sp
3535
borg [common options] benchmark cpu [options]
3636
.SH DESCRIPTION
3737
.sp
38-
This command benchmarks misc. CPU bound borg operations.
38+
This command benchmarks miscellaneous CPU\-bound Borg operations.
3939
.sp
4040
It creates input data in memory, runs the operation and then displays throughput.
4141
To reduce outside influence on the timings, please make sure to run this with:

docs/man/borg-benchmark-crud.1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-BENCHMARK-CRUD" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-BENCHMARK-CRUD" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
3232
borg-benchmark-crud \- Benchmark Create, Read, Update, Delete for archives.
3333
.SH SYNOPSIS
@@ -37,11 +37,11 @@ borg [common options] benchmark crud [options] PATH
3737
.sp
3838
This command benchmarks borg CRUD (create, read, update, delete) operations.
3939
.sp
40-
It creates input data below the given PATH and backups this data into the given REPO.
40+
It creates input data below the given PATH and backs up this data into the given REPO.
4141
The REPO must already exist (it could be a fresh empty repo or an existing repo, the
4242
command will create / read / update / delete some archives named borg\-benchmark\-crud* there.
4343
.sp
44-
Make sure you have free space there, you\(aqll need about 1GB each (+ overhead).
44+
Make sure you have free space there; you will need about 1 GB each (+ overhead).
4545
.sp
4646
If your repository is encrypted and borg needs a passphrase to unlock the key, use:
4747
.INDENT 0.0
@@ -87,7 +87,7 @@ See \fIborg\-common(1)\fP for common options of Borg commands.
8787
.INDENT 0.0
8888
.TP
8989
.B PATH
90-
path were to create benchmark input data
90+
path where to create benchmark input data
9191
.UNINDENT
9292
.SH SEE ALSO
9393
.sp

docs/man/borg-benchmark.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-BENCHMARK" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-BENCHMARK" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
3232
borg-benchmark \- benchmark command
3333
.SH SYNOPSIS

docs/man/borg-break-lock.1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-BREAK-LOCK" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-BREAK-LOCK" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
32-
borg-break-lock \- Break the repository lock (e.g. in case it was left by a dead borg.
32+
borg-break-lock \- Breaks the repository lock (for example, if it was left by a dead Borg process).
3333
.SH SYNOPSIS
3434
.sp
3535
borg [common options] break\-lock [options]
3636
.SH DESCRIPTION
3737
.sp
3838
This command breaks the repository and cache locks.
39-
Please use carefully and only while no borg process (on any machine) is
40-
trying to access the Cache or the Repository.
39+
Use with care and only when no Borg process (on any machine) is
40+
trying to access the cache or the repository.
4141
.SH OPTIONS
4242
.sp
4343
See \fIborg\-common(1)\fP for common options of Borg commands.

docs/man/borg-check.1

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-CHECK" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-CHECK" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
32-
borg-check \- Check repository consistency
32+
borg-check \- Checks repository consistency.
3333
.SH SYNOPSIS
3434
.sp
3535
borg [common options] check [options]
@@ -44,7 +44,7 @@ the file magic headers, and both the metadata and data of all objects in
4444
the repository. The read data is checked by size and hash. Bit rot and other
4545
types of accidental damage can be detected this way. Running the repository
4646
check can be split into multiple partial checks using \fB\-\-max\-duration\fP\&.
47-
When checking a <ssh://> remote repository, please note that the checks run on
47+
When checking an <ssh://> remote repository, please note that the checks run on
4848
the server and do not cause significant network traffic.
4949
.IP 2. 3
5050
Checking consistency and correctness of the archive metadata and optionally
@@ -53,9 +53,9 @@ repository manifest exists, the archive metadata chunk is present, and that
5353
all chunks referencing files (items) in the archive exist. This requires
5454
reading archive and file metadata, but not data. To scan for archives whose
5555
entries were lost from the archive directory, pass \fB\-\-find\-lost\-archives\fP\&.
56-
It requires reading all data and is hence very time consuming.
56+
It requires reading all data and is hence very time\-consuming.
5757
To additionally cryptographically verify the file (content) data integrity,
58-
pass \fB\-\-verify\-data\fP, which is even more time consuming.
58+
pass \fB\-\-verify\-data\fP, which is even more time\-consuming.
5959
.sp
6060
When checking archives of a remote repository, archive checks run on the client
6161
machine because they require decrypting data and therefore the encryption key.
@@ -66,7 +66,7 @@ repository checks only, or pass \fB\-\-archives\-only\fP to run the archive chec
6666
only.
6767
.sp
6868
The \fB\-\-max\-duration\fP option can be used to split a long\-running repository
69-
check into multiple partial checks. After the given number of seconds the check
69+
check into multiple partial checks. After the given number of seconds, the check
7070
is interrupted. The next partial check will continue where the previous one
7171
stopped, until the full repository has been checked. Assuming a complete check
7272
would take 7 hours, then running a daily check with \fB\-\-max\-duration=3600\fP
@@ -77,31 +77,31 @@ archive checks, nor enable repair mode. Consequently, if you want to use
7777
\fB\-\-max\-duration\fP you must also pass \fB\-\-repository\-only\fP, and must not pass
7878
\fB\-\-archives\-only\fP, nor \fB\-\-repair\fP\&.
7979
.sp
80-
\fBWarning:\fP Please note that partial repository checks (i.e. running it with
80+
\fBWarning:\fP Please note that partial repository checks (i.e., running with
8181
\fB\-\-max\-duration\fP) can only perform non\-cryptographic checksum checks on the
82-
repository files. Enabling partial repository checks excepts archive checks
83-
for the same reason. Therefore partial checks may be useful with very large
84-
repositories only where a full check would take too long.
82+
repository files. Enabling partial repository checks excludes archive checks
83+
for the same reason. Therefore, partial checks may be useful only with very large
84+
repositories where a full check would take too long.
8585
.sp
8686
The \fB\-\-verify\-data\fP option will perform a full integrity verification (as
8787
opposed to checking just the xxh64) of data, which means reading the
8888
data from the repository, decrypting and decompressing it. It is a complete
89-
cryptographic verification and hence very time consuming, but will detect any
89+
cryptographic verification and hence very time\-consuming, but will detect any
9090
accidental and malicious corruption. Tamper\-resistance is only guaranteed for
91-
encrypted repositories against attackers without access to the keys. You can
92-
not use \fB\-\-verify\-data\fP with \fB\-\-repository\-only\fP\&.
91+
encrypted repositories against attackers without access to the keys. You cannot
92+
use \fB\-\-verify\-data\fP with \fB\-\-repository\-only\fP\&.
9393
.sp
9494
The \fB\-\-find\-lost\-archives\fP option will also scan the whole repository, but
9595
tells Borg to search for lost archive metadata. If Borg encounters any archive
96-
metadata that doesn\(aqt match with an archive directory entry (including
96+
metadata that does not match an archive directory entry (including
9797
soft\-deleted archives), it means that an entry was lost.
9898
Unless \fBborg compact\fP is called, these archives can be fully restored with
9999
\fB\-\-repair\fP\&. Please note that \fB\-\-find\-lost\-archives\fP must read a lot of
100-
data from the repository and is thus very time consuming. You can not use
100+
data from the repository and is thus very time\-consuming. You cannot use
101101
\fB\-\-find\-lost\-archives\fP with \fB\-\-repository\-only\fP\&.
102102
.SS About repair mode
103103
.sp
104-
The check command is a readonly task by default. If any corruption is found,
104+
The check command is a read\-only task by default. If any corruption is found,
105105
Borg will report the issue and proceed with checking. To actually repair the
106106
issues found, pass \fB\-\-repair\fP\&.
107107
.sp
@@ -124,7 +124,7 @@ It is highly recommended to create a backup of your repository before running
124124
in repair mode (i.e. running it with \fB\-\-repair\fP).
125125
.sp
126126
Repair mode will attempt to fix any corruptions found. Fixing corruptions does
127-
not mean recovering lost data: Borg can not magically restore data lost due to
127+
not mean recovering lost data: Borg cannot magically restore data lost due to
128128
e.g. a hardware failure. Repairing a repository means sacrificing some data
129129
for the sake of the repository as a whole and the remaining data. Hence it is,
130130
by definition, a potentially lossy task.
@@ -153,7 +153,7 @@ See \fIborg\-common(1)\fP for common options of Borg commands.
153153
only perform repository checks
154154
.TP
155155
.B \-\-archives\-only
156-
only perform archives checks
156+
only perform archive checks
157157
.TP
158158
.B \-\-verify\-data
159159
perform cryptographic archive data integrity verification (conflicts with \fB\-\-repository\-only\fP)
@@ -165,34 +165,34 @@ attempt to repair any inconsistencies found
165165
attempt to find lost archives
166166
.TP
167167
.BI \-\-max\-duration \ SECONDS
168-
do only a partial repo check for max. SECONDS seconds (Default: unlimited)
168+
perform only a partial repository check for at most SECONDS seconds (default: unlimited)
169169
.UNINDENT
170170
.SS Archive filters
171171
.INDENT 0.0
172172
.TP
173173
.BI \-a \ PATTERN\fR,\fB \ \-\-match\-archives \ PATTERN
174-
only consider archives matching all patterns. see \(dqborg help match\-archives\(dq.
174+
only consider archives matching all patterns. See \(dqborg help match\-archives\(dq.
175175
.TP
176176
.BI \-\-sort\-by \ KEYS
177177
Comma\-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; default is: timestamp
178178
.TP
179179
.BI \-\-first \ N
180-
consider first N archives after other filters were applied
180+
consider the first N archives after other filters are applied
181181
.TP
182182
.BI \-\-last \ N
183-
consider last N archives after other filters were applied
183+
consider the last N archives after other filters are applied
184184
.TP
185185
.BI \-\-oldest \ TIMESPAN
186-
consider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g. 7d or 12m.
186+
consider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g., 7d or 12m.
187187
.TP
188188
.BI \-\-newest \ TIMESPAN
189-
consider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g. 7d or 12m.
189+
consider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g., 7d or 12m.
190190
.TP
191191
.BI \-\-older \ TIMESPAN
192-
consider archives older than (now \- TIMESPAN), e.g. 7d or 12m.
192+
consider archives older than (now \- TIMESPAN), e.g., 7d or 12m.
193193
.TP
194194
.BI \-\-newer \ TIMESPAN
195-
consider archives newer than (now \- TIMESPAN), e.g. 7d or 12m.
195+
consider archives newer than (now \- TIMESPAN), e.g., 7d or 12m.
196196
.UNINDENT
197197
.SH SEE ALSO
198198
.sp

docs/man/borg-common.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "BORG-COMMON" "1" "2025-08-02" "" "borg backup tool"
30+
.TH "BORG-COMMON" "1" "2025-12-23" "" "borg backup tool"
3131
.SH NAME
3232
borg-common \- Common options of Borg commands
3333
.SH SYNOPSIS

0 commit comments

Comments
 (0)