

If Time Machine was active before the data loss incident took place, then it’s very likely that your files are safely backed up on your Time Machine backup disk, and you can restore with a few clicks.Īpple offers complete instructions to help you restore your Mac from a Time Machine backup. If the three data recovery methods described above has delivered the results you were hoping for, then there’s still some hope left because all Macs come with built-in backup software called Time Machine. Method 4: Use a recent Time Machine backup

It then takes just one more command it install TestDisk itself: brew install testdiskĮven though TestDisk is a command-line software application, it offers a straightforward step-by-step data recovery process that can be summarized in just a few steps: To do that, just enter the following command in Terminal: /bin/bash -c "$(curl -fsSL )"

What you need is specialized partition recovery and repair software like TestDisk, which runs directly in the Terminal app.īefore you can install TestDisk, you first need to install Homebrew, a free and open-source software package management system for macOS. When dealing with damaged or lost partitions, simple Terminal commands are not enough to save the day. Method 3: Restore lost partitions with TestDisk Method 2: Recover deleted files with data recovery software. If it doesn’t show up in the prompt window, use the search bar with its name to locate it. You should see the deleted file in Finder. You must use the full file name in the command line for this technique to work.

