adjust code to new repository

This commit is contained in:
T. R. Bernstein
2025-10-09 21:02:10 +02:00
committed by T. R. Bernstein
parent 0a74d2f25d
commit 4128071070
335 changed files with 814 additions and 808 deletions
+6 -6
View File
@@ -12,11 +12,11 @@ import (
"sort"
"time"
"github.com/pocketbase/pocketbase/tools/archive"
"github.com/pocketbase/pocketbase/tools/filesystem"
"github.com/pocketbase/pocketbase/tools/inflector"
"github.com/pocketbase/pocketbase/tools/osutils"
"github.com/pocketbase/pocketbase/tools/security"
"github.com/tabshift-gh/pocketbase/tools/archive"
"github.com/tabshift-gh/pocketbase/tools/filesystem"
"github.com/tabshift-gh/pocketbase/tools/inflector"
"github.com/tabshift-gh/pocketbase/tools/osutils"
"github.com/tabshift-gh/pocketbase/tools/security"
)
const (
@@ -151,7 +151,7 @@ func (app *BaseApp) CreateBackup(ctx context.Context, name string) error {
//
// Note that if your pb_data has custom network mounts as subdirectories, then
// it is possible the restore to fail during the `os.Rename` operations
// (see https://github.com/pocketbase/pocketbase/issues/4647).
// (see https://github.com/tabshift-gh/pocketbase/issues/4647).
func (app *BaseApp) RestoreBackup(ctx context.Context, name string) error {
if app.Store().Has(StoreKeyActiveBackup) {
return errors.New("try again later - another backup/restore operation has already been started")