mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 07:17:27 +02:00
added backup apis and tests
This commit is contained in:
1 parent
3b0f60fe15
commit
e8b4a7eb26
104 files changed
+3192
-1017
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user