Winfried Plappert
75de8b54e6
restic check and restic repair packs: treat missing packfiles the same as damaged and truncated packfiles (#21845 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-28 12:09:42 +02:00
Winfried Plappert
9e1a526611
Fix broken snapshots via restic repair snapshots --forget ( #21907 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-27 22:09:10 +02:00
Michael Eischer
9670cd7459
find: fix fallback to index if pack cannot be listed
...
`find` would only look up completely missing pack files in the index. A
still existing but broken pack file would result in an error.
2026-06-26 22:16:55 +02:00
Gilbert Gilb's
db03aed816
feat(backends/s3): add warmup support for check command ( #5248 )
2026-06-25 20:46:55 +02:00
Ricardo Sawir
55e335ec6c
fuse: reset treeCache on snapshot reload to fix stale latest symlink ( #21873 )
...
The treeCache in SnapshotsDir was never cleared when snapshots were
reloaded. This caused the "latest" symlink to keep pointing to the
previous snapshot even after new snapshots were added.
Add a generation counter to SnapshotsDirStructure that is incremented
whenever the directory structure is rebuilt (in makeDirs). The
treeCache checks this generation on each lookup and resets itself
when the generation changes, ensuring cached nodes (including symlinks)
are refreshed after a snapshot reload.
2026-06-22 18:31:51 +00:00
Winfried Plappert
d30d6b6281
backup - show excluded files and directories in verbose mode - text/JSON ( #21887 )
2026-06-21 16:11:42 +00:00
Eyüp Can Akman
8d7679c831
backup: skip source paths that cannot be accessed ( #21852 )
2026-06-21 17:16:16 +02:00
Michael Eischer
d9dd1b7534
archiver: ignore duplicate but excluded directory entry ( #21900 )
2026-06-21 15:49:08 +02:00
Michael Eischer
369da8a770
snapshots: revert default --lastest behavior to pre-0.19.0
...
the changed behavior now only applies when using `--group-by`.
2026-06-21 15:28:22 +02:00
Michael Eischer
28521d27c1
Merge pull request #21897 from MichaelEischer/sftp-fix-chmod
...
backend/sftp: fix removing files on windows sftp
2026-06-20 19:29:49 +02:00
Winfried Plappert
284daaf0b4
restic list pack snapshotID - create lists of packfiles for a given snapshot as text ( #5396 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-20 15:46:44 +00:00
Michael Eischer
203e595ccb
backend/sftp: fix removing files on windows sftp
2026-06-19 23:23:01 +02:00
Michael Eischer
0536e15bbf
snapshots: show location name instead of current timezone ( #21877 )
2026-06-14 14:02:20 +02:00
Michael Eischer
ae96b2a0f8
mount: fix crash in mountpoint validation ( #21879 )
2026-06-14 13:55:26 +02:00
Michael Eischer
bae49d00ee
stats: hide progress bar for json output ( #21871 )
2026-06-13 15:13:26 +02:00
darkdragon-001
e5dba15367
Json prune ( #5239 )
...
Co-authored-by: Alexander Weiss <alex@weissfam.de >
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-13 10:38:57 +00:00
Michael Eischer
3a4b0e3b8c
Merge pull request #5348 from zmanda/fix-gh-5234-prevent-mount-command-over-repository
...
mount: prevent mounting over repository
2026-06-12 22:27:50 +02:00
Alexander Neumann
60448342b3
Prepare changelog for 0.19.0
2026-06-09 18:48:35 +02:00
rawtaz
f01359ff92
doc: Polish changelogs ( #21847 )
2026-06-05 22:30:46 +02:00
Michael Eischer
cebc5c8957
polish changelogs
2026-06-01 22:10:27 +02:00
Michael Eischer
474c094cac
Merge pull request #21817 from eyupcanakman/fix/sftp-dir-permissions
...
sftp: Use mode 0700 for repository directories
2026-05-31 16:40:17 +02:00
Michael Eischer
e666980cec
add changelog for split pack index handling
2026-05-31 16:22:58 +02:00
Michael Eischer
f86307d223
Merge pull request #21827 from MichaelEischer/fix-pack-repair
...
repair packs: correctly handle packs with missing/incomplete index entry
2026-05-31 15:57:50 +02:00
Michael Eischer
77a6bf3bb7
Merge pull request #21797 from MichaelEischer/always-include-explicit-targets
...
backup: prevent exclude of backup targets
2026-05-31 15:42:26 +02:00
Michael Eischer
4c23c5946f
add repair packs changelog
2026-05-31 15:40:15 +02:00
Michael Eischer
ce24640d75
backup: prevent hang using --stdin-from-command if upload fails ( #21829 )
2026-05-31 15:27:05 +02:00
Eyüp Can Akman
62cf574fd8
sftp: Use mode 0700 for repository directories
...
The SFTP backend created repository directories with pkg/sftp's Mkdir
and MkdirAll, which take no mode argument, so the directories inherited
the SFTP server's umask instead of the 0700 used for local
repositories. Set the mode of each directory the backend creates.
2026-05-31 12:40:26 +03:00
Michael Eischer
02cf8e5f23
backup: prevent exclude of backup targets
...
Track backup targets explicitly specified by the user and prevent
excluding them. This for example ensures that `restic backup
--exclude-if-present .git /home/user/data` backs up the `data` folder
even if there is a `.git` folder in `/home/user`.
Note that this does not suffice for commands like `restic backup --exclude data /home/user/data`
as the exclude pattern will still match every single file within `data`.
2026-05-30 22:30:30 +02:00
Michael Eischer
2802bec8b9
Polish changelogs ( #21805 )
2026-05-29 21:06:29 +02:00
Michael Eischer
f000da3b35
Return helpful error if subfolder syntax fails on Windows ( #21813 )
2026-05-20 22:55:01 +02:00
Winfried Plappert
990329013e
prune more aggresively ( #21803 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-05-16 15:49:08 +00:00
Srigovind Nayak
a37010a825
chore: update changelog for issue 5234
2026-05-16 18:06:14 +05:30
Paulo Saraiva
6de6cc6c75
Show progress for restic stats ( #5705 )
...
Co-authored-by: Paulo Saraiva <paulo.saraiva@cern.ch >
2026-05-15 20:31:20 +02:00
Michael Eischer
bf14a94600
Merge pull request #21784 from jtru/fuse-mount-hardlink-count
...
mount: Ensure a hard link count > 0 for all files
2026-05-14 11:25:20 +02:00
Michael Eischer
65d90641bb
add changelog for windows hardlink count fix
2026-05-14 11:18:16 +02:00
Donggyu Kim
e33bcede2f
terminal: Do not write unchanged status lines
...
Check if each line of status is changed, and write
the line to the terminal only if it has changed
2026-05-14 10:42:13 +02:00
Michael Eischer
f3854cf299
Merge pull request #21796 from restic/go-1.25
...
Bump minimum go version to 1.25 & update dependencies
2026-05-12 18:56:09 +02:00
Michael Eischer
7ee77133fc
Merge pull request #21781 from mattxtaz2/master
2026-05-10 22:20:24 +02:00
Michael Eischer
1cdb0a9c96
add changelog for key passwd fix
2026-05-10 22:13:16 +02:00
Michael Eischer
a241652787
windows: fix hang while reading from directory
2026-05-10 17:53:29 +02:00
Michael Eischer
6080c784e4
Bump minimum go version to 1.25
2026-05-10 17:53:08 +02:00
Michael Eischer
adce279d04
add changelog
2026-05-10 00:38:01 +02:00
Michael Eischer
39084a912e
Merge pull request #5700 from MichaelEischer/err-invalid-env
2026-05-10 00:18:40 +02:00
Michael Eischer
ca555897f2
Add incremental index loading changelog
2026-05-07 22:52:23 +02:00
Michael Eischer
541eb5cfd8
clarify changelog expectations ( #5721 )
2026-02-25 20:36:07 +00:00
Winfried Plappert
f9b63050eb
Bugfix: `restic find --pack <tree-pack>` did not produce output for tree packs ( #5664 )
2026-02-25 21:24:31 +01:00
Johannes Truschnigg
a8f0ad5cc4
mount: check for more requisite mountpoint conditions ( #5718 )
...
* mount: check for more requisite mountpoint conditions
In order to be able to mount a repository over a mountpoint target
directory via FUSE, that target directory needs to be both writeable and
executable for the UID performing the mount.
Without this patch, `restic mount` only checks for the target pathname's
existence, which can lead to a lot of data transfer and/or computation
for large repos to be performed before eventually croaking with a fatal
"fusermount: failed to chdir to mountpoint: Permission denied" (or
similar) error.
FUSE does allow for mounting over a target path that refers to a regular
(writeable) file, but the result is not accessible via chdir(), so we
prevent that as well, and accept only directory inodes as the intended
target mountpoint path.
* Don't use snake_case identifiers
* Add changelog entry
* tweak changelog summary
---------
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-02-19 17:11:49 +00:00
Winfried Plappert
8b567a9270
Bugfix restic find: missing check for mtime --oldest/--newest ( #5310 )
2026-02-18 21:14:35 +00:00
Michael Eischer
5be6d9c73f
fail of RESTIC_READ_CONCURRENCY or RESTIC_COMPRESSION are invalid
2026-02-01 15:57:07 +01:00
gunar
7101f11133
Fail fast for invalid RESTIC_PACK_SIZE env values ( #5592 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-02-01 15:45:31 +01:00