restic/internal/backend
Michael Eischer 4c19d6410f backend: only move child process to foreground if already in foreground
The rclone and sftp backends require starting a child process. The are
first moved into the foreground and back into the background after the
initial startup is done.

However, this behavior is also active if restic itself is started in the
background. In this case, restic changing the foreground process may
confuse the shell and in case of bash causes it to exit. Thus, disable
modification of the controlling process group of the tty if restic is
run in the background.
2025-09-06 19:51:10 +02:00
..
azure Renames to fix clashes with reserved words. 2025-03-22 18:20:30 +00:00
b2 backend: refactor backend Connections and HasAtomicReplace into Properties 2025-02-16 22:27:58 +01:00
cache feat(backends/s3): add warmup support before repacks and restores (#5173) 2025-02-01 18:26:27 +00:00
dryrun backend: refactor backend Connections and HasAtomicReplace into Properties 2025-02-16 22:27:58 +01:00
gs Remove unnecessary type conversions. 2025-03-22 18:20:30 +00:00
layout backend/layout: unexport fields and simplify rest layout 2024-08-31 17:25:24 +02:00
limiter Remove unnecessary type conversions. 2025-03-22 18:20:30 +00:00
local backend/local: ignore chmod "not supported" errors 2025-06-02 17:44:30 -04:00
location move Backend interface to backend package 2023-10-25 23:00:18 +02:00
logger move Backend interface to backend package 2023-10-25 23:00:18 +02:00
mem backend: refactor backend Connections and HasAtomicReplace into Properties 2025-02-16 22:27:58 +01:00
mock backend: refactor backend Connections and HasAtomicReplace into Properties 2025-02-16 22:27:58 +01:00
rclone Rename param as it looks like context isn't used. 2025-03-24 15:01:47 +00:00
rest Mark HTTP Error 507 as permanent 2025-09-05 19:04:16 +02:00
retry Merge pull request #5251 from MichaelEischer/rclone-retries 2025-03-22 14:24:47 +01:00
s3 docs: fix unit for S3 restore timeout 2025-03-27 21:20:50 +01:00
sema Remove unnecessary type conversions. 2025-03-22 18:20:30 +00:00
sftp backend/sftp: wrap further errors 2025-03-24 12:45:15 +01:00
swift backend: refactor backend Connections and HasAtomicReplace into Properties 2025-02-16 22:27:58 +01:00
test backend/test: fix delayedRemoval timeout handling 2025-03-23 16:36:31 +01:00
testdata drop support for s3legacy layout 2024-08-31 17:25:24 +02:00
util backend: only move child process to foreground if already in foreground 2025-09-06 19:51:10 +02:00
backend.go retry/rclone: retry errors up to 5 times 2025-02-16 22:40:55 +01:00
backend_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
file.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
file_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
http_transport.go Remove deprecated HTTP option that is now the default. 2025-03-23 10:10:54 +00:00
httpuseragent_roundtripper.go http: allow custom User-Agent for outgoing HTTP requests 2024-05-30 15:38:06 +02:00
httpuseragent_roundtripper_test.go http: allow custom User-Agent for outgoing HTTP requests 2024-05-30 15:38:06 +02:00
readerat.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
rewind_reader.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
rewind_reader_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
shell_split.go Renames to fix clashes with reserved words. 2025-03-22 18:20:30 +00:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
watchdog_roundtriper.go backend: return correct error on upload/request timeout 2024-08-10 18:06:24 +02:00
watchdog_roundtriper_test.go Merge pull request #4993 from MichaelEischer/fix-timeout-error 2024-08-15 22:07:37 +02:00