Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Time machine does not back up files after computer crash - only aliases

I very carefully backed up critical files to an external hard drive in my G5 Power Mac using Time Machine in Leopard - then my computer crashed and now I need to recover those files. I am working in Tiger (10.4.11) in my old computer and I see the back up files but they are aliases and when I click or control click I only get a message saying " The volume cannot be found. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again." Obviously I have the drive connected. I can only find aliases using searchlight - the hard drive seems to have by the data somewhere as there is an extra 30 GB of data somewhere on my external drive. The backup file itself only contains 1 GB (vs 30 I backed up). Time machine is not working for me unless someone can explain how I can get to those files.

G5 and IBook G3 with OS 10.4.11, Mac OS X (10.5.1)

Posted on Nov 24, 2007 10:47 AM

Reply
13 replies

Nov 24, 2007 12:27 PM in response to Lawrence B

The problem is that you aren't using Time Machine to retrieve the files, since you are now in Tiger. When Time Machine makes the first backup it copies all the files to the drive. At each subsequent backup it consults a log file telling it what files have been changed since the last backup, and then it copies those files, and those files only, to the backup folder for that date/time. All other files that appear when you open the sequential backup folder are hard links to the files in the original backup folder, rather than the files themselves. Hard links are rather interesting beasts: the Finder interprets them as an alias, but they aren't. Not exactly. As you probably know, when you trash something normally and empty the trash the data is still on the disk, but the "pointer" to the data is removed, so the data can be over-written, and an alias will no longer work, since it pointed to the directory entry. What a hard link is, is another "pointer" to the same data as the original, so if you remove the original directory entry by trashing it, the hard link should still work since it continues to point to the original data, not to the original directory entry for the data, as an alias does. Apple evidently had to do some fancy fixes to use this method in Time Machine and avoid the horror of infinite loops, while keeping the ability to avoid creating grossly huge backups.

I haven't tried using my Time Machine volume in Tiger, so don't know what it would look like there. You might try opening the very first folder created and see if items there show up as "real" files. But it sounds to me like you may have gotten some damage to the backup drive. In Leopard I can open the various Time Machine backups in Finder and copy a file to my Desktop and it copies the "real" file to the Desktop (as it ought) even though what I'm dragging is actually a hard link to the data on the disk. That is, it doesn't matter whether I drag the file from the very first backup or the most recent backup, the file gets copied either way.

It is not clear to me exactly what you are seeing when you open the Time Machine drive. My computer is named "Noobix" and the startup drive backed up on the TM drive is named "Leopard" while the Time Machine drive itself is named "Time"-- and this is the path to the first backup of the Applications folder:

"/Volumes/Time/Backups.backupdb/NoobiX/2007-11-08-054356/Leopard/Applications"

Here's the path to the most recent backup:

"/Volumes/Time/Backups.backupdb/NoobiX/2007-11-23-173818/Leopard/Applications"

The "Noobix" folder inside the "Backups.backupdb" has a separate sub-folder for each instance of a Time Machine backup, plus an alias called "Latest" which points to the most recent backup. If you aren't seeing something like that then you have a problem. If Finder is still showing 30GBs then the data is still there, but you may need to use Terminal to "see" it and get it back.
Francine

User uploaded file
Francine
Schwieder

Nov 24, 2007 12:45 PM in response to Francine Schwieder

Thank you Francine - Time Machine does not run in Tiger so I am looking directly in the "Backups.backupdb" file on the external hard drive to find my back ups and I do see the latest and all the other backups just as you describe. I have tried to open them all but I get the message I noted in my post with every file. I don't know anything about Terminal - how would I go about using that to look for them? I would appreciate any help as I have a lot of work buried in those backups. Thanks again. (I have to work in Tiger because my iBook won't run Leopard - not supported)

Nov 24, 2007 2:53 PM in response to Lawrence B

OK, I just rebooted into Tiger and am looking at the Time drive. It appears that nearly all folders in the actual backup appear as aliases, including things that one would not usually see as folders in the Finder (such as an application, like iMovie for instance). However it is perfectly possible to follow the alias links down to the level where one gets to actual files, and then to copy the file into Tiger. When I get to a file and copy it, all seems perfectly fine.

Thus, I open the Time drive and see a folder "Backups.backupdd" and open it. There is a folder "Noobix" which when opened shows the folders for the dated backups. Opening the first one shows the Leopard folder--so far everything is the same as in Leopard. But when I open the Leopard folder all the sub-folders, except Users and Library, are aliases. If I click the alias for Applications, I see aliases to all the applications, click their aliases, and I finally get to "real" folders and files.

Looking at this in Terminal I see the same thing: only Library and Users show as directories (folders), everything else is a file (an alias). If I wanted to get something out of my home folder on the Time Machine backup, I can do so:

Open everything in order:

"/Volumes/Time/Backups.backupdb/NoobiX/2007-11-08-054356/Leopard/Users/francine"

So far, all the above are folders. Now comes the strange part--my Pictures folder shows as an alias, but I can open it, then the sub-folder "Summer07" (also an alias) can be opened, and inside of that are more sub-folder aliases, plus some actual files. If I drag an actual file onto the Desktop, it copies and opens in the appropriate application. Let us hope this will work, that you can follow the folder/alias trail to the actual files, and copy them, because the situation is evidently VERY different than anything I've ever seen before. I looks like the actual data may be in an invisible place: "/Volumes/Time/.HFS+ Private Directory Data" (which is locked). Terminal doesn't seem to be able to quite figure this out--here's the Terminal list entry:

dr-xr-xr-t 3735 francine francine 126990 Dec 31 1969 .HFS+ Private Directory Data?

Notice the question mark at the end? Well, when I try to get Terminal to open something in there I just get an error.

I think you should be able to easily get regular files, such as jpegs, back by following the path to them. A problem arises with things such rtf "files" or .pages files, things that appear in the Finder as files, but aren't really. They are packages, and so you see an alias instead of the file, and the alias doesn't seem to go anywhere. That's because it is pointing to something inside that invisible and locked ".HFS+ Private Directory Data" thing.

I tried to get back a Pages file: "addresses.pages"--which shows as an alias, and will not open. Doing GetInfo on the file I see that its Original is shown as being /Volumes/Time/.HFS+ Private Directory Data/dir_524743, but trying to see it in Terminal didn't work, just get "no such place" errors. So I did a Control-click on the file and selected "Show Original" and Finder opened that invisible folder, showing a huge list of "dir_xyxx" type folders. I scrolled down looking for "524743" and found it, but was dismayed to see is was showing as a blank sheet icon, not a folder icon! I tried copying it to my Desktop anyway, and on a hunch I added the original extension ".pages" to it. Double clicking does indeed open it, and it is indeed the addresses file!

So I conclude that the "real" data is actually stored in that invisible directory, and you can get it out again. For straight files like jpegs you should be able to easily just follow the yellow brick road in Finder, of folder to aliases to actual file, and copy. The situation with comples files, such as pages files, rtf files, Quicken files, applications and others like them is more complex, but it is doable. Not easily, but you can get the stuff back.
Francine

User uploaded file
Francine
Schwieder

Nov 24, 2007 4:15 PM in response to Francine Schwieder

Thanks again Francine but I can not get to any files - when I do as you stated - "But when I open the Leopard folder all the sub-folders, except Users and Library, are aliases. If I click the alias for Applications, I see aliases to all the applications, click their aliases, and I finally get to "real" folders and files." - I find the same situation but when I click on or copy a folder to desktop I always get the same message "The volume for "e.g. Applications" can not be found. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again". I have never seen an actual file. I have tried the find command in Terminal but I am so unknowledgeable that I don't even find files or folders I know are there!!! The backed up files are not unusual e.g. a lot of MS Word and Excel. I think it is hopeless unless some one from Apple knows what is going on. I do appreciate all of your efforts- thanks again.

Nov 24, 2007 4:41 PM in response to Lawrence B

Trying to copy a folder alias is not going to do anything. I gather that when you click the alias for the folder, nothing happens except the error message? I'm guessing that somehow your Time Machine volume has suffered a disconnect between the aliases and the actual data location, which I think is that invisible .HFS+ folder I mentioned above. Afraid I booted back into Leopard, and what I see in both the Finder and the Terminal when looking at the Time drive is VERY different from what I see looking at it all from Tiger.

I don't know whether this will work or not (it doesn't in Leopard because there is no sign at all of the .HFS folder I see in Tiger, which is just too strange), but you could try this:

1. In Finder select the Go menu item and select "Go to Folder..."

2. Enter this: /Volumes/NameOfTimeMachineDrive/.HFS+ Private Directory Data/

3. Hit the Go button and see if you get a long list of dir_xyxx type folders

If not, well the stuff is obviously still there and perhaps someone at Apple would know how to get it back, but I sure don't. It is all very odd, even with my stuff, which is all working and hasn't gone through any crashes. Evidently yours got damaged somehow, so is in an even more bizarre state than my drive.
Francine

User uploaded file
Francine
Schwieder


PS--I'm going to beg for some help, so maybe by tomorrow we'll know a little more. Of course, it could be there isn't anyone outside of the Apple engineers who would have any idea how this is all really working.

Message was edited by: Francine Schwieder

Nov 24, 2007 11:18 PM in response to Jeff Greenberg

Francine - no luck -I hope begging for help pays off -thanks; Jeff - I can't do as you suggest because I am stuck with a G3 iBook which is unable to run or boot off Leopard DVD (inadequate system) and I won't have my G5 back for some time and need the files ASAP. I can't believe I can't find the files using Tiger seeing I followed the instructions exactly as laid down by Apple and have all the appropriate back up folders but no accessible data.

Nov 25, 2007 3:39 PM in response to Lawrence B

Lawrence

After I saw Francine's post about this subject I had a play around with my systems, and can't really see the difficulty.

I have my TM backup on a FW external drive, and I don't usually leave it plugged in because there are two drives used on both a Tiger and a Leopard machine.

So I plugged the chain into my G3 iBook running 10.4.11 and double clicked on the TM volume. I just followed this chain (some of these, marked with a '*', were aliases: no matter, they will eventually lead you to a "real" file): LeopardTM > Backups.backupdb > Michael Conniff's MacBook > Latest* > MacBook OSX5 > Users > michaelc > Documents* > Helper Folder > FAQ Source* > FAQUpdates. This got me to a file I updated a few days ago.

I was then able to drag this to my Desktop on the iBook and open it in TextEdit as normal.

Interestingly, behind all those aliases the actual path to that file was "/Volumes/LeopardTM/.HFS+\ Private\ Directory\ Data^M/dir_996271/FAQUpdates.rtf". That '^M' stands for a Carriage Return, which makes life interesting if you try to access the directory using Terminal 🙂

If you don't want the "Latest", choose the folder with the appropriate date from the folder corresponding to your computer name. For example, if I wanted the version of the above file before I modified it, I could choose "2007-11-22-230019" instead of "Latest".

Try it and see, and post back if you have difficulty! If it doesn't work for you, please describe exactly your setup, how you are attaching the backup drive, etc, as I tried to do above.

Nov 25, 2007 7:55 PM in response to Michael Conniff

Michael - Thanks for your post. I am still unable to get to my files so I will describe exactly my situation. I had a LaCie 500GB external drive via firewire to my Power Mac G5 running Leopard (10.5.1) and set up time machine to backup about 2 weeks ago. On Friday my G5 crashed - the problem is still being sought - possibly the mother board. At any rate I had the files backed in a file named "Backups.backupdb". I reconnected the LaCie disc via firewire 400 to my iBook G3 but when I follow the route you describe Backups.backupd > Lawrence B's Power Mac G5 > Latest > MacHD > Users > LawrenceB > Documents* - I get the message "The Volume for "Documents" cannot be found. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again." The Document* file is an alias and whenever I get to an alias in any sequence I get the preceding message. I have tired opening probably 100 aliases and none go to a real file only the message.

I have tried every time period file in the backup for example "2007-11-22-113320" and end up with the same message every time. My hard drive shows that it has 30GB of backup - i.e. when I did the backup 30GB of memory was used on the drive so the back up real files must be there somewhere as the memory is still in use. The LaCie drive behaves normally for other files on it.

Something seems different with my situation than yours or Francines - yet I followed the instructions on Time Machine to the letter. Now I wish I had not placed my faith so implicitly in it but it comes from being an Apple user over 20+ years and having had remarkably reliable machines and software. Having my work horse G5 crash and this problem with Time Machine backups on the same day has shaken my faith to a marked degree.

I appreciate any help you can come up with - as I mentioned to Francine I have no experience with Terminal at all and really don't know how to use it - if I have to follow any documents there I will need explicit instructions. Most of my work is in photos, video, Excel, Word etc. My sincere thanks for your help to the present.

Nov 26, 2007 3:15 AM in response to Lawrence B

Hi Lawrence, I'm booted into Tiger and trying to get the files. Evidently Michael's machines are behaving the same way mine does, which is not at all like yours. Something somehow seems to have damaged the connection between the alias files and the invisible folder where the data is actually stored on your machine. From the 30GB size I'm convinced the stuff is still there, even though the links are broken. I've got two ideas:

1. Launch Terminal from your Utilities folder
2. Type "open" and then a space, then drag your icon for your TimeMachine drive into the Terminal window and drop it. Depending on the name of the drive (mine is just named Time), you'll see something like this:

Tigin:~ francine$ open /Volumes/Time/

There should be a space after the final slash, which we don't want, so hit the delete key so the text insertion is immediately after that slash.

Next type
.HFS+

and hit the Tab key (be sure to type the leading period!). With any luck at all Terminal will fill in the rest of the name, including that dang carriage return--IF the folder is still available. You would end up with something that looks like this:

Tigin:~ francine$ open /Volumes/Time/.HFS+\ Private\ Directory\ Data^M/

3. Now press the Return key, and it should open a Finder window displaying all those "dir_xyz" folders. Some of them contain actual files, most contain other aliases, but perhaps once you are inside the actual data store those aliases will work.

If the Terminal can't locate the directory, I suppose you could try doing a disk repair using Disk Utility, although the gods alone know what would happen to the Leopard Time Machine drive if you tried to repair it with the Tiger Disk Utility. Well, Michael might know, but I wouldn't hazard even a guess.
Francine

User uploaded file
Francine
Schwieder

Nov 26, 2007 4:24 AM in response to Francine Schwieder

Francine Schwieder wrote:
Next type
.HFS+

and hit the Tab key (be sure to type the leading period!). With any luck at all Terminal will fill in the rest of the name, including that dang carriage return--IF the folder is still available. You would end up with something that looks like this:

Unfortunately, although this works, the Terminal acts on this carriage return, which will leave you very confused (if you're not already 😟 ). It looks something like this:
ibook:/Volumes/LeopardTM michaelc$ cd .HFS+ Private Directory Data^M/
michaelc$ mes/LeopardTM/.HFS+ Private Directory Data
michaelc$ ls -alopardTM/.HFS+ Private Directory Data
total 0
where that directory name, being part of the prompt, is repeated each time. You may be lucky and not get this, but if you do, copy and paste this:
PS1="h:u$ "
and press return, which will remove the directory name from your prompt, just for the duration of this shell session.

I have stuff to do, so won't be able to post back for a few hours. But try the rest of Francine's post and see how you get on. Something seems wrong if that alias is pointing back at your boot volume, which seems possible given the message you're getting. But your files are there—we'll get to them!

Nov 26, 2007 5:50 PM in response to Lawrence B

Francine and Michael - I have recovered the crucial files I needed by using the approach you specified so clearly Francine. A gigantic list of directories came up but after a couple of hours I had been able to rescue the key files which saves me days and days of work. I really can't thank you both enough - the amount of time you gave to my problem was so very generous and I am truly appreciative. I can now resume my efforts using my iBook while my stricken G5 undergoes costly repairs. I still have a few files to get but they are of secondary importance and I am sure it will just take a little more looking. I still don't understand why the links to the files were lost but I will do double backups in the future.

Thanks again!

Nov 27, 2007 12:37 AM in response to Lawrence B

Lawrence, glad it worked!

but I will do double backups in the future.


When I got my first Mac in 1994 my brother, who has worked with computers since the mid 1960s (he was a kid, and built his own), told me I HAD to have at least three copies of every file that was important, preferably on 3 different media. These days I interpret that as three different drives, plus periodically burning my own data files to CDs and DVDs. Nothing like a good scare to get one's attention. BTW, in the course of figuring out what you might do I was talking to him, and he said something like "Time Machine isn't your only backup is it?" Which reminded me it had been over a week since I updated my clone. 😉
Francine

User uploaded file
Francine
Schwieder

Time machine does not back up files after computer crash - only aliases

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