#214 ✓invalid
boxingsquirrel

idevicebackup2 doesn't restore a backup to a device successfully

Reported by boxingsquirrel | 2011-04-30 22:21:34 UTC | in 1.2.0 Release

After backing up the device using idevicebackup2, I restored a fourth-generation iPod touch to iOS 4.3.2. When running 'idevicebackup2 -d restore --system --reboot --settings .', all the files from the backup folder appear to be sent over and success is reported (see attached file for output), but the device still behaves as normal, and no music, videos, photos, applications, etc. were transfered. The iPod has never been jailbroken (if that makes any difference).

Comments and changes to this ticket

  • Martin S.

    Martin S. 2011-04-30 23:43:53 UTC

    • State changed from “new” to “open”
    • Milestone set to “1.2.0 Release”
    • Tag changed from “backup, idevicebackup2, restore” to “ios 4.3.2, ipod touch 4g, backup, idevicebackup2, restore”
    • Assigned user set to “Martin S.”
    • Milestone order changed from “190920” to “0”

    Thanks for testing out idevicebackup2. The log indeed shows that everything was fine during restore.
    Our testing showed that restore worked fine on an iPad with iOS 4.3.1.

    I am not sure if a native backup includes music and videos though (i think iTunes just syncs this from your local music library), but it contains photos and applications for sure and should restore those.

    Did your device reboot after the restore?

    Perhaps altering the options to restore might help as we might simply have misinterpreted those (especially the system and settings options).

    Also run "idevicebackup2 unback " and check the backup folder afterwards. It will contain the files of the backup and you'll see what the device restores. Check if it contains what you wanted to backup.

  • boxingsquirrel

    boxingsquirrel 2011-05-01 17:00:25 UTC

    • Tag changed from “ios 4.3.2, ipod touch 4g, backup, idevicebackup2, restore” to “ios 4.2.1, ios 4.3.2, ipod touch 2g, ipod touch 4g, backup, idevicebackup2, restore”

    Think you're right about music and video; my bad.

    Files are there after running idevicebackup2 unback on the backup. The device reboots, but no data is present. Tried the same thing with an iPod touch 2G, and encountered the same thing (that device is on 4.2.1).

  • boxingsquirrel

    boxingsquirrel 2011-05-01 17:34:39 UTC

    Actually, I just realized that applications themselves appear to be missing from the backup, unless I missed them somehow...

  • macshome

    macshome 2011-05-13 16:24:54 UTC

    The applications aren't backed up from the devices. The Apple restore process relies on syncing media and apps back from the library.

    You get the same results when dumping out an iTunes created backup.

  • boxingsquirrel

    boxingsquirrel 2011-05-15 03:02:29 UTC

    It still isn't restoring files that actually are in the backup...I realized that after I started looking...

  • macshome

    macshome 2011-05-27 15:28:56 UTC

    Which filés aren't making it back onto the device?

    I setup a 3GS with 4.2.1 and no jailbreak. I installed a few apps and some media. Then I file shared some images into AirSharing and ran a backup with idevicebackup2.

    The app domain files were backed up. I then removed AirSharing, then did a restore. As expected the app was still gone. After I reinstalled AirSharing it had the documents from the backup ready to go.

    Granted this is a tiny little restore test. I can try a bigger device load if you want.

    I've attached my shell output. I'm running Mac OS X 10.6.7 and libimobiledevice 1.1.1.

  • Martin S.

    Martin S. 2013-01-07 22:40:31 UTC

    • State changed from “open” to “invalid”

    From what we know, the backup process does not save more than the app's documents and no media/music (or basically what is related to the iTunes Library). Please test with the latest idevicebackup2 as it received a couple of changes.

    Feel free to reopen if you still encounter the issue and please describe which files don't make it on the device if possible.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

People watching this ticket

Attachments

Pages