From 375cd10fea2373776269b971b1bc264ae22bfc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Tr=C3=A1vn=C3=ADk?= Date: Tue, 23 Dec 2025 11:09:49 +0100 Subject: [PATCH] fix(export): add missing keys to metadata exclusion list --- app/server/modules/lifecycle/config-export.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/modules/lifecycle/config-export.controller.ts b/app/server/modules/lifecycle/config-export.controller.ts index f6ad1c0c..12b6089a 100644 --- a/app/server/modules/lifecycle/config-export.controller.ts +++ b/app/server/modules/lifecycle/config-export.controller.ts @@ -26,9 +26,9 @@ type ExportParams = { // Keys to exclude when metadata is not included const METADATA_KEYS = { - ids: ["id", "volumeId", "repositoryId", "scheduleId", "destinationId"], + ids: ["id", "shortId", "volumeId", "repositoryId", "scheduleId", "destinationId"], timestamps: ["createdAt", "updatedAt", "lastBackupAt", "nextBackupAt", "lastHealthCheck", "lastChecked", "lastCopyAt"], - runtimeState: ["status", "lastError", "lastBackupStatus", "lastBackupError", "hasDownloadedResticPassword", "lastCopyStatus", "lastCopyError"], + runtimeState: ["status", "lastError", "lastBackupStatus", "lastBackupError", "hasDownloadedResticPassword", "lastCopyStatus", "lastCopyError", "sortOrder"], }; const ALL_METADATA_KEYS = [...METADATA_KEYS.ids, ...METADATA_KEYS.timestamps, ...METADATA_KEYS.runtimeState];