Polish changelogs (#22195)

---------

Co-authored-by: Leo R. Lundgren <leo@finalresort.org>
This commit is contained in:
Michael EischerandLeo R. Lundgren authored and GitHub committed 2026-11-17 19:29:42 +01:00
1 parent 55abaa6de8
commit 74f00280e2
20 files changed
+88 -85

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
Enhancement: show excluded items during backup in verbose mode
Enhancement: Show excluded items during `backup` in verbose mode
`restic backup -vv` now shows excluded items in verbose mode. Both text and JSON
output are supported.
The `backup -vv` command (backup in verbose mode) now shows excluded
files and directories. Both text and JSON output are supported.
https://github.com/restic/restic/issues/21870
https://github.com/restic/restic/pull/21887
+3 -7
View File
@@ -1,11 +1,7 @@
Enhancement: `restic repair snapshots --forget` removes broken snapshots
Enhancement: Make `repair snapshots --forget` remove broken snapshots
In the past restic had no command to remove broken snapshot files.
`restic repair snapshots --forget` can now remove broken snapshot files,
which have been found previously by `restic check` or by earlier error messages from restic commands.
For example, `restic repair snapshots --forget 1d204771` will remove a broken snapshot file with id `1d204771`.
The `repair snapshots --forget` command will now remove broken snapshot
files reported by `check` or by earlier error messages from restic.
https://github.com/restic/restic/issues/21892
https://github.com/restic/restic/pull/21907
-8
View File
@@ -1,8 +0,0 @@
Enhancement: Replace deprecated GPG verification library used for self-update
Restic used the unmaintained and insecure golang.org/x/crypto/openpgp
package to verify GPG signatures during self-update. It now uses the
actively maintained ProtonMail/go-crypto fork instead, which addresses
known security weaknesses in the original package.
https://github.com/restic/restic/issues/21973
+5 -3
View File
@@ -1,8 +1,10 @@
Bugfix: Reject empty repository location files
An empty file passed via `--repository-file` or `RESTIC_REPOSITORY_FILE`
was treated as the current directory. Restic now reports an error if the
file is empty or contains only whitespace.
Previously, if the `--repository-file` option or `RESTIC_REPOSITORY_FILE`
environment variable referred to a file that was either empty or contained
only whitespace, restic used the current directory for the repository.
This has now been fixed, and restic instead reports an error in this case.
https://github.com/restic/restic/issues/22051
https://github.com/restic/restic/pull/22052
+6 -5
View File
@@ -1,10 +1,11 @@
Bugfix: Restore partially matching hard-linked files correctly
When restoring over an existing file that had multiple hard links and whose
data blobs only partly matched the snapshot, restic replaced the file by
an empty one but still skipped writing the blobs it believed were already
present. The restored file then contained zero bytes in place of those
blobs. Restic now rewrites the whole file in this case.
When restoring over an existing file which had hard links and
was partially different from the file in the snapshot, restic
used to replace the file with an empty one but only restored
the changed parts. The restored file then contained zero bytes
in the unchanged parts. Restic now instead rewrites the whole
file in this case.
https://github.com/restic/restic/issues/22085
https://github.com/restic/restic/pull/22086
+5 -3
View File
@@ -1,9 +1,11 @@
Bugfix: Read empty directories from older repaired snapshots
Bugfix: Handle empty directories from older repaired snapshots
Since restic 0.19.0, snapshots containing empty directories written by older
versions of `repair snapshots` could fail with `error decoding tree: expected
[, got <nil>`. Restic now accepts these empty directory trees again, allowing
`prune`, `check` and `restore` to process the affected snapshots.
[, got <nil>`.
This has now been fixed, allowing `prune`, `check` and `restore` to process
the affected snapshots successfully.
https://github.com/restic/restic/issues/22092
https://github.com/restic/restic/pull/22117
+8 -6
View File
@@ -1,10 +1,12 @@
Bugfix: Fix `stats` progress bar resetting its counters for every snapshot
Bugfix: Don't reset `stats` progress bar counters for every snapshot
The progress bar of `restic stats` reset its file, blob and size counters
at the start of each snapshot, so the final progress line only showed the
numbers for the last processed snapshot. These numbers varied between runs
depending on the order in which snapshots were processed. The progress bar
now counts across all selected snapshots.
The progress bar of the `stats` command previously reset its file,
blob and size counters at the start of each snapshot, so the final
progress line only showed the numbers for the last processed snapshot.
These numbers varied between runs depending on the order in which
snapshots were processed.
The progress bar now instead counts across all selected snapshots.
https://github.com/restic/restic/issues/22112
https://github.com/restic/restic/pull/22130
+7 -4
View File
@@ -1,8 +1,11 @@
Enhancement: Show a concise error when listing pack files fails during `prune`
Bugfix: Improve error message when `prune` fails to list pack files
When listing the pack files of a repository failed during `prune`, for
example due to a request timeout, restic printed the error together with a
stack trace. Restic now reports a short error message that states that
listing the pack files failed.
example due to a request timeout, restic printed the error together with
a stack trace.
Restic now instead reports a short error message stating that listing
the pack files failed.
https://github.com/restic/restic/issues/22120
https://github.com/restic/restic/pull/22124
+8 -7
View File
@@ -1,10 +1,11 @@
Bugfix: Improve silience of repository v2 upgrade rollback
Bugfix: Improve resilience of repository v2 upgrade rollback
When upgrading a repository from version 1 to 2, an aborted migration
attempted contingency rollback by unconditionally removing the configuration
file before re-saving it. On atomic backends (such as local filesystems),
the original configuration was intact, and deleting it during a failed rollback
left the repository unopenable. Restic now conditions config pre-removal
on whether the backend lacks atomic replacement.
When an upgrade from repository version 1 to version 2 failed, restic
deleted the configuration file before writing the previous version of
it back. If writing the old configuration file back also failed, the
repository no longer had a configuration file and could not be opened.
Restic now writes the previous configuration back without deleting
the file first on relevant backends.
https://github.com/restic/restic/pull/22136
+5 -5
View File
@@ -1,12 +1,12 @@
Bugfix: Fix file owner when `restore --ownership-by-name` cannot resolve a name
Bugfix: Fix ownership when `restore --ownership-by-name` cannot resolve names
When restoring with `--ownership-by-name`, user or group names that could not
be resolved on the restore host (or were not recorded in the snapshot) caused
restic to change the owner of the restored file to uid/gid 0. Combined with
restored setuid/setgid bits this could produce setuid-root files.
restic to change the owner of the restored file to UID/GID 0. Combined with
restored setuid/setgid bits this could produce unintentional setuid-root files.
Restic now falls back to the numeric uid/gid stored in the snapshot and prints
a warning when a name cannot be resolved.
Restic now instead falls back to the numeric UID/GID stored in the snapshot and
prints a warning when a name cannot be resolved.
https://github.com/restic/restic/issues/22178
https://github.com/restic/restic/pull/22185
+6 -5
View File
@@ -1,9 +1,10 @@
Bugfix: Reject trees with duplicate or out-of-order node names during `restore`
Bugfix: Reject trees with duplicate or out-of-order node names in `restore`
A tree containing a symlink and a directory with the same name could let
`restic restore` write through the symlink to files outside the restore
target. Restic now rejects trees whose node names are not strictly
increasing during restore and reports an error instead of restoring such
a snapshot.
`restore` write through the symlink to files outside the restore target.
Restic now rejects trees whose node names are not strictly increasing
during restore and reports an error instead of restoring such a snapshot.
https://github.com/restic/restic/issues/22180
https://github.com/restic/restic/pull/22190
+1
View File
@@ -6,3 +6,4 @@ deleted all existing content of that directory in the target. Restic now
disables deletion for the rest of the restore when a tree cannot be loaded.
https://github.com/restic/restic/issues/22181
https://github.com/restic/restic/pull/22189
+2 -3
View File
@@ -1,7 +1,6 @@
Enhancement: Add JSON support to prune
Enhancement: Add JSON support to `prune` command
Restic `prune` now also supports the `--json` option and gives all
statistics in JSON format.
The `prune` command now supports the `--json` option for JSON output.
https://github.com/restic/restic/issues/3129
https://github.com/restic/restic/pull/5239
+5 -3
View File
@@ -1,7 +1,9 @@
Enhancement: Add warmup support for check command on S3 backend
Enhancement: Add warmup support for `check` on the S3 backend
Like the other cold storage features, warmup support for the `check` command
remains experimental and gated behind the "s3-restore" feature flag.
The `check` command can now warm up pack files from cold storage on S3
and S3-compatible providers before reading them. Like the other cold
storage features, this remains experimental and is gated behind the
`s3-restore` feature flag.
https://github.com/restic/restic/pull/5248
https://github.com/restic/restic/issues/3202
+3 -3
View File
@@ -1,7 +1,7 @@
Enhancement: Add command to list packfiles belonging to a snapshot
Enhancement: Support specifying snapshot ID in `list packs` command
This enhancement adds command `list packs snapshotID` to show the packfiles
belonging to the given snapshot.
The `list packs` command now accepts a snapshot ID and lists the pack
files used by that snapshot.
https://github.com/restic/restic/issues/5372
https://github.com/restic/restic/pull/5396
+4 -4
View File
@@ -1,7 +1,7 @@
Enhancement: `restic repair packs` can handle missing packfiles
Enhancement: Handle missing pack files in `repair packs`
Missing and damaged packfiles previously required separate approaches to fix a repository.
Now, both cases can be handled by the `repair packs` command, which is now able to handle
missing packfiles by removing them from the repository index.
Missing and damaged pack files previously required separate approaches
to fix a repository. Both cases can now be handled by the `repair packs`
command, which removes missing pack files from the repository index.
https://github.com/restic/restic/pull/21845
+3 -3
View File
@@ -1,6 +1,6 @@
Enhancement: `find --pack` can handle corrupted pack files
Enhancement: Handle corrupted pack files in `find --pack`
`restic find --pack <id>` can now also report affected snapshot if a packfile
is corrupted but still present in the repository index.
The `find --pack <id>` command can now also report snapshots in which
a pack file is corrupted but still present in the repository index.
https://github.com/restic/restic/pull/21883
+7 -6
View File
@@ -1,9 +1,10 @@
Bugfix: Report an error instead of crashing on a truncated key or config file
Bugfix: Don't crash on truncated key or config file
Restic crashed with a slice bounds panic when a repository contained a key
file or a config file that was shorter than the encryption overhead, for
example after an upload was interrupted. Since every command has to read a
key file, the whole repository became unusable until the file was removed.
Restic now reports that the file is too short instead.
Restic previously crashed with a slice bounds panic when the repository
contained a key or config file that was shorter than the encryption overhead,
for example after an upload was interrupted. Since every command has to read
a key file, the whole repository became unusable until the file was removed.
This has now been fixed, and restic instead reports that the file is too short.
https://github.com/restic/restic/pull/21977
+4 -4
View File
@@ -1,7 +1,7 @@
Bugfix: Redact Swift backend password in debug log output
Bugfix: Redact `swift` backend password in debug log output
Restic could write the OpenStack Swift backend password (OS_PASSWORD or
ST_KEY) in clear text to the debug log when debug logging was enabled.
The password is now redacted.
Restic could previously write the OpenStack Swift backend password in clear
text to the debug log when debug logging was enabled. The password came from
the environment variables `OS_PASSWORD` and `ST_KEY`. It is now redacted.
https://github.com/restic/restic/pull/22007
+3 -3
View File
@@ -1,7 +1,7 @@
Bugfix: Report an error for too large numbers in `--keep-within*` durations
Bugfix: Error on too large numbers in `--keep-within*` durations
Restic crashed with a stack trace when a number in a duration such as the one
passed to `restic forget --keep-within` did not fit into an integer. It now
Restic used to crash with a stack trace when a number in a duration such as
the one passed to `forget --keep-within` did not fit into an integer. It now
reports an invalid argument instead.
https://github.com/restic/restic/pull/22163