biomancy.spatial.db cannot be backed up
skyofsimba opened this issue · 3 comments
Biomancy version
2.8.19.0
MinecraftForge Version
mc 1.20.1 forge 47.3.12
What happened?
We have tested advanced backup mod and simple backup mod, and got the same issue here:
[13:22:41] [Server thread/INFO] [co.he.ad.AdvancedBackups/]:
SAVING DISABLED - PREPARING FOR BACKUP!
[13:22:41] [Server thread/INFO] [co.he.ad.AdvancedBackups/]:
SAVE COMPLETE - PREPARING FOR BACKUP!
[13:22:46] [AB Active Backup Thread/INFO] [co.he.ad.AdvancedBackups/]: Preparing snapshot backup with name:
snapshot_2025-09-10_13-22-46.zip
[13:22:46] [AB Active Backup Thread/INFO] [minecraft/MinecraftServer]: [美男子jskksv: Preparing snapshot backup with name:
snapshot_2025-09-10_13-22-46.zip]
[13:22:46] [AB Active Backup Thread/ERROR] [co.he.ad.AdvancedBackups/]: Error backing up file : data\biomancy.spatial.db
[13:22:46] [AB Active Backup Thread/ERROR] [co.he.ad.AdvancedBackups/]: java.io.IOException: 另一个程序已锁定文件的一部分,进程无法访问。
at java.base/java.io.FileInputStream.readBytes(Native Method)
at java.base/java.io.FileInputStream.read(FileInputStream.java:263)
at TRANSFORMER/[email protected]/computer.heather.advancedbackups.core.backups.ThreadedBackup.makeZipBackup(ThreadedBackup.java:234)
at TRANSFORMER/[email protected]/computer.heather.advancedbackups.core.backups.ThreadedBackup.makeBackup(ThreadedBackup.java:138)
at TRANSFORMER/[email protected]/computer.heather.advancedbackups.core.backups.ThreadedBackup.run(ThreadedBackup.java:82)
[13:26:11] [AB Active Backup Thread/INFO] [minecraft/MinecraftServer]: [美男子jskksv: Snapshot created! This will not be auto-deleted.]
[13:26:11] [AB Active Backup Thread/INFO] [minecraft/MinecraftServer]: [美男子jskksv: Backup completed with errors - the following files could not be backed up.]
[13:26:11] [AB Active Backup Thread/INFO] [minecraft/MinecraftServer]: [美男子jskksv: Check the logs for more information :]
[13:26:11] [AB Active Backup Thread/INFO] [minecraft/MinecraftServer]: [美男子jskksv: data\biomancy.spatial.db]
[13:26:11] [Server thread/INFO] [co.he.ad.AdvancedBackups/]:
SAVING ENABLED - BACKUP COMPLETE!
What should have happened instead?
idk be not occupied and get backed up successfully probably?
idk what does this file do but its never successfully backed up.........
Additional context
No response
That file is database and locked when when the world is loaded.
You need to configure your backup mod to ignore this file or delay the backup of it until the world is unloaded.
The next dev snapshot addresses this issue by performing the backup of the database myself (on the world save event) which will produce a zip file that can be backed up by anything. But you will still need to ignore biomancy's database file.