-
Mount TimeMachine volume from Finder.
-
Unlock Target Machine's Backup sparsebundle.
sudo chflags -R nouchg /Volumes/{TimeMachine Volume Name}/{Target Machine's Name}.sparsebundle
-
Attach sparsebundle then Listing Backup Volume.
hdiutil attach -nomount -noverify -noautofsck /Volumes/{TimeMachine Volume Name}/{Target Machine's Name}.sparsebundle
-
Repair backup volume.
fsck_hfs -drfy /dev/disk2s2
- Note: (Mojave~)
Before running this command, you need to add/sbin/fsck_hfs
toSystem Preferences -> Security & Privacy -> Full Disk Access
.
- Note: (Mojave~)
-
Detach backup sparsebundle.
hdiutil detach /dev/disk2s2
-
Fix TimeMachine state flag in following file.
/Volumes/{TimeMachine Volume Name}/{Target Machine's Name}.sparsebundle/com.apple.TimeMachine.MachineID.plist
-
Delete following lines.
<key>RecoveryBackupDeclinedDate</key> <date>{Date}</date>
-
Replace following lines.
<key>VerificationState</key> <integer>2</integer>
to
<key>VerificationState</key> <integer>0</integer>
-
-
That's all!
Last active
April 10, 2019 02:55
-
-
Save Mossuru777/eb2c2438f7aada54088b to your computer and use it in GitHub Desktop.
Repair TimeMachine Backup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment