-
Notifications
You must be signed in to change notification settings - Fork 75
Update module github.com/restic/restic to v0.18.0 #1001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/github.com-restic-restic-0.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+75
−98
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
6ae3fa8
to
0c0f875
Compare
0c0f875
to
01b76c7
Compare
01b76c7
to
d34735b
Compare
d34735b
to
55031b7
Compare
55031b7
to
d85de4c
Compare
d85de4c
to
13cdd0a
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
13cdd0a
to
4869b9c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.16.4
->v0.18.0
area:operator
,area:chart
chart:k8up
Release Notes
restic/restic (github.com/restic/restic)
v0.18.0
: restic 0.18.0Compare Source
Changelog for restic 0.18.0 (2025-03-27)
The following sections list the changes in restic 0.18.0 relevant to restic users. The changes are ordered by importance.
Summary
find --tree
prune --max-unused
repair index --read-all-packs
check
commandsort
option tols
commandfind
outputdump
commandrestore
restore
prune
backup
JSON outputtag
command print which snapshots were modifiedrclone
backendsrecover
automatically rebuild index when neededDetails
Security #5291: Mitigate attack on content-defined chunking algorithm
Restic uses Rabin Fingerprints for its content-defined chunker. The algorithm relies on a secret polynomial to split files into chunks.
As shown in the paper "Chunking Attacks on File Backup Services using Content-Defined Chunking" by Boris Alexeev, Colin Percival and Yan X Zhang, an attacker that can observe chunk sizes for a known file can derive the secret polynomial. Knowledge of the polynomial might in some cases allow an attacker to check whether certain large files are stored in a repository.
A practical attack is nevertheless hard as restic merges multiple chunks into opaque pack files and by default processes multiple files in parallel. This likely prevents an attacker from matching pack files to the attacker-known file and thereby prevents the attack.
Despite the low chances of a practical attack, restic now has added mitigation that randomizes how chunks are assembled into pack files. This prevents attackers from guessing which chunks are part of a pack file and thereby prevents learning the chunk sizes.
#5291 #5295
Bugfix #1843: Correctly restore long filepaths' timestamp on old Windows
The
restore
command now correctly restores timestamps for files with paths longer than 256 characters on Windows versions prior to Windows 10 1607.#1843 #5061
Bugfix #2165: Ignore disappeared backup source files
The
backup
command now quietly skips files that are removed between directory listing and backup, instead of printing errors like:#2165 #3098 #5143 #5145
Bugfix #5153: Include root tree when searching using
find --tree
The
restic find --tree
command did not find trees referenced byrestic snapshot --json
. It now correctly includes the root tree when searching.#5153
Bugfix #5169: Prevent Windows VSS event log 8194 warnings for backup with fs snapshot
When running
backup
with the--use-fs-snapshot
option in Windows with admin rights, event logs likeAre created several times even though the backup itself succeeds. This has now been fixed.
#5169 #5170 https://forum.restic.net/t/windows-shadow-copy-snapshot-vss-unexpected-provider-error/3674/2
Bugfix #5212: Fix duplicate data handling in
prune --max-unused
The
prune --max-unused size
command did not correctly account for duplicate data. If a repository contained a large amount of duplicate data, this could previously result in pruning too little data. This has now been fixed.#5212 https://forum.restic.net/t/restic-not-obeying-max-unused-parameter-on-prune/8879
Bugfix #5249: Fix creation of oversized index by
repair index --read-all-packs
Since restic 0.17.0, the new index created by
repair index --read-all-packs
was written as a single large index. This significantly increased memory usage while loading the index.The index is now correctly split into multiple smaller indexes, and
repair index
now also automatically splits oversized indexes.#5249
Bugfix #5259: Fix rare crash in command output
Some commands could in rare cases crash when trying to print status messages and request retries at the same time, resulting in an error like the following:
This has now been fixed.
#5259 #5300
Change #4938: Update dependencies and require Go 1.23 or newer
We have updated all dependencies. Restic now requires Go 1.23 or newer to build.
This also disables support for TLS versions older than TLS 1.2. On Windows, restic now requires at least Windows 10 or Windows Server 2016. On macOS, restic now requires at least macOS 11 Big Sur.
#4938
Change #5162: Promote feature flags
The
deprecate-legacy-index
,deprecate-s3-legacy-layout
,explicit-s3-anonymous-auth
andsafe-forget-keep-tags
features are now stable and can no longer be disabled. The corresponding feature flags will be removed in restic 0.19.0.#5162
Enhancement #1378: Add JSON support to
check
commandThe
check
command now supports the--json
option to output all statistics in JSON format.#1378 #5194
Enhancement #2511: Support generating shell completions to stdout
The
generate
command now supports using-
as the filename with the--[shell]-completion
option to write the generated output to stdout.#2511 #5053
Enhancement #3697: Allow excluding online-only cloud files (e.g. OneDrive)
Restic treated files synced using OneDrive Files On-Demand as though they were regular files. This caused issues with VSS and could cause OneDrive to download all files.
Restic now allows the user to exclude these files when backing up with the
--exclude-cloud-files
option.#3697 #4935 #4990
Enhancement #4179: Add
sort
option tols
commandThe
ls -l
command output can now be sorted using the new--sort <field>
option for the fieldsname
,size
,time
(same asmtime
),mtime
,atime
,ctime
andextension
. A--reverse
option is also available.#4179 #5182
Enhancement #4433: Change default sort order for
find
outputThe
find
command now sorts snapshots from newest to oldest by default. The previous oldest-to-newest order can be restored using the new--reverse
option.#4433 #5184
Enhancement #4521: Add support for Microsoft Blob Storage access tiers
The new
-o azure.access-tier=<tier>
option allows specifying the access tier (Hot
,Cool
orCold
) for objects created in Microsoft Blob Storage. If unspecified, the storage account's default tier is used.There is no official
Archive
storage support in restic, use this option at your own risk. To restore any data, it is necessary to manually warm up the required data in theArchive
tier.#4521 #5046
Enhancement #4942: Add snapshot summary statistics to rewritten snapshots
The
rewrite
command now supports a--snapshot-summary
option to add statistics data to snapshots. Only two fields in the summary will be non-zero:TotalFilesProcessed
andTotalBytesProcessed
.For snapshots rewritten using the
--exclude
options, the summary statistics are updated accordingly.#4942 #5185
Enhancement #4948: Format exit errors as JSON when requested
Restic now formats error messages as JSON when the
--json
flag is used.#4948 #4952
Enhancement #4983: Add SLSA provenance to GHCR container images
Restic's GitHub Container Registry (GHCR) image build workflow now includes SLSA (Supply-chain Levels for Software Artifacts) provenance generation.
Please see the restic documentation for more information about verifying SLSA provenance.
#4983 #4999
Enhancement #5054: Enable compression for ZIP archives in
dump
commandThe
dump
command now compresses ZIP archives using the DEFLATE algorithm, reducing the size of exported archives.#5054
Enhancement #5081: Add retry mechanism for loading repository config
Restic now retries loading the repository config file when opening a repository. The
init
command now also retries backend operations.#5081 #5095
Enhancement #5089: Allow including/excluding extended file attributes during
restore
The
restore
command now supports the--exclude-xattr
and--include-xattr
options to control which extended file attributes will be restored. By default, all attributes are restored.#5089 #5129
Enhancement #5092: Show count of deleted files and directories during
restore
The
restore
command now reports the number of deleted files and directories, both in the regular output and in thefiles_deleted
field of the JSON output.#5092 #5100
Enhancement #5109: Make small pack size configurable for
prune
The
prune
command now supports the--repack-smaller-than
option that allows repacking pack files smaller than a specified size.#5109 #5183
Enhancement #5119: Add start and end timestamps to
backup
JSON outputThe JSON output of the
backup
command now includesbackup_start
andbackup_end
timestamps, containing the start and end time of the backup.#5119
Enhancement #5131: Add DragonFlyBSD support
Restic can now be compiled on DragonflyBSD.
#5131 #5138
Enhancement #5137: Make
tag
command print which snapshots were modifiedThe
tag
command now outputs which snapshots were modified along with their new snapshot ID. The command supports the--json
option for machine-readable output.#5137 #5144
Enhancement #5141: Provide clear error message if AZURE_ACCOUNT_NAME is not set
If
AZURE_ACCOUNT_NAME
was not set, commands related to an Azure repository would result in a misleading networking error. Restic now detect this and provides a clear warning that the variable is not defined.#5141
Enhancement #5173: Add experimental S3 cold storage support
Introduce S3 backend options for transitioning pack files from cold to hot storage on S3 and S3-compatible providers. Note: this only works for the
prune
,copy
andrestore
commands for now.This experimental feature is gated behind the "s3-restore" feature flag.
#3202 #2504 #5173
Enhancement #5174: Add xattr support for NetBSD 10+
Extended attribute support for
backup
andrestore
operations is now available on NetBSD version 10 and later.#5174 #5180
Enhancement #5251: Improve retry handling for flaky
rclone
backendsSince restic 0.17.0, the backend retry mechanisms rely on backends correctly reporting when a file does not exist. This is not always the case for some
rclone
backends, which caused restic to stop retrying after the first failure.For rclone, failed requests are now retried up to 5 times before giving up.
#5251
Enhancement #52897: Make
recover
automatically rebuild index when neededWhen trying to recover data from an interrupted snapshot, it was previously necessary to manually run
repair index
before runnningrecover
. This now happens automatically so that onlyrecover
is necessary.#52897 #5296
v0.17.3
: restic 0.17.3Compare Source
Changelog for restic 0.17.3 (2024-11-08)
The following sections list the changes in restic 0.17.3 relevant to restic users. The changes are ordered by importance.
Summary
mount
on macOS Sonomaprune --dry-run
without lockDetails
Bugfix #4971: Fix unusable
mount
on macOS SonomaOn macOS Sonoma when using FUSE-T, it was not possible to access files in a mounted repository. This issue is now resolved.
#4971 #5048
Bugfix #5003: Fix metadata errors during backup of removable disks on Windows
Since restic 0.17.0, backing up removable disks on Windows could report errors with retrieving metadata like shown below.
This has now been fixed.
#5003 #5123 https://forum.restic.net/t/backing-up-a-folder-from-a-veracrypt-volume-brings-up-errors-since-restic-v17-0/8444
Bugfix #5101: Do not retry load/list operation if SFTP connection is broken
When using restic with the SFTP backend, backend operations that load a file or list files were retried even if the SFTP connection was broken. This has now been fixed.
#5101 https://forum.restic.net/t/restic-hanging-on-backup/8559
Bugfix #5107: Fix metadata error on Windows for backups using VSS
Since restic 0.17.2, when creating a backup on Windows using
--use-fs-snapshot
, restic would report an error like the following:This has now been fixed by correctly handling paths that refer to volume shadow copy snapshots.
#5107 #5110 #5112
Enhancement #5096: Allow
prune --dry-run
without lockThe
prune --dry-run --no-lock
now allows performing a dry-run without locking the repository. Note that if the repository is modified concurrently,prune
may return inaccurate statistics or errors.#5096
v0.17.2
: restic 0.17.2Compare Source
Changelog for restic 0.17.2 (2024-10-27)
The following sections list the changes in restic 0.17.2 relevant to restic users. The changes are ordered by importance.
Summary
tag
fails to lock repositorybackup
extended metadata when using VSS on WindowsDetails
Bugfix #4004: Support container-level SAS/SAT tokens for Azure backend
Restic previously expected SAS/SAT tokens to be generated at the account level, which prevented tokens created at the container level from being used to initialize a repository. This caused an error when attempting to initialize a repository with container-level tokens.
Restic now supports both account-level and container-level SAS/SAT tokens for initializing a repository.
#4004 #5093
Bugfix #5047: Resolve potential error during concurrent cache cleanup
When multiple restic processes ran concurrently, they could compete to remove obsolete snapshots from the local backend cache, sometimes leading to a "no such file or directory" error. Restic now suppresses this error to prevent issues during cache cleanup.
#5047
Bugfix #5050: Return error if
tag
fails to lock repositorySince restic 0.17.0, the
tag
command did not return an error when it failed to open or lock the repository. This issue has now been fixed.#5050 #5056
Bugfix #5057: Exclude irregular files from backups
Since restic 0.17.1, files with the type
irregular
could mistakenly be included in snapshots, especially when backing up special file types on Windows that restic cannot process. This issue has now been fixed.Previously, this bug caused the
check
command to report errors like the following one:To repair affected snapshots, upgrade to restic 0.17.2 and run:
This will remove the
irregular
files from the snapshots (creating a new snapshot ID for each of the affected snapshots).#5057 https://forum.restic.net/t/errors-found-by-check-1-invalid-type-irregular-2-ciphertext-verification-failed/8447/2
Bugfix #5063: Correctly
backup
extended metadata when using VSS on WindowsOn Windows, when creating a backup with the
--use-fs-snapshot
option, restic read extended metadata from the original filesystem path instead of from the snapshot. This could result in errors if files were removed during the backup process.This issue has now been resolved.
#5063 #5097 #5099
v0.17.1
: restic 0.17.1Compare Source
Changelog for restic 0.17.1 (2024-09-05)
The following sections list the changes in restic 0.17.1 relevant to restic users. The changes are ordered by importance.
Summary
backup
command on Windows--json
backup --stdin-from-command
from panickingrestore --verify
restore --json
Details
Bugfix #2004: Correctly handle volume names in
backup
command on WindowsOn Windows, when the specified backup target only included the volume name without a trailing slash, for example,
C:
, then restoring the resulting snapshot would result in an error. Note that usingC:\
as backup target worked correctly.Specifying volume names is now handled correctly. To restore snapshots created before this bugfix, use the : syntax. For example, to restore a snapshot with ID
12345678
that backed upC:
, use the following command:#2004 #5028
Bugfix #4945: Include missing backup error text with
--json
Previously, when running a backup with the
--json
option, restic failed to include the actual error message in the output, resulting in"error": {}
being displayed.This has now been fixed, and restic now includes the error text in JSON output.
#4945 #4946
Bugfix #4953: Correctly handle long paths on older Windows versions
On older Windows versions, like Windows Server 2012, restic 0.17.0 failed to back up files with long paths. This problem has now been resolved.
#4953 #4954
Bugfix #4957: Fix delayed cancellation of certain commands
Since restic 0.17.0, some commands did not immediately respond to cancellation via Ctrl-C (SIGINT) and continued running for a short period. The most affected commands were
diff
,find
,ls
,stats
andrewrite
. This is now resolved.#4957 #4960
Bugfix #4958: Don't ignore metadata-setting errors during restore
Previously, restic used to ignore errors when setting timestamps, attributes, or file modes during a restore. It now reports those errors, except for permission related errors when running without root privileges.
#4958
Bugfix #4969: Correctly restore timestamp for files with resource forks on macOS
On macOS, timestamps were not restored for files with resource forks. This has now been fixed.
#4969 #5006
Bugfix #4975: Prevent
backup --stdin-from-command
from panickingRestic would previously crash if
--stdin-from-command
was specified without providing a command. This issue has now been fixed.#4975 #4976
Bugfix #4980: Skip extended attribute processing on unsupported Windows volumes
With restic 0.17.0, backups of certain Windows paths, such as network drives, failed due to errors while fetching extended attributes.
Restic now skips extended attribute processing for volumes where they are not supported.
#4955 #4950 #4980 #4998
Bugfix #5004: Fix spurious "A Required Privilege Is Not Held by the Client" error
On Windows, creating a backup could sometimes trigger the following error:
This has now been fixed.
#5004 #5019
Bugfix #5005: Fix rare failures to retry locking a repository
Restic 0.17.0 could in rare cases fail to retry locking a repository if one of the lock files failed to load, resulting in the error:
This issue has now been addressed. The error handling now properly retries the locking operation. In addition, restic waits a few seconds between locking retries to increase chances of successful locking.
#5005 #5011 #5012
Bugfix #5018: Improve HTTP/2 support for REST backend
If
rest-server
tried to gracefully shut down an HTTP/2 connection still in use by the client, it could result in the following error:This issue has now been resolved.
#5018 https://forum.restic.net/t/receiving-http2-goaway-messages-with-windows-restic-v0-17-0/8367
Change #4953: Also back up files with incomplete metadata
If restic failed to read extended metadata for a file or folder during a backup, then the file or folder was not included in the resulting snapshot. Instead, a warning message was printed along with returning exit code 3 once the backup was finished.
Now, restic also includes items for which the extended metadata could not be read in a snapshot. The warning message has been updated to:
#4953 #4977
Enhancement #4795: Display progress bar for
restore --verify
When the
restore
command is run with--verify
, it now displays a progress bar while the verification step is running. The progress bar is not shown when the--json
flag is specified.#4795 #4989
Enhancement #4934: Automatically clear removed snapshots from cache
Previously, restic only removed snapshots from the cache on the host where the
forget
command was executed. On other hosts that use the same repository, the old snapshots remained in the cache.Restic now automatically clears old snapshots from the local cache of the current host.
#4934 #4981
Enhancement #4944: Print JSON-formatted errors during
restore --json
Restic used to print any
restore
errors directly to the console as freeform text messages, even when using the--json
option.Now, when
--json
is specified, restic prints them as JSON formatted messages.#4944 #4946
Enhancement #4959: Return exit code 12 for "bad password" errors
Restic now returns exit code 12 when it cannot open the repository due to an incorrect password.
#4959
Enhancement #4970: Make timeout for stuck requests customizable
Restic monitors connections to the backend to detect stuck requests. If a request does not return any data within five minutes, restic assumes the request is stuck and retries it. However, for large repositories this timeout might be insufficient to collect a list of all files, causing the following error:
List(data) returned error, retrying after 1s: [...]: request timeout
It is now possible to increase the timeout using the
--stuck-request-timeout
option.#4970 #5014
v0.17.0
: restic 0.17.0Compare Source
Changelog for restic 0.17.0 (2024-07-26)
The following sections list the changes in restic 0.17.0 relevant to restic users. The changes are ordered by importance.
Summary
backup
sourcestats
commandforget --keep-tags <invalid>
from deleting all snapshotsfind
not sometimes ignore directories--no-lock
handling ofls
andtag
commandskey
command correctlyrewrite
s3legacy
repository layoutkey list
snapshots
outputdiff
commandrepair packs
command--delete
option torestore
commanddump
performance for large filesprune
command resumablemount
on macOSprune
memory usagecheck
command create non-existent cache directory--json
option toversion
command--ncdu
option tols
commands3.storage-class
archive tiers for metadatamount
command's error detectionls
usemessage_type
field in JSON outputkey
command's actions separate sub-commands--target
option to thedump
command--host
via environment variablereason
field offorget
JSON outputrestore
options to read include/exclude patterns from filesrestore
customizablerestore
commandDetails
Bugfix #3600: Handle unreadable xattrs in folders above
backup
sourceWhen backup sources are specified using absolute paths,
backup
also includes information about the parent folders of the backup sources in the snapshot.If the extended attributes for some of these folders could not be read due to missing permissions, this caused the backup to fail. This has now been fixed.
#3600 #4668 https://forum.restic.net/t/parent-directories-above-the-snapshot-source-path-fatal-error-permission-denied/7216
Bugfix #4209: Fix slow SFTP upload performance
Since restic 0.12.1, the upload speed of the sftp backend to a remote server has regressed significantly. This has now been fixed.
#4209 #4782
Bugfix #4503: Correct hardlink handling in
stats
commandIf files on different devices had the same inode ID, the
stats
command did not correctly calculate the snapshot size. This has now been fixed.#4503 #4006 https://forum.restic.net/t/possible-bug-in-stats/6461/8
Bugfix #4568: Prevent
forget --keep-tags <invalid>
from deleting all snapshotsRunning
forget --keep-tags <invalid>
, where<invalid>
is a tag that does not exist in the repository, would remove all snapshots. This is especially problematic if the tag name contains a typo.The
forget
command now fails with an error if all snapshots in a snapshot group would be deleted. This prevents the above example from deleting all snapshots.It is possible to temporarily disable the new check by setting the environment variable
RESTIC_FEATURES=safe-forget-keep-tags=false
. Note that this feature flag will be removed in the next minor restic version.#4568 #4764
Bugfix #4615: Make
find
not sometimes ignore directoriesIn some cases, the
find
command ignored empty or moved directories. This has now been fixed.#4615
Bugfix #4656: Properly report ID of newly added keys
restic key add
now reports the ID of the newly added key. This simplifies selecting a specific key using the--key-hint key
option.#4656 #4657
Bugfix #4703: Shutdown cleanly when receiving SIGTERM
Previously, when restic received the SIGTERM signal it would terminate immediately, skipping cleanup and potentially causing issues like stale locks being left behind. This primarily effected containerized restic invocations that use SIGTERM, but could also be triggered via a simple
killall restic
.This has now been fixed, such that restic shuts down cleanly when receiving the SIGTERM signal.
#4703
Bugfix #4709: Correct
--no-lock
handling ofls
andtag
commandsThe
ls
command never locked the repository. This has now been fixed, with the old behavior still being supported usingls --no-lock
. The latter invocation also works with older restic versions.The
tag
command erroneously accepted the--no-lock
command. This command now always requires an exclusive lock.#4709
Bugfix #4760: Fix possible error on concurrent cache cleanup
If multiple restic processes concurrently cleaned up no longer existing files from the cache, this could cause some of the processes to fail with an
no such file or directory
error. This has now been fixed.#4760 #4761
Bugfix #4850: Handle UTF-16 password files in
key
command correctlyPreviously,
key add
andkey passwd
did not properly decode UTF-16 encoded passwords read from a password file. This has now been fixed to correctly match the encoding when opening a repository.#4850 #4851
Bugfix #4902: Update snapshot summary on
rewrite
Restic previously did not recalculate the total number of files and bytes processed when files were excluded from a snapshot by the
rewrite
command. This has now been fixed.#4902 #4905
Change #956: Return exit code 10 and 11 for non-existing and locked repository
If a repository does not exist or cannot be locked, restic previously always returned exit code 1. This made it difficult to distinguish these cases from other errors.
Restic now returns exit code 10 if the repository does not exist, and exit code 11 if the repository could be not locked due to a conflicting lock.
#956 #4884
Change #4540: Require at least ARMv6 for ARM binaries
The official release binaries of restic now require at least ARMv6 support for ARM platforms.
#4540 #4542
Change #4602: Deprecate legacy index format and
s3legacy
repository layoutSupport for the legacy index format used by restic before version 0.2.0 has been deprecated and will be removed in the next minor restic version. You can use
restic repair index
to update the index to the current format.It is possible to temporarily reenable support for the legacy index format by setting the environment variable
RESTIC_FEATURES=deprecate-legacy-index=false
. Note that this feature flag will be removed in the next minor restic version.Support for the
s3legacy
repository layout used for the S3 backend before restic 0.7.0 has been deprecated and will be removed in the next minor restic version. You can migrate your S3 repository to the current layout usingRESTIC_FEATURES=deprecate-s3-legacy-layout=false restic migrate s3_layout
.It is possible to temporarily reenable support for the
s3legacy
layout by setting the environment variableRESTIC_FEATURES=deprecate-s3-legacy-layout=false
. Note that this feature flag will be removed in the next minor restic version.#4602 #4724 #4743
Change #4627: Redesign backend error handling to improve reliability
Restic now downloads pack files in large chunks instead of using a streaming download. This prevents failures due to interrupted streams. The
restore
command now also retries downloading individual blobs that could not be retrieved.HTTP requests that are stuck for more than two minutes while uploading or downloading are now forcibly interrupted. This ensures that stuck requests are retried after a short timeout.
Attempts to access a missing or truncated file will no longer be retried. This avoids unnecessary retries in those cases. All other backend requests are retried for up to 15 minutes. This ensures that temporarily interrupted network connections can be tolerated.
If a download yields a corrupt file or blob, then the download will be retried once.
Most parts of the new backend error handling can temporarily be disabled by setting the environment variable
RESTIC_FEATURES=backend-error-redesign=false
. Note that this feature flag will be removed in the next minor restic version.#4627 #4193 #4515 #1523 #4605 #4792 #4520 [#4800](h
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.