Mac – Trouble repairing a corrupt Time Machine sparsebundle on Synology NAS

backuphigh sierranasterminaltime-machine

I am having difficulty repairing a Time Machine backup. After upgrading from Sierra to High Sierra, the Mac had difficulty finishing Time Machine backups to the Synology NAS. Ultimately the Mac itself would not reboot and the hard drive was wiped with Sierra reinstalled at the Genius Bar. (I was confident I had backups via the NAS). When I tried Migration Assistant I notice that the backup is "Amanda's Macbook Pro.purgeable".

enter image description here

The backup is encrypted (as I had set up.) I enter the encryption code and get the error "Some backups cannot be opened." Then I notice that it says there are "no volumes found in backup".

enter image description here

I then leave migration assistant and go into the backup folder on the NAS. I find the folder "Amanda's Macbook Pro.purgeable.sparsebundle".

enter image description here

In it there are a number of files and a very large "bands" folder.

enter image description here

The whole backup folder is 800+ GB which is about right for my MacBook Pro, so I know the information must be in there.

I make a copy of the entire backup folder to a separate drive so that I have a backup of the backup that is untouched.

I tried using the Terminal commands that many have outlined and had success with. I run into trouble halfway through this process.

after sudo su – I perform chflags -R nouchg on the sparsebundle folder which takes a little time and then completes.

After, I perform hdiutil attach -nomount -readwrite -noverify -noautofsck on the sparsebundle folder

enter image description here

Here is where it seems to deviate from everyone else's experience. Instead of the "GUID_partition_scheme" and "Apple_HFS", it only gives the disk name
/dev/disk1

I run the fsck_hfs -drfy /dev/disk1 and even fsck_hfs -p /dev/disk1 and I get a very fast process (less than a second, rather than the several minutes to hours) and no mention of a volume being repaired or not repaired.

enter image description here

I unmount and try to use the backup but still cannot and it doesn't look like the folder was changed at all. I tried DiskWarrior on this as well (to a copy of the copy that I made to a second external HD) and still having issues.

Does anyone have any advice? I would appreciate any help! All of my children's photos are on this from the past 2 years and I would hate to lose them all.

Thanks!

Best Answer

I got this error message when I tried to restore from my Synology. But I found this

http://thefunkstop.com/fix-corrupted-time-machine-backups/

Turns out that that the "Time Machine user" was never disconnected when my last backup was interrupted. I had to manually disconnect the user and then everything worked when I tried again. But I think it should work by restarting the NAS as well. I hope this can help...