From 9edb279c5304bb22a942ecfc12ace6cae1a20453 Mon Sep 17 00:00:00 2001 From: Renan Bernordi Date: Mon, 17 Nov 2025 00:52:58 -0300 Subject: [PATCH] fix merge --- .../components/create-repository-form.tsx | 76 +++++++++++++++++++ app/schemas/restic.ts | 11 +++ app/server/utils/restic.ts | 11 +-- 3 files changed, 93 insertions(+), 5 deletions(-) diff --git a/app/client/components/create-repository-form.tsx b/app/client/components/create-repository-form.tsx index f1529eab..ba3a81ae 100644 --- a/app/client/components/create-repository-form.tsx +++ b/app/client/components/create-repository-form.tsx @@ -128,6 +128,7 @@ export const CreateRepositoryForm = ({ Cloudflare R2 Google Cloud Storage Azure Blob Storage + SFTP @@ -548,6 +549,81 @@ export const CreateRepositoryForm = ({ ))} + {watchedBackend === "sftp" && ( + <> + ( + + Server + + + + SFTP/SSH server hostname or IP address. + + + )} + /> + ( + + Port + + + + SSH server port (default: 22). + + + )} + /> + ( + + Username + + + + SSH account username. + + + )} + /> + ( + + Password + + + + SSH account password. + + + )} + /> + ( + + Path + + + + Remote path on the SFTP server where backups will be stored. + + + )} + /> + + )} + {mode === "update" && (