added backup apis and tests

This commit is contained in:
Gani Georgiev committed 2023-05-13 22:12:42 +03:00
1 parent 3b0f60fe15
commit e8b4a7eb26
104 files changed
+3192 -1017

No files matched your search

+3
View File
@@ -45,6 +45,9 @@ func (form *BackupCreate) Validate() error {
func (form *BackupCreate) checkUniqueName(value any) error {
v, _ := value.(string)
if v == "" {
return nil // nothing to check
}
fsys, err := form.app.NewBackupsFilesystem()
if err != nil {