Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the backup is corrupted after deleting some files #33

Open
moelbanna-bot opened this issue Oct 9, 2023 · 12 comments
Open

the backup is corrupted after deleting some files #33

moelbanna-bot opened this issue Oct 9, 2023 · 12 comments

Comments

@moelbanna-bot
Copy link

I made a backup for my iPhone and somehow it was bigger than available storage even after erasing my iPhone so I tried this tool to delete some image folders and and now I get an error that the backup file is corrupt.

@MaxiHuHe04
Copy link
Owner

That's unfortunate. You probably deleted some system files. The program backs up deleted files separately, but there is no straight-forward way to recover them yet. And the problem is that I have not yet identified which files really need to exist for iTunes to recover a backup.

Did you make a copy of the backup before you deleted the files?

@moelbanna-bot
Copy link
Author

yes I made a copy of it
but it's large so I can't restore it anyway

@moelbanna-bot
Copy link
Author

any tips on how to delete images safely ?
and after the delete a generated file named "_BackupExplore" , should I keep it or delete it from the backup path?

@MaxiHuHe04
Copy link
Owner

MaxiHuHe04 commented Oct 9, 2023

Okay, that's good. Then you could try it again with a new copy.
The easiest then probably is searching for the largest files in the File Search tab. Type in % in both text boxes, click on Search and sort the table by file size (click twice on Size). Videos and photos should be safe to delete, but if you post a screenshot of the largest files, I could try to make a recommendation of which to delete.

@moelbanna-bot
Copy link
Author

here is a screenshot of the file search
Screen Shot 2023-10-10 at 1 40 12 AM

@MaxiHuHe04
Copy link
Owner

MaxiHuHe04 commented Oct 9, 2023

The folder _BackupExplorer is where deleted files are moved to. If you have another copy of the backup, you could delete it, but iTunes normally just ignores it.

@MaxiHuHe04
Copy link
Owner

MaxiHuHe04 commented Oct 9, 2023

That looks interesting. How much storage does your phone have and how large is the backup?

I would begin by deleting the first 10 video files (.MOV/.mov, but be sure to keep Photos.sqlite) and try recovering the backup to the phone again. If that is not enough, continue with the .mov files.

@moelbanna-bot
Copy link
Author

After erase 12 GB are reserved for system and the remaining is about 52 GB , the backup size is about 56 GB

thank you for your reply.

@moelbanna-bot
Copy link
Author

UPDATE:
I have deleted most of the videos and the actual size of the file is reduced to 32 GB but still gets an error that is not enough storage on my iPhone despite having 51 GB free.

@moelbanna-bot
Copy link
Author

UPDATE:
so i tried to make a new backup with only 4 images on my iphone to see if deleting them would affect the backup file and it was corrupted after deleting them (btw i'm running ios 17.0.3).
any thoughts?!

@MaxiHuHe04
Copy link
Owner

Strange. Was it really only .heic/.jpg files you deleted? Are you sure you tried to recover the right backup? Otherwise you could move the other one somewhere else.

@accwebs
Copy link

accwebs commented Oct 28, 2024

Possibly affected by the same issue I was. See #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants