Time Machine not working with Yosemite

I recently upgraded (clean install) from OS X Mavericks to Yosemite. Before upgrading, I backed up my MacBook Pro via Time Machine on a network server (QNAP.) Yosemite is up and running now, however, I am unable to access folder history via Time Machine. Yosemite recognizes the historical backups, however, when I select a specific date in Time Machine, nothing happens.


Is anyone else experiencing this?

MacBook Pro, OS X Yosemite (10.10)

Posted on Oct 16, 2014 10:56 PM

Reply
334 replies

Nov 21, 2014 5:45 AM in response to bbuchanan3

I've lost all my backup history from april-2014. Even after reformatting the disk, TimeMachine under Yosemite behaves erratically, doesn't go back, doesn't respond to clics on tabs or buttons... In a totally new backup, with a history of two days.


Apple is becoming the worst software company in the industry in the late times. I simply can't figure out how this thing of Yosemite has been released. Really, beyond the dysfunctional design, where's the QA at Apple?


DO NOT UPGRADE. Stay on Mavericks.

Nov 21, 2014 6:55 AM in response to AHappyMacUser

I contacted Applecare about the Time Machine problem in Yosemite 10.10.1 on 11/18 (can't go back more than a couple of backups). Apple senior support rep did some screen sharing so I could demonstrate the problem and collected some log files from my iMac. The next day, I got a call back from Apple stating that they agreed that there is a problem with Time Machine for some users in Yosemite. The bad news us that there will be no fix until the next Yosemite update (10.10.2 ?). In the interim, you can manually restore files from the Time Machine using Finder.

Nov 21, 2014 7:47 AM in response to John Gruver

Re: John Gruver comment...By all means do not erase your Time Machine Backup File, reformat your drive, etc. because you will no longer be able to restore any historical save that you made in days, months, years ago will be lost forever. He is correct in saying that there are work arounds to getting this data back (re: Linc Davis comment) and in time, Apple will correct the issue. I have several large backup devices. If you have only one device and it is almost full, remember that Time Machine is erasing old and adding new, in this case you may want to add a new one or turn time machine off and save any important items the old way until 10.10.2 comes out a month or so from now. Just a thought.

Nov 21, 2014 10:28 AM in response to John Gruver

Yes, it's true. TimeMachine has no problems in making the backup. It's the new interface that can't navigate properly the backup history.


But really, I can't understand the new Apple priorities. So much work in this terrible interface and they release the final version —even the .1 version—, with such an error in a critical component as is the backup system.


Quosque tandem, Apple, abutere patientia nostra?

Nov 21, 2014 4:08 PM in response to AHappyMacUser

I am using Time Machine on Mavericks, so this may not be relevant. However, both solutions worked so well, I thought I might share. There are tricks to make Time Machine work that may be applicable (NB This is only for Time Machine on NAS drives). If you get stuck forever at Preparing Backup, then mount the Time Machine so you get all the way to the .dmg. Mount that. If you see an xxx.inprocess, that is what is killing you. Use sudo rm -rf to nuke that thing. Sometimes it complains when you try that. You can also drag that .inprocess to the trash and empty. Both these operations will take a while. Note, one side effect is that Time Machine will never give the correct amount of space left on the drive again. Oh well.


One way to avoid Time Machine issues, is to try to avoid a situation where you start a backup, and then move the computer some place where it does not have wireless or ethernet access. You may want to turn Time Machine OFF when you are away from your network. Make sure that any backup is COMPLETED before you disconnect it. Or tell it to STOP the backup before you move. TM is supposed to know how to deal with this stuff, but I find it doesn't. Causing TM to start and stop leads to misery. The inprocess stuff sometimes fixes itself. Other times you have to force it.


Now, what about a nice big Time Machine (say, a 3 TB capsule) disk that has data that you still want to use but Time Machine has locked it, saying it is corrupt, and wants to erase it and make all new backups. Before you nuke it, or just put it away somewhere as an archive, note that, contrary to the myths, you can fsck a Time Machine volume. The instructions are here:


http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-b ased-backup-errors.html


For everyone's convenience, I have copied the contents of that website below. This worked PERFECTLY for me.


Fix Time Machine Sparsebundle NAS

Based Backup Errors

27.Aug.11


This is a modification of an original post for use when you have a corrupt sparsebundle backup on a NAS (as opposed to an external drive attached to a router) and it needs to be repaired. The NAS is likely a hardware product from the likes of Netgear, Synology, Buffalo or QNap – or for those of us with a home-grown backup server running FreeNAS.

The error you may see is “Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you.” This can be fixed by following the below.

From your Mac, connect to the network share that houses the sparsebundle.

At the top level of the drive are the various sparsebundles that make up your individual computer backups.

Do not double click on these sparsebundles or try to repair with Disk Utility.

Open Terminal and then switch to root by typing

sudo su -

and then enter your password.

The verication that has already run has marked your sparsebundle as bad, so first we need to make it look normal.

From the command line

chflags -R nouchg /Volumes/{name of your network share}/{name of}.sparsebundle

This may take a little while.

Now type

hdiutil attach -nomount -noverify -noautofsck /Volumes/{name of your network share/{name of}.sparsebundle

You will then see something like

/dev/diskx Apple_partition_scheme
/dev/diskxs1 Apple_partition_map
/dev/diskxs2 Apple_HFSX

Where x is the disk id for the external disk. You are interested in the one labeled Apple_HFSX or Apple_HFS. It might be 2, 3, 4 or higher.

At this point, I have found that the filesystem check is already happening. You can check for activity by tail’ing the fsck_hfs.log


NOTA BENE FROM MUNGOBOMB, I had to fsck manually SEVERAL TIMES.

tail -f /var/log/fsck_hfs.log

If fsck is going then in my experience it will be able to repair the sparsebundle. Go away for a few hours and let it chug away.

When it is done, you will either see

‘The Volume was repaired successfully’

or

‘The Volume could not be repaired’

If the latter you can run disk repair again:

fsck_hfs -drfy /dev/diskxs2

(Optionally if you have the available RAM, you can set a RAM cache in the command above to help speed up this command like so:

fsck_hfs -drfy -c 750 /dev/diskxs2

This will use 750MB of RAM – feel free to change this amount to best fit your system (amount of RAM vs size of your Time Machine Sparsebundle). If you are unsure about this, use the first command.

Make sure to replace x with whatever number your disk is from the output above.

The letters “drfy” tell the filecheck utility different things. d for ‘Show Debug’ – r for ‘Rebuild Catalog Tree’ – f for ‘Force’ and y for assume ‘yes’ to any prompts.

Now go do something for an hour or two. Come back and

tail -f /var/log/fsck_hfs.log

If all went well, the last output you will see is

‘The Volume was repaired successfully’

Now you need to type

hdiutil detach /dev/diskxs2

You can redo the above for any other Time Machine sparse bundles you have permission to modify while you have the network share attached to your computer.

Final step.

When complete, you need to edit an plist file within the sparsebundle that records the state of the backup. On the top level of the sparsebundle find a file called com.apple.TimeMachine.MachineID.plist. Edit it and remove these two nodes

<key>RecoveryBackupDeclinedDate</key>
<date>{whatever-the-date}</date>

Finally you want to change

<key>VerificationState</key>
<integer>2</integer>

to

<key>VerificationState</key>
<integer>0</integer>

Now you can eject the network share and have Time Machine give it another go. After the (long) verification step, backups should proceed once again.

Notes:

Ideally this should be done over a gigabit wired network connection. Do not attempt using Wi-Fi. You also want to make sure your machine does not go to sleep during the above operation.

[Update: 1.1.2013]

I appreciate all the warm feedback from people all over the world who have been helped by this post. This site helps to fund my hobbies, so if this post has helped you please consider a USD $1.99 donation to my hobby fund.

PLEASE PLEASE FUND THIS GUY. HE IS A LIFESAVER:

https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=Ntxgb3gK8mBcMxzUXsKrC nUys3ex7h94Sbjp09qgodfLMpWjsmQ-OFIXY6e&dispatch=5885d80a13c0db1f8e263663d3faee8d 66f31424b43e9a70645c907a6cbd8fb4

If that doesn't work, there is a link that says "Donate" on the site.


[Update: 12.23.2012]

If after running the initial

fsck_hfs -drfy /dev/diskxs2

command you get a message in the fsck_hfs.log along the lines of

RebuildBTree – record x in node y is not recoverable.

then try

fsck_hfs -p /dev/diskxs2

followed by

fsck_hfs -drfy /dev/diskxs2

And see if that works. It did for me today.

Nov 24, 2014 12:26 PM in response to AHappyMacUser

I have the same problem with Time Machine. The backups are there on my external disk but I can't access them in Time Machine itself.


In Time Machine all I see is the 'Today Now' folder and all the ones behind it are greyed out and not selectable as though the backups aren't there. Only the desktop and Macintosh HD folders are shown 'going back in time'. When I try to open any other folder the 'back in time' folders disappear and are greyed out again or the view switches back to 'Macintosh HD' and I just see the Macintosh HD folders going 'back in time' again. I tried restarting while holding cmd R to see if I could back up from my Time Machine and I can - the backups are there.


I have tried wiping my external drive and setting up Time Machine again, letting it do a whole backup again and still I have the same problem. I've tried turning Time Machine off, deleting the /Library/Preferences/com.apple.TimeMachine.plist file, adding my disk again but same problem. Now I'm giving up.


I suppose I can access my backups manually and I'm safe if I have to restore the entire system, but it is annoying that I can't restore files from the Time Machine interface and it's doubly annoying because I've been using Time Machine for years under Leopard, Snow Leopard and Lion on my old Mac Mini.


I'm on a brand new Mac Mini running Yosemite 10.10.1 and this is not the only thing I'm finding broken.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Time Machine not working with Yosemite

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