pocketbase: Failed to create backup in Docker
The Backup functionality isn’t working on my instance. Using the latest version of Pocketbase and Docker.
--debug
-Log shows the following:
blob (key "pb_backup_20230808092633.zip") (code=Unknown): rename /tmp/pb_backup_20230808092633.zip.17795e46db5a7b21.tmp /pb_data/backups/pb_backup_20230808092633.zip: invalid cross-device link
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19 (11 by maintainers)
Commits related to this issue
- [#3089] use a temp dir inside pb_data to prevent backups cross-device link error — committed to pocketbase/pocketbase by ganigeorgiev a year ago
@khrome83 The above “cross-device link” error shouldn’t exist anymore with the latest release.
I have no idea why the above is causing a file permission error. Make sure that your volume is mounted with the correct path.
If you are not able to resolve it, please consider filing a new Q&A discussion with more details about your setup and I’ll try to investigate it.