+ Reply
Page 1 of 2 12 LastLast
Results 1 to 20 of 28

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [HOW TO]: Manual Backup of your iPhone Files

is a discussion within the

General iPhone Chat

forums, a part of the

iPhone Modding

section;
...
  1. #1
    Green Apple
    Join Date
    Nov 2007
    Posts
    85
    Thanks
    1
    Thanked 16 Times in 6 Posts

    Default [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
    1.1.2FW w/ 4.02.13_G Baseband. Rock Solid!

  2. The Following 11 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), krustypinoy (04-11-2011), MaxRabbit (12-28-2008), pbateman420 (12-11-2009), SubCool (08-31-2009), teme (10-09-2009)

  3. #2
    iPhoneaholic IvanB's Avatar
    Join Date
    Nov 2007
    Posts
    347
    Thanks
    47
    Thanked 122 Times in 52 Posts

    Thanks for this.
    iPhone FW 2.2.1, Jailbroken and Unlocked!

  4. #3
    Green Apple
    Join Date
    Nov 2007
    Posts
    42
    Thanks
    4
    Thanked 3 Times in 3 Posts

    thanks

  5. #4
    Green Apple
    Join Date
    Nov 2007
    Posts
    85
    Thanks
    1
    Thanked 16 Times in 6 Posts

    You're welcome!
    1.1.2FW w/ 4.02.13_G Baseband. Rock Solid!

  6. #5
    Green Apple
    Join Date
    Nov 2007
    Posts
    55
    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

  7. #6
    iPhone? More like MyPhone
    Join Date
    Jan 2008
    Posts
    232
    Thanks
    51
    Thanked 40 Times in 34 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.

  8. #7
    Green Apple
    Join Date
    Nov 2007
    Posts
    85
    Thanks
    1
    Thanked 16 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.
    1.1.2FW w/ 4.02.13_G Baseband. Rock Solid!

  9. #8
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    102
    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?

  10. #9
    Green Apple
    Join Date
    Nov 2007
    Posts
    85
    Thanks
    1
    Thanked 16 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...
    1.1.2FW w/ 4.02.13_G Baseband. Rock Solid!

  11. #10
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    102
    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).

  12. #11
    iPhone? More like MyPhone b-ballstyle's Avatar
    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

  13. #12
    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!

  14. #13
    What's Jailbreak?
    Join Date
    Mar 2008
    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?

  15. #14
    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

  16. #15
    What's Jailbreak? yankeeland's Avatar
    Join Date
    Dec 2007
    Posts
    28
    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.
    8g iphone 1.1.4
    Win XP

    People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf.

  17. #16
    What's Jailbreak?
    Join Date
    May 2008
    Location
    West Palm Beach,Fla.
    Posts
    1
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Now thts what i call an informative post! thanks sony!

  18. #17
    AXN
    AXN is offline
    What's Jailbreak? AXN's Avatar
    Join Date
    May 2008
    Location
    Costa Rica
    Posts
    27
    Thanks
    4
    Thanked 58 Times in 4 Posts

    You can also use Total Commander v7.03 prog. Works great.

    Cheers,

    Quote Originally Posted by Sony311 View Post
    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!

    Address Book
    /var/root/Library/AddressBook/AddressBook.sqlitedb AND
    /var/root/Library/AddressBook/AddressBookImages.sqlitedb
    First thank you for the tip.

    I only see /var/root/Library/AddressBook/AddressBook.sqlite
    the /var/root/Library/AddressBook/AddressBookImages.sqlitedb is not there.

    Maybe in another location.

    BTW: Nice program to use for PC is Total Commander. Works great!

    Cheers,
    Last edited by AXN; 06-18-2008 at 06:16 PM. Reason: Automerged Doublepost

  19. The Following User Says Thank You to AXN For This Useful Post:

    vincent_tham (08-14-2008)

  20. #18
    What's Jailbreak?
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    i tried doing all this but now i am facing a problem my contacts are not smooth as soon as i try browsing them my i return to my home page and even i cannot browse my call history. and my battery is also getting consumed at a very rapid pace
    and i also face the problem of very less network strength
    kindly help i am very much distressed.

  21. #19
    What's Jailbreak?
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Try zane.zkcreations.net (its my site). I just made a easy tutorial for it. @ramandipak
    I dont think restoring the data will affect anything. I have never heard a problem like yours ever.

  22. #20
    iPhone? More like MyPhone MaxRabbit's Avatar
    Join Date
    Mar 2008
    Location
    PA
    Posts
    272
    Thanks
    199
    Thanked 15 Times in 10 Posts

    This is still an immensely helpful post. This should be stickied or put into the "Restoring a Jailbroken iPhone made Painless (relatively)" sticky

    Just my opinion based on how valuable it's been...

    The only thing is: for 2.x firmware it's //var/mobile/library rather than //var/root/library.
    Last edited by MaxRabbit; 12-28-2008 at 07:57 AM.

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