Backing up tables?

Put your problem here if it does not fit any of the other categories.

Backing up tables?

Postby ueberbill » Fri Jan 14, 2011 10:04 pm

So I have my sqlite database in my assets directory and when the app is first installed I copy it into the data directory. Every time after that I check for an updated version number (when the app is updated) and if there is one I copy the new database file into the data directory. My question is, is it possible to back up particular tables? I have some that will never be affected by updates but that do have user information and I'd like to back those up, copy the new db, then restore them to their rightful place. I can think of a couple of not-great ways to do it (pull it out manually and store it locally then insert it back in), is there an easier way?
ueberbill
Junior Developer
Junior Developer
 
Posts: 20
Joined: Tue Apr 13, 2010 7:23 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 23 guests