How to copy / export or sync sqlite db from device to computer?
I am wondering is there any way to back up / sync the data from sqlite in iphone / ipod touch device back to computer. For example, I have an application wich use sqlite database in iphone / ipod touch device. So if user has edited anything then I would like to get the data back in the computer so that i can sync up and include the existing data with new ones. Thanks for any suggestions and advices.
Can you give one simple example to do it? I was trying to import using SQLite Database Browser 1.3. But i am not sure how can i actually find the path that the sqlite database is locating in one of the application that i was installed in iphone/ipod touch device which is connecting to my macbook.If we can do it manually if there is anyway that we can also do it by programming? Thanks/
When I said 'manually' I just meant that there is no code written to do it for you. You have to write it yourself. Example code for something of this level if far outside the scope of this message board. It is nowhere near trivial no matter which method you use.
There is an SQLite plugin for firefox that I use. The only bad part is that the target DB changes with every build, so just NSLog the real path to the DB when you debug the app. I havent figured out how to actually pull the DB off the phone, but still it's helpful.
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
How to copy / export or sync sqlite db from device to computer?
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.