Return to site

Backup Failed Mac

broken image


Click on Use Disk. It's in the lower-right corner of the dialog box. Check Back Up Automatically in the left pane of the dialog box if you want your Mac to back up at regular intervals. Check Show Time Machine in menu bar to create a shortcut in the menu bar to Time Machine preferences and backup status. Step 1: Launch the Stellar Data Recovery Professional software on a working MacBook, iMac, or Mac mini. Step 2: From the software's home screen, click the Click here link present at the bottom-left corner or go to More Tools. Step 3: From the dialogue window, select the USB flash.

Ever experienced a hard disk failure and then to realised you have not backed up a single file since forever?

Recently, one of my team member's iMac crashed. It was shut down but was never able to boot up ever since. Turn on the Mac, the Apple logo flashes and the progress bar moves. And boom, it shuts down automatically.

Enter Recovery Mode

Boot up your Mac and press CTRL + R before the Apple logo to enter recovery mode.

My first move is do a quick fix to the hard disk. I launched Disk Utility in Recovery Mode and did a disk repair. But disk repair could not be completed. In the midst of the process, it displayed a message citing an input/output error.

Backup options in Recovery Mode

Now, we are talking about backing up your hard drive in recovery mode. Time machine is out of the question here.

TLDR; I eventually went with backing up the files via the cp command – a simple copy and paste available in all UNIX based machines. It worked perfectly! I first used use the dd command – a sector by sector backup tool, but the files inside the recovered hard disk were seemingly damaged. Target Disk Mode was not available and Disk Utility failed for me.

1. Target Disk Mode

This is probably the easiest method. Target Disk Mode lets you access and backup your files from another Mac, as if there are on an external hard disk. However, you would need a Thunderbolt 2/FireWire cable and another Mac.

Simply connect your two machines via the cable, restart your non-working Mac and boot it up in Target Disk Mode by pressing on the T key.

In my case, we didn't have the cable, so this option was out.

2. Disk Utility

The idea here is to create an image of my Mac using Disk Utility and save it on my external hard disk.

For me, after running the imaging process started for a few minutes, about 10%, it stopped. Disk Utility displayed a message, 'Unable to create Macintosh HD.dmg. (Input/output error)'.

3. DD UNIX Command

After much research on the web, I came across a third option – the dd command tool. Compared to Disk Utility, this is a much more ancient tool and is only available via the Terminal.

This is the command, which I got from AskDifferent, where if=/dev/disk0 refers to the source that dd is cloning from and of/=dev/disk2 is the destination. I don't know much about setting the right byte sector, so I left it as bs=128m.

In order to know which is your Macintosh HD and which disk is your external hard disk, you would need to get the identifiers via the diskutil tool.

In you existing Terminal session or open a new tab for a new session, enter the command diskutil list and all the drives attached to your Mac will show up in a nicely formatted way.

From the list you can identify which hard disk you will be accessing.

Along the way while I was using dd, there are some other things you may encounter, such as resource busy message, or you might just be wondering what's the progress of the cloning. I've shared them below.

Resource Busy

Mac Backup On Windows

If you encounter resource busy message like this, you may need to unmount your disk. Enter diskutil unmount /dev/disk5 in your terminal.

Checking progress of dd

Here's how to check if your dd is still running, enter kill -INFO $PID, or simply press CTRL + T How to upgrade my browser on mac.

Backup Failed Mac

Keep your Mac awake with caffeinate

This prevents your Mac to sleep, while you recover your hard disk. Strangely, this command didn't work for me. The iMac still sleeps, or at least the display is still being turned off from time to time.

  1. Open a new tab in Terminal with CTRL + T
  2. Enter caffeinate &

To disable it, enter killall caffeinate. This command only works with OS X 10.8 Mountain Lion and above.

4. ddrescue UNIX Command

While dd runs, I found another tool, ddrescue – which is made for data recovery purposes.

Learn how to use ddrescue at Learn UNIX.

Post Backup

After running the dd command for almost 48 hours, the cloning process has finally completed. Happy and excited, I took the backup drive and plug it into a working Mac and I saw this message.

Scary. But I didn't care and proceed to check out the files inside. All was good, every file and folder was cloned. I tried to open one of the image file and I got a 'The file could not be opened error…' message.

That was the end of it. I couldn't figure what I went wrong. Was it a wrong parameters when I executed the dd command or was it simply bad sectors in the hard disk.

5. cp – UNIX command

After that nasty dd experience, I sought a simpler solution. Just copy and paste! Download adobe premiere free on mac.

This is the command, where /Volumes/Macintosh HD/Users/user-name is the source and /Volumes/Backup is the destination. The parameter -r means to copy recursively including the files inside each subdirectory. -v is to enable verbose mode, so that I can see all the details while the command is running.

Find Backups On Mac

For more other parameter options, head to Tutorials Point.

Mac Passport Backup Failed

cp is a life saver

You may notice that I set the source path as my home folder instead of the root folder. I figured that the important files are all inside my Desktop, Downloads, Documents, the rest are already synced to the cloud.

If you're like me, save yourself time, skip the full backup. My goal was to do a full system backup so that I can quickly restore the Mac back online. In my case, the dd command took 48 hours to clone the entire 1TB worth of data, while backing up the selected files and folders worth 120 GB only took 2 hours.

As it turns out, it was faster to restore my home folder, reinstall the Mac OS and all other apps. It was all complete in about 4 hours. Descargar adobe premiere pro cs6 para mac.

Backup Failed On Mac

cp is a life saver.





broken image