4

How do you recover a file which (I trust) was backed up by Time Machine when Time Machine refuses to show the directory?

Specifically, I can't get Lotus Notes to start. (Yes, I know; I don't much like it, but it is required.) I was thinking that I should be able to recover the last known working version from Time Machine, but the file is in:

/Users/jleffler/Library/Application Support/Lotus Notes Data/mail6/jleffler.nsf

and when I go into Time Machine, it is not showing the Library directory at all, which makes it hard to recover the file from that directory. At this stage, I'm not even certain that the file is backed up, but I have to assume it is and I'm overlooking something obvious.

5
  • 1
    Is there a particular reason this should not have been asked on SU? Aug 12, 2011 at 19:56
  • @Bill: possibly not - I debated, and decided to ask where there are the most eyes. I go to SU maybe once a month, if I'm feeling diligent. Aug 12, 2011 at 19:58
  • Okay, I wasn't sure if Time Machine was maybe commonly used as a source code repository or something. Should I move this to the Apple site or SU? Aug 12, 2011 at 20:01
  • @Bill: your last question shows why the fragmentation of the sites was a disaster -- there isn't a single place to look for the answers to questions, thus making it much, much harder to work out where to look. I've not been to the Apple site before - that's apple.stackexchange.com, I suppose? Aug 12, 2011 at 20:14
  • Yes, that's the one. Aug 12, 2011 at 20:27

2 Answers 2

12

Have a look at turning on hidden file display in Finder and then going into Time Machine

In Terminal

defaults write com.apple.finder AppleShowAllFiles YES

This sets the flag to show hidden files

killall Finder

This will force Finder to restart

Then go into Time Machine, fix/restore what you want and then

defaults write com.apple.finder AppleShowAllFiles NO

killall Finder

To go back to blissful ignorance

5
  • I like the 'back to blissful ignorance' part of this! I suspect that 'defaults delete com.apple.finder AppleShowAllFiles' might be better than setting it to 'NO' given that the flag is not set at all locally before I started on the changes. Aug 12, 2011 at 20:00
  • I'd say leave it. That way you can use a plist editor to toggle it rather than remember the exact key - I had to look it up myself for this answer.
    – Abizern
    Aug 12, 2011 at 20:02
  • The free utility TinkerTool, bresink.com/osx/TinkerTool.html gives you a graphical user interface for turning hidden files display in the Finder on or off any time you choose. It has many other functions besides; it's basically a GUI front-end for all kinds of routine command-line operations.
    – user93417
    Aug 14, 2011 at 18:45
  • Note it's killall Finder (capital F).
    – Ashley
    May 21, 2012 at 22:31
  • Thanks again for this answer — I needed to restore a .git directory and needed to use this again. Oct 13, 2013 at 18:56
1

That is most likely a local copy of your mailfile, you should be able to pull down a new copy of it from the server, just missing that nsf file shouldn't prevent Notes from running.

3
  • I managed to recover the backup file, and it made no difference to the misbehaviour of Notes. So, I've probably got some problem with Java (again) on MacOS X Lion. But I am not sure what changed between the date when it worked and the date when it didn't. Aug 14, 2011 at 16:26
  • Do you know what version of Notes you have? You may see if this technote applies www-304.ibm.com/support/docview.wss?uid=swg21504652
    – Zach
    Aug 17, 2011 at 0:36
  • I've now got 8.5.3.CD5 (an internal pre-release). It is working for me once more (on both MacOS X 10.7 this morning and 10.7.1 this afternoon). I tried an 8.5.2 version and it had troubles. It might easily have been the problem diagnosed in the tech note you reference, though; the description sounds plausible. Thanks for the information; it strongly indicates I was running into a real problem, not something I'd created for myself (other than by upgrading to Lion). Aug 17, 2011 at 0:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .