From c9126a710ec91c50931e0b91c551e95b7cd02102 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 8 Mar 2024 01:54:32 +0800 Subject: [PATCH] test placeholder --- manifest.jps | 84 +++++++--------------------------------------------- 1 file changed, 10 insertions(+), 74 deletions(-) diff --git a/manifest.jps b/manifest.jps index aaafcf1..d102e8f 100644 --- a/manifest.jps +++ b/manifest.jps @@ -23,14 +23,6 @@ settings: values: - value: 1 caption: Pre-defined - - value: 2 - caption: Custom - - value: 3 - caption: Manual (crontab) - tooltip: "A simple cron-based - scheduler to automatically start the backup process based on prescribed timing - instructions.
Note that the required timestamps should be specified - respectively to the UTC time zone.
" showIf: 1: - name: cronTime @@ -47,72 +39,7 @@ settings: - value: 0 0 1 * * caption: "Monthly (at 00:00 on day 1)" default: 0 0 * * * - 2: - - type: string - name: backupTime - caption: Time - inputType: time - default: "09:00" - cls: x-form-text - width: 120 - required: true - - caption: Days - type: compositefield - name: days - defaultMargins: 0 12 0 0 - items: - - name: sun - value: true - type: checkbox - caption: Su - - name: mon - value: true - type: checkbox - caption: Mo - - name: tue - value: true - type: checkbox - caption: Tu - - name: wed - value: true - type: checkbox - caption: We - - name: thu - value: true - type: checkbox - caption: Th - - name: fri - value: true - type: checkbox - caption: Fr - - name: sat - value: true - type: checkbox - caption: Sa - - name: "tz" - caption: "Time Zone" - type: "list" - required: true - editable: true - forceSelection: true - values: values - 3: - - name: cronTime - caption: Crontab - type: string - default: 0 0 * * * - regexText: Cron syntax is incorrect! - regex: "^(((([\\\\*]{1}){1,})|((\\\\*\\\\\\/){0,1}(([0-9\\/\\*\\-\\,]{1}){1,}|(([1-5]{1}){1}([0-9\\/\\*\\-\\,]{1}){1,}){1}))) - ((([\\\\*]{1}){1,})|((\\\\*\\\\\\/){0,1}(([0-9\\/\\*\\-\\,]{1}){1,}|(([1]{1}){1}([0-9\\/\\*\\-\\,-]{1}){1,}){1}|([2]{1}){1}([0-3]{1}){1}))) - ((([\\\\*]{1}){1})|((\\\\*\\\\\\/){0,1}(([1-9]{1}){1}|(([1-2]{1}){1}([0-9\\/\\*\\-\\,]{1}){1,5}){1}|([3]{1}){1}([0-1]{1}){1}))) - ((([\\\\*]{1}){1})|((\\\\*\\\\\\/){0,1}(([1-9]{1}){1}|(([1-2]{1}){1}([0-9\\/\\*\\-\\,]{1}){1,}){1}|([3]{1}){1}([0-1]{1}){1}))|(jan|JAN|feb|FEB|mar|MAR|apr|APR|may|MAY|jun|JUN|jul|JUL|aug|AUG|sep|SEP|okt|OKT|nov|NOV|dec|DEC)(-?\\w+?)?) - ((([\\\\*]{1}){1})|((\\\\*\\\\\\/){0,1}(([0-7]{1,}(-?[0-7]?(,[0-7]){0,6})){1}))|((sun|SUN|mon|MON|tue|TUE|wed|WED|thu|THU|fri|FRI|sat|SAT)?(,(sun|SUN|mon|MON|tue|TUE|wed|WED|thu|THU|fri|FRI|sat|SAT)){0,6})(-?\\w+?)?))$|^(@(reboot|yearly|annualy|monthly|weekly|daily|hourly))$" - - caption: Backup storage - type: list - tooltip: "The environment with backup storage to be used for backups creation. Presence of this environment is obligatory." - name: storageName - dependsOn: region - required: true + - type: spinner name: backupCount caption: Number of backups @@ -120,6 +47,15 @@ settings: min: 1 max: 30 default: 5 + + - caption: Backup storage + type: list + tooltip: "The environment with backup storage to be used for backups creation. Presence of this environment is obligatory." + value: {nodes.(group)[(i)].(storage)} + name: storageName + dependsOn: region + required: true + onBeforeInit: scripts/configOnBeforeInit.js restore: