kalyan
f6b8187e10
doc: explain new/changed/unmodified in the backup summary ( #22244 )
2026-12-02 21:31:55 +00:00
Michael Eischer
b21617d3dc
Merge pull request #22236 from g4lb/perf/tree-node-marshal
...
data: call Node.MarshalJSON directly when building a tree
2026-12-02 22:28:21 +01:00
g4lb
ed922942fc
data: call Node.MarshalJSON directly when building a tree
2026-12-02 10:22:25 +02:00
dependabot[bot]
9a2accfdde
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.23.3 to 1.24.0 ( #22240 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-12-01 21:30:25 +00:00
dependabot[bot]
337b8f15ab
build(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 ( #22239 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-12-01 21:28:58 +00:00
dependabot[bot]
06ac4df5a9
build(deps): bump docker/login-action from 4.7.0 to 4.8.0 ( #22237 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-12-01 22:12:13 +01:00
dependabot[bot]
1c55b6cec7
build(deps): bump the golang-x-deps group with 3 updates ( #22238 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-12-01 22:11:48 +01:00
dependabot[bot]
71f804a929
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob from 1.8.1 to 1.8.3 ( #22241 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-12-01 22:08:32 +01:00
dependabot[bot]
3f52603ef2
build(deps): bump github.com/pkg/sftp from 1.13.11 to 1.13.13 ( #22242 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-12-01 22:07:55 +01:00
g4lb
33b2785d90
data: keep node names sorted in BenchmarkBuildTree
2026-11-30 22:02:30 +02:00
Michael Eischer
12073885f7
Merge pull request #22212 from theobarrague/fix/blobset-string-off-by-one
...
fix: correct blob count in BlobSet.String summary
2026-11-29 15:45:53 +01:00
Théo BARRAGUÉ
4a9941c1e1
restic: correct blob count in BlobSet.String summary
...
The "(N more)" summary printed when a BlobSet is truncated to ten
elements was computed as len(s)-n-1 instead of len(s)-n, so it undercounted
the unlisted elements by one and even became negative ("(-1 more)") when
exactly ten elements were present. This is user-visible in the 'not found in
the index' error printed by prune when the index is incomplete.
2026-11-29 15:34:29 +01:00
Michael Eischer
0cd0df6346
Merge pull request #22216 from MichaelEischer/quote-ui-output
...
Ensure paths etc. are quoted in terminal output
2026-11-28 20:53:43 +01:00
Michael Eischer
7a1ac9bda0
properly encode JSON everywhere
2026-11-28 20:41:09 +01:00
Michael Eischer
03e4060791
fix invalid verbs passed to sprintf
2026-11-28 20:27:06 +01:00
Michael Eischer
1227b2ab7e
fix debug logs with missing parameters
2026-11-28 20:27:06 +01:00
Michael Eischer
152c2720bb
don't quote repository open error by default
2026-11-28 20:27:06 +01:00
Michael Eischer
d156f3b5f1
backup: fix missing error if vss snapshot properties cannot be read
2026-11-28 20:27:06 +01:00
Michael Eischer
ab38c42497
archiver: fix double path injection after quoting
2026-11-28 20:27:06 +01:00
Michael Eischer
fc85e9eb9b
find: fix printing of paths containing % (format verbs)
2026-11-28 20:27:06 +01:00
Michael Eischer
79b676aa98
cat: always use raw output
...
This avoids quoting of JSON data.
2026-11-28 20:27:06 +01:00
Michael Eischer
057a5c65d2
add changelog
2026-11-28 20:27:06 +01:00
Michael Eischer
84a75fc09e
generically sanitize output
2026-11-28 20:27:06 +01:00
Michael Eischer
76925aeb63
always quote paths in error messages
2026-11-28 20:27:06 +01:00
Michael Eischer
2518cd4a75
data / repository: quote fields in String() methods
2026-11-28 20:24:37 +01:00
Michael Eischer
584ec23160
quote paths in direct command output
2026-11-28 18:18:59 +01:00
Michael Eischer
15e1e33a19
Merge pull request #22221 from MichaelEischer/index-jsontext-decode
...
Speed up index decoding using Go 1.27's jsontext
2026-11-28 12:36:24 +01:00
Michael Eischer
0e50a959d5
ui: add helper to quote slices
2026-11-28 12:30:00 +01:00
Michael Eischer
43f00195bd
add index speedup changelog
2026-11-28 12:27:03 +01:00
Michael Eischer
5769abd0ea
index: use custom duplicate field check
2026-11-28 12:27:02 +01:00
Michael Eischer
93ed73cdd2
index: test error handling of hand-rolled decoder
2026-11-28 12:26:24 +01:00
Michael Eischer
1f76eb6a2e
index: speed up index decoding
...
Stream index JSON with encoding/json/jsontext on Go 1.27 and later.
Go 1.26 keeps the encoding/json decoder.
2026-11-28 00:11:31 +01:00
Michael Eischer
e63cb63ba6
Merge pull request #22209 from MichaelEischer/enforce-ordering
...
Also enforce node ordering for check, dump and mount
2026-11-28 00:09:25 +01:00
flinteger-code
1d0668f656
Enhancement: snapshots: Add --reverse option to reverse sort order ( #5677 )
2026-11-27 22:24:36 +00:00
Michael Eischer
4ea95e8de3
Merge pull request #22215 from MichaelEischer/better-debug-redact
...
Improve credentials redaction in debug log
2026-11-27 23:23:49 +01:00
Michael Eischer
2f0fbaa136
fix crash for parameter
2026-11-27 23:13:19 +01:00
Michael Eischer
780cb97523
debug: redact Azure SAS and short-lived S3 tokens
2026-11-27 23:01:00 +01:00
Michael Eischer
00ab2da0e4
redact CLI parameters in debug log
2026-11-27 23:01:00 +01:00
Michael Eischer
d7b184f4ce
repository: validate id in repo config ( #22214 )
2026-11-27 22:58:39 +01:00
Michael Eischer
00b2f19c3d
repository: enforce limits for small file types ( #22213 )
2026-11-27 22:48:52 +01:00
Michael Eischer
814ef968d9
repository: refactor ListBlobs to be iterator based ( #22208 )
2026-11-27 22:46:12 +01:00
Merlin
4797768ba9
backend/sftp: Add sftp.server-alive-interval and sftp.server-alive-count-max options ( #5314 )
2026-11-27 22:16:04 +01:00
Arpit Jain
885519b1ba
data: require an empty tag to be the only tag in a filter ( #22222 )
...
Signed-off-by: Arpit Jain <arpitjain099@gmail.com >
2026-11-27 21:12:19 +01:00
Michael Eischer
f25ec9a5ab
ui: allow timeformat without space between time and timezone ( #22220 )
2026-11-24 19:58:09 +01:00
Winfried Plappert
8f4873d5d7
CLI date/time related options - allow different time formats ( #21867 )
2026-11-22 18:12:38 +00:00
Michael Eischer
1d80020e28
Move buffer pool into the repository ( #21942 )
...
* restic: add BlobBuffer pool types
Based on the buffer type used by the archiver. The main change is that
`Get()` now always returns a slice with length zero.
* repository: add BlobBufferPool to BlobSaverAsync
* repository: change SaveBlobAsync to take a BlobBuffer
Ownership of the buffer transfers to SaveBlobAsync. Callers can now take
a buffer from the buffer pool.
Internally saveAndEncrypt now reuses pooled buffers.
* archiver: switch fileSaver to repository BlobBufferPool
2026-11-22 18:08:20 +01:00
Michael Eischer
79f17ac895
archiver: switch fileSaver to repository BlobBufferPool
2026-11-22 17:54:09 +01:00
Michael Eischer
30de2d9211
repository: change SaveBlobAsync to take a BlobBuffer
...
Ownership of the buffer transfers to SaveBlobAsync. Callers can now take
a buffer from the buffer pool.
Internally saveAndEncrypt now reuses pooled buffers.
2026-11-22 17:54:09 +01:00
Michael Eischer
4718be1aee
repository: add BlobBufferPool to BlobSaverAsync
2026-11-22 17:54:09 +01:00
Ion
2991718398
repository: save config before key file during init ( #21944 )
...
restic init generated and uploaded the key file first and only saved the
config afterwards. If two clients ran init against the same empty
repository location at nearly the same time, the backend could end up
with two key files but only one config file, since backends that reject
overwrites let only one of the two config writes succeed. The losing
client's key file stayed in the repository without ever belonging to a
valid config, so clients picking that key later would fail with a
"config or key ... is damaged" error instead of a clear diagnostic.
Reorder Repository.init so the config is saved before the key file is
uploaded. To make that possible, AddKey no longer generates a random
master key internally; callers now supply the master key to encrypt and
store. The two other callers of AddKey (key add, key passwd) already had
an existing key available and pass that through unchanged.
2026-11-22 16:49:09 +00:00