Menu

#91 Auto backup DB

open
nobody
None
5
2010-10-17
2010-10-17
SierraBravo
No

Since CB heavily uses the storage card many users in the forum have reported corrupted DBs due to storage card issues. Another cause for corrupted DBs is the need to restart the device after unhandled exceptions in CB.

Please introduce an option to backup the DB on startup, probably keeping a configurable number of latest copies for later recovery. This will slow down CB's startup, but will reduce the amount of data lost and the time needed to get CB running again - especially when in the field.

Write a flag to cachebox.config on startup that CB is running and delete that flag after normally closing CB. If that flag exists on startup, don't backup the current DB.

Discussion