[Q]adb bakcup command through... - Android Q&A, Help & Troubleshooting

Hi
Without routing through adb backup command contacts.db, mmssms.db I can come to have a computer??
1. adb backup -> backup.ab
2. java -jar abe.jar unapck backup.ab backup.tar
3. unpack backup.tar
but i have not app/com.android.providers.telephony, com.android.providers.contacts/
Said the route was no friend to adb backup has contacts and came to this mmssms possible?

Pretty sure adb backup is only for user apps, not system apps. Easiest way to back up your contacts is just by exporting them to storage from your Contact (or People) app. For saving texts, there are a variety of methods as well. There are apps that all they do is SMS backup like SMS Backup & Restore (via XML) or SMS Backup+ (which you can sync to Gmail) or any of a dozen other type of apps that can backup contacts and SMS for you, like Go Backup, My Backup Pro, Super Backup, etc.

thank you
es0tericcha0s said:
Pretty sure adb backup is only for user apps, not system apps. Easiest way to back up your contacts is just by exporting them to storage from your Contact (or People) app. For saving texts, there are a variety of methods as well. There are apps that all they do is SMS backup like SMS Backup & Restore (via XML) or SMS Backup+ (which you can sync to Gmail) or any of a dozen other type of apps that can backup contacts and SMS for you, like Go Backup, My Backup Pro, Super Backup, etc.
Click to expand...
Click to collapse
Thank you
This file contains adb backup mmssms.db, contacts2.db is not it?
If you have files on the command adb pull while not rooted not no better than me, right?

I apologize as I should have looked it up first, but yes, those are the correct files for the backup of contacts and messages. I'm lazy and always just use apps as I've never had an issue with backing up and restoring those in that manner. Here is some more info on how to backup and restore those .db files:
http://forum.xda-developers.com/showthread.php?t=969650
But yes, you have to be rooted for that to work. If you aren't rooted, then you can try Helium. It works for many phones non rooted, but needs to have a PC companion app to make it work.
http://www.clockworkmod.com/carbon

Related

How can I extract contacts from TB backup?

Hello,
I've recently had my contacts backup corrupted (contacts app FCs after restoring the contact storage) by a bad ROM, and they aren't backed up properly by google sync/sim card.
How can I extract the contacts from the Titanium-Backup backup file?
Thanks
reinstall the rom with which the contacts worked, reastore the TB backup, now in contacts app export your contacts as a vcf file
hoped to avoid that. thanks anyway.
I have no experience with TB since I have never used it but for some hints.
Your contact list is saved in /data/data/com.android.providers.contacts/databases/contacts2.db
So try to restore the data for com.android.providers.contacts. How you do that in TB I don't know but that info should help you.

App to backup and THEN delete the sms form phone?

Hello this seems to be such a great feature if it could be implemented.
I know how to backup sms'es and restore them. There are many programs which does this and now also titanium can do it (nice!)
However it would be perfect if a app was able to backup all sms'es in threads older than fx 500, and then delete from phone to clear up some space.
In that way you always have one big XML file with all backupped sms (should be no problem to open in a computer, even with many thousands messages), and these messages would also all be deleted from the phone and no duplicates in phone and backup would appear.
Thanks!
------- edit --------
http://code.google.com/p/android-sms/issues/detail?id=7

[Q] very random question about Nandroid backups

Is it possible to dig through the backup and recover the text messages from it?
Nandroid backup doesn't backup messages. U should have done it using apps like go backup.
life!
if you do a restore to a backup the messages from that point are there. Ive done that before to recover some that I forgot to back up for my girlfriend in the past.
Lifehacker7 said:
Nandroid backup doesn't backup messages. U should have done it using apps like go backup.
life!
Click to expand...
Click to collapse
A nandroid is a complete image of your device. Messages, call logs, wifi settings etc are in the image. That's why it's called backup.
The titanium backup pro version lists that it can restore from nandroids, but I've never tested it. The play store has some on- device nandroid browser apps; xda has threads about how to mount and open the image files here. (Can't link to them, tapatalk limited)
-star- said:
A nandroid is a complete image of your device. Messages, call logs, wifi settings etc are in the image. That's why it's called backup.
The titanium backup pro version lists that it can restore from nandroids, but I've never tested it. The play store has some on- device nandroid browser apps; xda has threads about how to mount and open the image files here. (Can't link to them, tapatalk limited)
Click to expand...
Click to collapse
I've tested it and it works very well. It displays all the apps in the nandroid and you can specify which ones to restore and whether or not you want the app or just the data.
So, yeah it can...
micro2112 said:
Is it possible to dig through the backup and recover the text messages from it?
Click to expand...
Click to collapse
Technically yes. But it's not straight forward.
First, you need to mount the img file of datadata or data (depending upon what is there in your nandroid backup) using yaffs / ext4 mount tools, the actual file that stores the text messages is in /data/data
Once you've the datadata file system mounted, you need to look for the database file that stores the messages - i think its called smsmms.db or something like that. This is an SQLite database file.
Use any SQLite viewer to open the db file and look at the tables and contents to get the messages. You can google for this part - there might be tools/scripts to extract the messages from db file into text files / import formats of popular backup tools
Some parts might change between versions of android, my data is from ICS
Awww sorry about that.! I thought it didn't!
life!
Thank you so very much everyone! That is exactly what I needed.

Backing up and restore

hello, im going to install a new ROM and i want to backup and restore my Apps and my apps data with my contacts.
will doing adb backup with this line: adb backup –apk –shared –all –f /backup/mybackup.ab
Will this backup things like system setting and system files from the ROM im on at the moment??? or just my personal things?
so to sum it up, i do not want system files from this ROM on my next am i doing this correctly?
Thanks for the help for who ever post's
anyone?
bunchies said:
hello, im going to install a new ROM and i want to backup and restore my Apps and my apps data with my contacts.
will doing adb backup with this line: adb backup –apk –shared –all –f /backup/mybackup.ab
Will this backup things like system setting and system files from the ROM im on at the moment??? or just my personal things?
so to sum it up, i do not want system files from this ROM on my next am i doing this correctly?
Thanks for the help for who ever post's
Click to expand...
Click to collapse
I'm not sure, but I have always used Titanium backup, you can see this guide: http://rootzwiki.com/topic/34040-guide-titaniumbackup-tutorial/
to back up all my apps. However, I don't have the pro version, so once i restore all my apps using titanium backup, I use an app called Super backup to restore all of my contacts, call logs, messages, etc.
Hope this helps, and as always, dont forget to backup a nandroid just in case something goes wrong
Cheers, hope this helps

[Q] One backup solution?

Hi,
Is there an app that backups & restores these things (and maybe more):
1. All apps data
2. All photos (camera, whatsapp, mms)
3. SMS messages, preferably to GMail
4. WhatsApp messages ("exploded" - meaning, not just upload the msgstore.db file)
I'm looking for something automatic, that will backup things as they arrive (e.g. after I take a photo), or hourly/nightly, and that knows to upload the new data to a cloud service.
I know a mix of Titanium & Google + & SMS Backup+ can do these things (SMS Backup+ can't restore whatsapp messages and only backsup nightly, not as whatsapp messages arrives, and can't backup crypt7 files (tri-crypt can decrypt, but for me SMS backup didn't trigger afterwards)). Titanium also failed to upload backups for me (for reasons unclear. the message it gives in the notification is cut off)
Nandroid backup will contain everything, but can't be done nightly and the file is huge, so can't be uploaded. I think it also means that if I change phones, it can't be used for restore.
Basically, I don't want to mess with it. Have it work in the background, send everything to a cloud storage and allow me to restore, even if I switched to a new phone.

Categories

Resources