error restoring a single file from Time Machine

Accidentally over-wrote a file, so went back in Time Machine a few hours and found the original file and asked Time Machine to restore it to the original location. Received an error: "The operation can't be completed because an unexpected error occurred (error code 0)." The file appeared in grey, but once I clicked OK it disappeared. Never had any problems before.

MacBook Pro 13″, OS X 10.11

Posted on Jun 16, 2024 12:16 PM

Reply
4 replies

Jun 17, 2024 7:38 AM in response to Grant Bennet-Alder

if you can't just 'thump on it and get it to work' then the plan of attack changes. Now you want to think about what parts you could substitue on each side to get a different result, to figure out what's going on.


source file: can you restore a different nearby file to that same directory under the same conditions? That might implicate a damaged backup file.


Destination directory:

Can you create NEW file with the same name in the destination directory? (Textedit can create a text file, then you can change its extension.)

Can you restore your backup file on top of that temporary file, over-writing the hand-created temporary file?

Can you restore your backup file, but to a different folder on the drive, or inside a new folder at that location?


these might indicate the folder is restricted or damaged somehow.


if you suspect a damaged directory, Disk Utility Repair disk is the guy who fixes those.

error restoring a single file from Time Machine

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.