• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oh dearie me
#26
I used to provide an option just to export the database file, and you wouldn't believe the number of emails I got from people who backed up their library using just a database backup (thinking they were backing up everything), even though I put a huge number of warnings in the description. I decided that it was too confusing for most users to provide both options, and now just have the "Expose Database" option for those that want to have direct access. If all you want is a database backup, you can just copy the .db file to a place of your choosing.

Thinking more about the .zip versus .msb issue, there is one issue I don't have an answer for yet. People like to restore their backups from the companion app, and when I do this, I stream the data across so that the tablet can extract the backup without needing adequate space to copy the file across. From what I've seen so far, I don't believe the Java zip classes will work with a stream of data - they all seem to want the file available locally. Another issue is speed - from what I've read so far, the Java zip libraries sound like they may be pretty slow. I'm going to have to do some measurements, but I wouldn't be surprised if my msb implementation is much faster to backup and restore. This only matters for large backup files of course, but I'm thinking it still makes sense to provide the option to choose one or the other.

itsme - I haven't forgotten about those requests, I just haven't had time to address them yet. As far as moving all of the settings to the database, I may consider this, but it would mean that every class in my code that wanted to persist settings would have to have access to the database. Using preference files is just much simpler. I have already researched how to back up all the data in these preference files, so I should be able to place these in the backup without any issues.

Mike
Reply


Messages In This Thread
Oh dearie me - by GraemeJ - 05-16-2015, 12:09 PM
RE: Oh dearie me - by Zubersoft - 05-16-2015, 03:24 PM
RE: Oh dearie me - by GraemeJ - 05-16-2015, 06:39 PM
Oh dearie me - by Rey_a - 05-16-2015, 05:53 PM
RE: Oh dearie me - by sciurius - 05-16-2015, 05:56 PM
RE: Oh dearie me - by GraemeJ - 05-16-2015, 06:44 PM
RE: Oh dearie me - by bumblebee - 05-16-2015, 06:17 PM
RE: Oh dearie me - by sciurius - 05-16-2015, 07:08 PM
RE: Oh dearie me - by GraemeJ - 05-16-2015, 08:24 PM
RE: Oh dearie me - by sciurius - 05-17-2015, 05:15 AM
RE: Oh dearie me - by GraemeJ - 05-16-2015, 08:20 PM
RE: Oh dearie me - by bumblebee - 05-16-2015, 08:31 PM
RE: Oh dearie me - by sciurius - 05-16-2015, 09:27 PM
RE: Oh dearie me - by itsme - 05-16-2015, 09:50 PM
RE: Oh dearie me - by Zubersoft - 05-17-2015, 03:15 PM
RE: Oh dearie me - by sciurius - 05-18-2015, 12:05 AM
RE: Oh dearie me - by Zubersoft - 05-17-2015, 04:14 PM
RE: Oh dearie me - by sciurius - 05-17-2015, 11:56 PM
RE: Oh dearie me - by GraemeJ - 05-17-2015, 06:35 PM
RE: Oh dearie me - by Zubersoft - 05-20-2015, 07:34 AM
RE: Oh dearie me - by sciurius - 05-20-2015, 08:35 AM
RE: Oh dearie me - by GraemeJ - 05-20-2015, 08:42 AM
RE: Oh dearie me - by sciurius - 05-20-2015, 04:31 PM
RE: Oh dearie me - by sciurius - 05-21-2015, 01:25 AM
RE: Oh dearie me - by itsme - 05-21-2015, 07:31 AM
RE: Oh dearie me - by Zubersoft - 05-21-2015, 05:21 PM
RE: Oh dearie me - by sciurius - 05-21-2015, 05:45 PM



Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.