MobileSheets Forums

Full Version: Database location
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have all the library of songs in my SD card.  I have also the setting 'Expose database' enabled.  I can see the database files .db and .db-journal in the app storage default location  android/data/com.zuber.../files.
Is there a way to have the database files also in the storage location copy that is in the SD-card?
I'd like to be able to have all files safe should my tablet is corrupted or the internal storage fails.
Is there a setting for that?
Thanks
At the moment, MobileSheetsPro does not keep a copy of the database both under the default storage location as well as the current storage location (assuming they are different). If users would like me to copy the database over either when the application is first started or before it closes, I can do that. I don't want to frequently copy the file though, as I don't want additional I/O happening in the background (this can be slow with some SD cards, and it would lock the database while the copying is occurring). 

As a side note, you can always manually copy the database file to the SD card periodically to have a copy just in case.

Mike
(09-13-2020, 04:47 PM)Zubersoft Wrote: [ -> ]At the moment, MobileSheetsPro does not keep a copy of the database both under the default storage location as well as the current storage location (assuming they are different). If users would like me to copy the database over either when the application is first started or before it closes, I can do that. I don't want to frequently copy the file though, as I don't want additional I/O happening in the background (this can be slow with some SD cards, and it would lock the database while the copying is occurring). 

As a side note, you can always manually copy the database file to the SD card periodically to have a copy just in case.

Mike

Maybe just a reminder box every so often when closing the app about making a backup of database. Nice compromise IMHO.
Please no such pop-up!
I have established a habit when to make backups regularly (and recommend to do so). I don't want to be annoyed by pop-ups all the time.
Thanks everyone for the suggestions.
One of the reasons why I'm obsessed with backing up is because on a couple of occasions, while adding /saving annotations, the screen went black except on a few spots and it corrupted the DB. I restarted the app and even the tablet but the song kept coming up black.
Restoring my latest backup saved my day.
Has anyone encounter this problem?