Michael Eischer
51299b8ea7
key: convert to termstatus
2025-09-15 22:19:19 +02:00
Michael Eischer
fd8f8d64f5
init: convert to termstatus
2025-09-15 22:19:17 +02:00
Michael Eischer
114cc33fe9
generate: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
44dbd4469e
tag: replace global print functions with termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
d8f3e35730
prune: replace Print call with termstatus usage
2025-09-15 22:17:26 +02:00
Michael Eischer
333dbd18d8
list: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
0226e46681
cache: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
74fb43e0c2
dump: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
69186350fc
diff: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
3e7aad8916
debug: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
c3912ae7bc
cat: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
d3e26f2868
ls: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
2e91e81c83
mount: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
0dcd9bee88
rewrite: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
a304826b98
repair snapshots: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
8510f09225
stats: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
e63aee2ec6
copy: convert to use termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
ef9930cce4
fix capturing stdout with termstatus
2025-09-15 20:25:17 +02:00
Michael Eischer
e9b6149303
list: cleanup parameter order of test helper
2025-09-15 20:25:17 +02:00
Michael Eischer
32b7168a9e
centralize index progress bar for termstatus
2025-09-15 20:25:17 +02:00
Michael Eischer
6cdb9a75e6
consider JSON flag in newTerminalProgressPrinter
2025-09-15 20:25:17 +02:00
Michael Eischer
e7890d7b81
use standard line clearing in printProgress
2025-09-08 11:04:24 +02:00
Michael Eischer
529baf50f8
simplify message printing when restic receives signal
2025-09-08 11:04:11 +02:00
Michael Eischer
d10bd1d321
terminal: move reading password from terminal here
2025-09-08 11:03:56 +02:00
Michael Eischer
43b5166de8
terminal: cleanup determining width
2025-09-08 11:03:42 +02:00
Michael Eischer
0b0dd07f15
consolidate checks whether stdin/stdout is terminal
2025-09-08 11:03:26 +02:00
Michael Eischer
93ccc548c8
termstatus: move cursor handling to terminal package
2025-09-08 11:03:17 +02:00
Michael Eischer
e4a7f4aadf
Merge pull request #5356 from MichaelEischer/fix-backup-stdin-filename
...
backup: Fix `--stdin-filename` with directory
2025-06-02 20:27:26 +02:00
Ilya Grigoriev
99ee5696f3
bugfix: have --{cpu,mem,...}-profile work even if Restic exits with error code ( #5373 )
...
* bugfix: write pprof file for `--{cpu,mem,...}-profile` even on error code
Before this, if `restic backup --cpu-profile dir/ backup-dir/` couldn't
read some of the input files (e.g. they weren't readable by the user
restic was running under), the `cpu.pprof` file it outputs would be
empty.
https://github.com/spf13/cobra/issues/1893
* drop changelog as it's not relevant for end users
---------
Co-authored-by: Michael Eischer <michael.eischer@fau.de>
2025-06-02 17:57:07 +00:00
Srigovind Nayak
debb110a7c
check: add percentage of repository checked
2025-05-03 18:08:12 +05:30
Michael Eischer
5bb9d0d996
backup: test subdirectories in stdin filenames work
2025-04-11 22:14:32 +02:00
Michael Eischer
9f39e8a1d3
fs/reader: return proper error on invalid filename
2025-04-11 22:07:31 +02:00
Michael Eischer
3a995172b7
fs: rewrite Reader to build fs tree up front
...
This adds proper support for filenames that include directories. For
example, `/foo/bar` would result in an error when trying to open `/foo`.
The directory tree is now build upfront. This ensures let's the
directory tree construction be handled only once. All accessors then
only have to look up the constructed directory entries.
2025-04-11 21:37:40 +02:00
Michael Eischer
0dffa1208d
Merge pull request #5243 from zmanda/feat-gh-4868-show-repo-id-in-df-and-mount
...
mount: append the repository ID to the name of the FUSE mount
2025-04-02 21:16:11 +02:00
Srigovind Nayak
f13e9c10a4
Add support for additional compression levels fastest and better ( #5321 )
...
* repository: expose addtional compression levels
* adding better and fastest compression levels for zstd
* repository: add changelog entry for issue-4728
* chore: fix golint issues
* chore: sort compression modes in the help text
* updating review comments
2025-03-31 21:21:12 +02:00
Michael Eischer
f768683162
Merge pull request #5322 from zmanda/fix-gh-5233-forget-failure-exit-codes
...
forget: return exit code 3 on partial removal of snapshots
2025-03-31 20:08:33 +02:00
Michael Eischer
e1f7522174
forget: fix ignored RESTIC_HOST environment variable
2025-03-31 18:10:17 +02:00
Srigovind Nayak
936c783c0f
forget: exit code 3 for snapshot removal failures
2025-03-30 14:11:32 +05:30
Srigovind Nayak
88b599c4f3
mount: append repository ID to FS name of FUSE mount
...
* update review comments
mount: append repository ID to FS name of the FUSE mount
2025-03-29 13:22:10 +05:30
Alexander Neumann
3d14e92905
Set development version for 0.18.0
2025-03-27 20:17:36 +01:00
Alexander Neumann
d401ad6c1e
Add version for 0.18.0
2025-03-27 20:16:56 +01:00
Michael Eischer
9aad8e9ea5
Merge pull request #5299 from Martin2112/go_cleanup
...
A few more small cleanups that should not change behaviour.
2025-03-24 13:59:39 +01:00
Michael Eischer
ffd63f893a
Merge pull request #5296 from MichaelEischer/reindex-before-recover
...
recover: reindex before reassembling snapshot
2025-03-24 11:16:38 +01:00
Michael Eischer
f5989964ed
restore: fix redundant default value for --overwrite option
2025-03-23 19:54:22 +01:00
Michael Eischer
99fdb00d39
recover: add minimal integration test
2025-03-23 18:07:41 +01:00
Michael Eischer
2409078d55
recover: automatically run repair index before recovering snapshots
2025-03-23 17:55:33 +01:00
Michael Eischer
0b6c355678
recover: refactor to use termstatus
2025-03-23 17:46:49 +01:00
Michael Eischer
f7f48b3026
ui/progress: extend Printer interface with print to stdout method
2025-03-23 17:46:04 +01:00
Martin Smith
6caad10840
Remove extra brackets.
2025-03-23 10:11:43 +00:00
Martin Smith
6e45c51509
Fix name including package name and variable shadowing package.
2025-03-23 10:01:19 +00:00