Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pathumx

macrumors member
Original poster
May 7, 2008
49
0
My friend deleted a couple SMS threads off my phone. My oldest backup is 2 days old, and I don't want to go through the hassle of rejailbreaking and whatnot.

I got the old SMS.db using iBackupBot, so i can get the couple sms threads I need from there. How can I delete the unneeded threads from the old SMS.db and then add them to the current sms.db? I've been able to use sqlite editors to see whats in the db, but i can't figure out how to add/delete data.
 
My friend deleted a couple SMS threads off my phone. My oldest backup is 2 days old, and I don't want to go through the hassle of rejailbreaking and whatnot.

I got the old SMS.db using iBackupBot, so i can get the couple sms threads I need from there. How can I delete the unneeded threads from the old SMS.db and then add them to the current sms.db? I've been able to use sqlite editors to see whats in the db, but i can't figure out how to add/delete data.

go into the SQL EM, right click on your database, go to Generate SQL Script and I would script out the database and all objects. Then I would open up the generated file in the QA and change the database name and execute the script.

You might have problems with duplicate primary keys because of your 2 sets of tables and any foriegn keys that these primararies populate.

TBH i've never really mess with sms dbs... just various other sql statements..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.