1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-25 23:52:32 +02:00

[#3089] use a temp dir inside pb_data to prevent backups cross-device link error

This commit is contained in:
Gani Georgiev
2023-08-08 14:15:29 +03:00
parent bd18688f35
commit 7a3223e415
3 changed files with 27 additions and 17 deletions

View File

@@ -127,6 +127,7 @@ func verifyBackupContent(app core.App, path string) error {
"logs.db-shm",
"logs.db-wal",
".gitignore",
".pb_temp_to_delete",
}
entries, err := os.ReadDir(dir)