diff --git a/app/client/modules/backups/components/create-schedule-form.tsx b/app/client/modules/backups/components/create-schedule-form.tsx index 577fb064..386bb000 100644 --- a/app/client/modules/backups/components/create-schedule-form.tsx +++ b/app/client/modules/backups/components/create-schedule-form.tsx @@ -29,7 +29,7 @@ import type { BackupSchedule, Volume } from "~/client/lib/types"; import { deepClean } from "~/utils/object"; const internalFormSchema = type({ - name: "1 <= string <= 32", + name: "1 <= string <= 128", repositoryId: "string", excludePatternsText: "string?", excludeIfPresentText: "string?", diff --git a/app/server/modules/backups/backups.dto.ts b/app/server/modules/backups/backups.dto.ts index fa21cfa5..efb8e8e7 100644 --- a/app/server/modules/backups/backups.dto.ts +++ b/app/server/modules/backups/backups.dto.ts @@ -124,7 +124,7 @@ export const getBackupScheduleForVolumeDto = describeRoute({ * Create a new backup schedule */ export const createBackupScheduleBody = type({ - name: "1 <= string <= 32", + name: "1 <= string <= 128", volumeId: "number", repositoryId: "string", enabled: "boolean", @@ -163,7 +163,7 @@ export const createBackupScheduleDto = describeRoute({ * Update a backup schedule */ export const updateBackupScheduleBody = type({ - name: "(1 <= string <= 32)?", + name: "(1 <= string <= 128)?", repositoryId: "string", enabled: "boolean?", cronExpression: "string",