GithubHelp home page GithubHelp logo

Comments (3)

mexmer avatar mexmer commented on June 20, 2024

Snapshot folder remains, when backup fails. From my experience, if you do same thing on windows, when doing backup trough Apple iTunes application same thing can happen, if you for example disconnect phone during backup. then you get funny error in desktop application, you need to search on their website for help.

probly best course of action will be, if idevicebackup app search for "snapshot" folder prior sending request to device and delete it's contents to prevent this error. other possibility will be to delete folder after failed backup.

mind whole backup process is controlled by device, not by idevicebackup2, it only connects to backup service inside phone, and phone tells it, what to do.

from libimobiledevice.

niels-beier avatar niels-beier commented on June 20, 2024

other possibility will be to delete folder after failed backup.

This doesn't help, since when removing the folder and retrying the backup the same error occurs again. The device is also connected at all times, I also used all cables I got to prevent some of them being broken.

from libimobiledevice.

mexmer avatar mexmer commented on June 20, 2024

other possibility will be to delete folder after failed backup.

This doesn't help, since when removing the folder and retrying the backup the same error occurs again. The device is also connected at all times, I also used all cables I got to prevent some of them being broken.

did your previous backup ended with success, if you do full backup and it succeed, there should be no Snapshot folder inside your device backup folder, and incremental backup afterwards should succeed.

as for test.
do backup to some new folder (you can actually set backup root on your disk on idevicebackup2 commandline). open backup folder (targetpath/UDID) and check, if there is Snapshot folder present. if Snapshot folder is present, then your backup didn't finish properly.

if you go by timeline of device backup
computer ask device to do backup, and sends target location on disk, where it should be placed
device asks about content of targetfolder/udid, device asks about free space
device sends status.plist (where is write current backup status)
device then ask computer to create targetfolder/udid/SnapShot folder
device then ask for creating subsfolders, and sends files that are backed up
device creates manifest database, and send it to computer
device asks computer to move content of shapshot folder to main folder
devices asks computer to delete snapshot folder (which should be empty at that time)
device sends manifest.plist
device sends again status.plist with status finished

from libimobiledevice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.