The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | 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 (permalink)  
Old 01-10-2008, 03:09 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 11 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 6 Users Say Thank You to Sony311 For This Useful Post:
dontevenfucwitme (02-09-2008), fishtail (06-07-2008), fmtakaki (03-01-2008), IvanB (01-10-2008), keviNNz (06-21-2009), MaxRabbit (12-28-2008)
  #2 (permalink)  
Old 01-10-2008, 04: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 (permalink)  
Old 01-10-2008, 04: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 (permalink)  
Old 01-10-2008, 10:03 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 11 Times in 6 Posts

You're welcome!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 01-11-2008, 07: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 (permalink)  
Old 01-11-2008, 10: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 11 Times in 10 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 (permalink)  
Old 01-11-2008, 11:05 AM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 11 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 (permalink)  
Old 01-11-2008, 11:25 AM
Green Apple
 
Join Date: Oct 2007
Posts: 96
Thanks: 1
Thanked 10 Times in 9 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 (permalink)  
Old 01-11-2008, 12:44 PM
Green Apple
 
Join Date: Nov 2007
Posts: 85
Thanks: 1
Thanked 11 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 (permalink)  
Old 01-11-2008, 12:53 PM
Green Apple
 
Join Date: Oct 2007
Posts: 96
Thanks: 1
Thanked 10 Times in 9 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 (permalink)  
Old 02-25-2008, 02: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 (permalink)  
Old 03-01-2008, 06: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 (permalink)  
Old 03-06-2008, 09: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 (permalink)  
Old 04-01-2008, 07: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 (permalink)  
Old 04-26-2008, 09: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 08: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

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 09:34 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408