The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-10-2008, 04:09 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 14 Times in 6 Posts
[HOW TO]: Manual Backup of your iPhone Files

I know that the following have been mentioned on the forum. Albeit, they have all been scattered across the forum. In any case, I thought I would try to put all the Application files that you can manually backup into 1 thread. Please feel free to add to the list!

SMS
/var/root/Library/SMS/sms.db

Calendar
/var/root/Library/Calendar/Calendar.sqlitedb

Notes
/var/root/Library/Notes/notes.db

Call History
/var/root/Library/CallHistory/call_history.db

Address Book
/var/root/Library/AddressBook/AddressBook.sqlitedb AND
/var/root/Library/AddressBook/AddressBookImages.sqlitedb

Voicemail (If you are an ATT customer and have visual Voicemail)
/var/root/Library/Voicemail/voicemail.db

*NOTE* - Individual voicemails are stored as 1.amr, 2.amr, etc. If you’ve recorded a custom greeting, it’s stored as Greeting.amr.

Photos
/var/root/Media/DCIM/100Apple
(Photos synced from iPhoto)-> /private/var/root/Media/Photos.

Safari- bookmarks and history files in /var/root/Library/Bookmarks.plist and History.plist

Cookies are stored in /var/root/Library/Cookies/Cookies.plist
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 9 Users Say Thank You to Sony311 For This Useful Post:
DJ Bless One (09-12-2009), dontevenfucwitme (02-09-2008), fishtail (06-07-2008), fmtakaki (03-01-2008), IvanB (01-10-2008), keviNNz (06-21-2009), MaxRabbit (12-28-2008), SubCool (08-31-2009), teme (10-09-2009)
  #2  
Old 01-10-2008, 05:40 PM
IvanB's Avatar
iPhoneaholic
 
Join Date: Nov 2007
Posts: 346
Thanks: 47
Thanked 120 Times in 52 Posts

Thanks for this.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 01-10-2008, 05:55 PM
Green Apple
 
Join Date: Nov 2007
Posts: 39
Thanks: 4
Thanked 3 Times in 3 Posts

thanks
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 01-10-2008, 11:03 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 14 Times in 6 Posts

You're welcome!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 01-11-2008, 08:04 AM
Green Apple
 
Join Date: Nov 2007
Posts: 54
Thanks: 2
Thanked 1 Time in 1 Post

Now, what we need, is for someone to create a new iPhone app, that with a single click, would copy ALL of those files and store same on our desktop (Mac + PC) so that the chores of digging and copying could be automated.

Any takers on that one?

Jim
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 01-11-2008, 11:46 AM
iPhone? More like MyPhone
 
Join Date: Jan 2008
Device + Firmware: iPhone 8GB 1.1.2 JB
Operating System: Tiger|Windows XP Pro SP2
Location: Room № #5170, The Cube ₪ Non-Domiciled VIP resident of Club Tech Noir, Electric Avenue
Posts: 134
Thanks: 21
Thanked 12 Times in 11 Posts

i dont know if this would work, but i used openssh to wirelessly mount my iphone on my mac desktop and then i copied all the folders and entire contents to a backup folder.

some files nad folders said i didnt have permission, but 98 percent of it all copied ok. hopefully i can restore all those if i need to.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 01-11-2008, 12:05 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 14 Times in 6 Posts

Quote:
Originally Posted by Quaddy View Post
i dont know if this would work, but i used openssh to wirelessly mount my iphone on my mac desktop and then i copied all the folders and entire contents to a backup folder.

some files nad folders said i didnt have permission, but 98 percent of it all copied ok. hopefully i can restore all those if i need to.
Hmm....I use WinSCP and not wirelessly so I am not sure about the outcome of that. Most people connect via WinSCP Or Ibrickr I believe to accomplish this...Interesting to know if your method works as well cause when I use WinSCP using a direct connection with the USB cable I don't get those errors you mention.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 01-11-2008, 12:25 PM
iPhone? More like MyPhone
 
Join Date: Oct 2007
Posts: 100
Thanks: 1
Thanked 12 Times in 10 Posts

I don't think a straight copy from WinSCP would work, (at least on a Windows machine) because it would not store all the file permissions. When you went to copy back, I think your permissions would be wrong (like executables would not be executable, etc...)

I guess you could set all the files to 0755 ??? or all permissions ....

I guess you could tar the entire device and copy over the tar, but you would need a lot of free space.

OR am I missing something. Can you tar to a remote location, can you map a share on the iPhone to a remote machine? A Windows machine?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 01-11-2008, 01:44 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 14 Times in 6 Posts

Well for WINSCP. I have done a straight copy from WinSCP to my desktop for NOTES, CALENDAR, ADDRESSBOOK and SMS. And then back again without any problem or change of permissions...

Remember, I'm talking about your DATA not the actual App to be backed up here...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 01-11-2008, 01:53 PM
iPhone? More like MyPhone
 
Join Date: Oct 2007
Posts: 100
Thanks: 1
Thanked 12 Times in 10 Posts

I was referring to Quaddy entire backup method. I think the default permissions from WinSCP would be fine for dbs, I more was saying as a 'complete' backup/restore method, copying all the files would probably not work. For example, any 3rd party apps copied from Applications and back again would not (by default) have the right permissions, (at least in Windows). Probably on a Mac or other unix type box the winscp would work since the permissioning system is the same, (but that is a guess, I haven't tried it).
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 02-25-2008, 03:39 PM
b-ballstyle's Avatar
iPhone? More like MyPhone
 
Join Date: Dec 2007
Posts: 154
Thanks: 6
Thanked 11 Times in 10 Posts

Can anyone post me please a blank notes.db file who is located in var/mobile/library/notes for 1.1.3 or in var/root/library/notes for 1.1.2 and lower...!!! Thanks
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 03-01-2008, 07:06 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

Hey Sony311, great tip!!

It worked for me on FW 1.1.2, but when I tried to restore my backup to FW 1.1.4 didn't work... after a little time I discovered that the files need to be in the following path:

/private/var/mobile/Library/... instead of /private/var/root/Library/...

i.e.
AddressBook is into:
/private/var/root/Library/AddressBook
now (1.1.4, and I believe in 1.1.3 too)
/private/var/mobile/Library/AddressBook

and through the WinSCP, for example, just drop and copy your backup
For the contact list, you need to reboot your iPhone.

I hope to help somebody

see u!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 03-06-2008, 10:44 PM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.4
Operating System: OSX 10.5
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

after i put the address book files from phone to my computer, I tried to open them with address book on my mac, it said no cards were added.

why would I want to do this? because I imported contacts from sim to iphone with simport, now I want them to be on my mac too, and after I sync with itunes they don't show up in my macs address book and my macs contacts dont sync to my phone. any ideas?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 04-01-2008, 08:10 PM
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi
I'm in NZ and have Russian friend with a 1.0.2 iPhone, it must be jailbroken because it runs on the NZ Vodafone network no problem. It doesn't have installer however. I'd like to update him to 1.1.4 but I want to back up his files and contacts first. So, my questions are:

1. Is there a way to get access to a 1.0.2 phone without losing anything (i.e. via SSH, or can SSH be installed without hosing the data)?
2. Will the backups I make be compatible with 1.1.4, i.e. can I just copy them back?
3. Failing 1 & 2 above, can I backup his data onto MY computer via my iTunes and restore it once I've upgraded his phone? I dont want his contacts in my Address Book and vice versa...

Any advice greatly appreciated

cheers
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 04-26-2008, 10:33 PM
yankeeland's Avatar
What's Jailbreak?
 
Join Date: Dec 2007
Device + Firmware: iphone 1.1.4
Operating System: Windows XP
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts

I've been successful in the past putting the contacts back into the phone, but for some reason I can't seem to get done this time around. I have tried different ways with negative results. I tried

/var/root/Library/AddressBook

/private/var/mobile/Library/AddressBook

/var/mobile/Library/AddressBook

None of this different path shows my backups in the phone. Any suggestions?
I don''t know how it happen but I was about to send a text to my wife and instead of manually insert her # I happened to press the + sing for contacts and all my contact info was there, what a relief!

Last edited by yankeeland; 04-27-2008 at 09:33 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > General iPhone Chat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 01:22 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top