Open legaspacho opened 3 years ago
iOSbackup is trying to export it because it appears in the catalog. It is very strange it appears in the catalog but doesn't exist in the backup.
Do the following to try see the iOS file name for this faulty backup file:
from iOSbackup import iOSbackup
b=iOSbackup(udid="000…2E", derivedkey="f6…ff")
files=b.getBackupFilesList()
for f in files:
if f['backupFile']=='7831d13dae1b030538542eec78e456049beebf23':
print(f"{f['backupFile']}: {f['name']}")
Then add it to excludeFiles
like this:
b.getFolderDecryptedCopy(
'Media',
targetFolder='restored-photos',
includeDomains='CameraRollDomain',
excludeFiles=['%.MOV', '%file-found-above.gif']
)
Let me know what you've found, maybe this is something I'll need to fix in the original code.
In a few weeks I'll be releasing a new package that extract photos and videos from your backup in a curated way. It will use photo caption, face names, places, stories and albums you have tagged in your media to give you well tagged and nicely renamed files like:
2020.10.22-17.34.52 ★ Clara playing with water 【Avi Alkalay·︎iPhone 11 Pro】.jpg
2020.10.25-22.30.47 ▶️ Sun rise 【Avi Alkalay·︎iPhone 11 Pro timelapse】.mov
2020.10.27-11.41.02 • Beach in Guarujá 【Avi Alkalay·︎iPhone 11 Pro】.heic
Hi avibrazil,
I edited the code to exclude the file found but it still does not work. I will wait for your next release to have it working.
Looking forward to the update !
This "next release" is actually a different project. But I'll let you know here.
Hi,
First of all, thank you for the code it is exactly what I have been looking for for a couple of days! I tried to run the code for a few different backups in order to extract my photos from them. It worked well for 2/3 of my backups.
I am basically running the following code with the correct key and udid:
For one of the backup I am getting the following error:
This file does not exist in the marked folder but I am unsure 1) why it is looking to open it and 2) if there is a way it could be ignored.
Thanks,