diff --git a/app/server/utils/restic.ts b/app/server/utils/restic.ts index 6753e139..a324db31 100644 --- a/app/server/utils/restic.ts +++ b/app/server/utils/restic.ts @@ -176,6 +176,10 @@ const buildEnv = async (config: RepositoryConfig) => { "UserKnownHostsFile=/dev/null", "-o", "LogLevel=VERBOSE", + "-o", + "ServerAliveInterval=60", + "-o", + "ServerAliveCountMax=240", "-i", keyPath, ];