From 6f20b97488e9b4cf0298438d80e79fd5cf567e94 Mon Sep 17 00:00:00 2001 From: SebClem Date: Fri, 12 Jul 2024 14:32:53 +0200 Subject: [PATCH] Fix backup name --- nextcloud_backup/backend/src/services/orchestrator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud_backup/backend/src/services/orchestrator.ts b/nextcloud_backup/backend/src/services/orchestrator.ts index c5ad99d..9a3e2bd 100644 --- a/nextcloud_backup/backend/src/services/orchestrator.ts +++ b/nextcloud_backup/backend/src/services/orchestrator.ts @@ -73,13 +73,13 @@ export function doBackupWorkflow(type: WorkflowType) { if (webdavConfig.chunckedUpload) { return webDavService.chunkedUpload( tmpFile, - getBackupFolder(type, webdavConfig) + name, + getBackupFolder(type, webdavConfig) + name + ".tar", webdavConfig ); } else { return webDavService.webdavUploadFile( tmpFile, - getBackupFolder(type, webdavConfig) + name, + getBackupFolder(type, webdavConfig) + name + ".tar", webdavConfig ); }