Does Time Machine backup hidden files?

Discussion in 'OS X Mountain Lion (10.8)' started by alec6542, Sep 24, 2012.

  1. macrumors regular

    Joined:
    Jan 16, 2012
    Messages:
    106
    #1
    The library directory is hidden by default in Mountain Lion. I know there is a way to unhide it, but I am trying to restore a file that was hidden at the time Time machine backed it up. Is there a way to get it off my time machine disk assuming that was even backed up to begin with since it was hidden?
     
  2. macrumors Core

    simsaladimbamba

    Joined:
    Nov 28, 2010
    Messages:
    22,671
    Location:
    located
    #2
    TM backs up all files and folders, including hidden files/folders, unless excluded specifically.

    Time Machine FAQ
     
  3. macrumors demi-god

    Weaselboy

    Joined:
    Jan 23, 2005
    Messages:
    17,605
    #3
    You are mistaken. Time Machine excludes quite a few files/folders from backup.

    OP> To see a list of what files are excluded from Time Machine by default run the below command in Terminal app. You will be prompted for your password. Most of the excludes are cache files that do not need to be backed up.

    Code:
    sudo mdfind "com_apple_backup_excludeItem = 'com.apple.backupd'"
    
     
  4. macrumors Core

    simsaladimbamba

    Joined:
    Nov 28, 2010
    Messages:
    22,671
    Location:
    located
    #4
    Thanks for the correction. But a TM backup should probably include the user's Library folder, shan't it?

    Probably why I do not use TM anyway.
     
  5. macrumors demi-god

    Weaselboy

    Joined:
    Jan 23, 2005
    Messages:
    17,605
    #5
    It certainly would include it by default... yes.
     

Share This Page