Does Apple's Time Machine app really copy everthing

Solution 1:

When you reinstall your operating system, OS X will ask if you want to restore from a Time Machine backup. just select your TM backup drive and it will install the OS fresh and then restore your data.

As long as you haven't setup any excluded folders, it will copy all of your data in all the places except system folders.

You can find the current list of system exclusions at /System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist It is an XML file you can open with any text editor.

Mine (Mac OS 10.5.8) looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <!-- paths we do not want to include in a system backup -->
    <key>PathsExcluded</key>
    <array>
        <string>/.Spotlight-V100</string>
        <string>/.Trashes</string>
        <string>/.fseventsd</string>
        <string>/.hotfiles.btree</string>
        <string>/Backups.backupdb</string>
        <string>/Desktop DB</string>
        <string>/Desktop DF</string>
        <string>/Network/Servers</string>
        <string>/Previous Systems</string>
        <string>/Users/Shared/SC Info</string>
        <string>/Users/Guest</string>
        <string>/dev</string>
        <string>/home</string>
        <string>/net</string>
        <string>/private/var/db/Spotlight</string>          <!-- old tiger location of the Spotlight db -->
        <string>/private/var/db/Spotlight-V100</string>     <!-- old tiger location of the Spotlight db -->
    </array>
    <!-- paths we need to include in backup so we can restore disk structure, but don't want to backup contents -->
    <key>ContentsExcluded</key>
    <array>
        <string>/Volumes</string>
        <string>/Network</string>
        <string>/automount</string>
        <string>/.vol</string>
        <string>/tmp</string>
        <string>/cores</string>
        <string>/private/tmp</string>
        <string>/private/Network</string>
        <string>/private/tftpboot</string>
        <string>/private/var/automount</string>
        <string>/private/var/log</string>
        <string>/private/var/folders</string>
        <string>/private/var/log/apache2</string>
        <string>/private/var/log/cups</string>
        <string>/private/var/log/fax</string>
        <string>/private/var/log/ppp</string>
        <string>/private/var/log/sa</string>
        <string>/private/var/log/samba</string>
        <string>/private/var/log/uucp</string>
        <string>/private/var/run</string>
        <string>/private/var/spool</string>
        <string>/private/var/tmp</string>
        <string>/private/var/vm</string>
        <string>/private/var/db/dhcpclient</string>
        <string>/private/var/db/fseventsd</string>
        <string>/Library/Caches</string>
        <string>/Library/Logs</string>
        <string>/System/Library/Caches</string>
        <string>/System/Library/Extensions/Caches</string>
    </array>
    <!-- standard user paths we want to skip for each user (subpath relative to root of home directory) -->
    <key>UserPathsExcluded</key>
    <array>
        <string>Library/Application Support/SyncServices</string>
        <string>Library/Caches</string>
        <string>Library/Logs</string>
        <string>Library/Mail/Envelope Index</string>
        <string>Library/Mail/AvailableFeeds</string>
        <string>Library/Mirrors</string>
        <string>Library/PubSub/Database</string>
        <string>Library/PubSub/Downloads</string>
        <string>Library/PubSub/Feeds</string>
        <string>Library/Safari/Icons.db</string>
        <string>Library/Safari/HistoryIndex.sk</string>
    </array>
</dict>
</plist>

Solution 2:

  • To find files and folders excluded by design, see:

    /System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist

    Beware that some paths may actually be symbolic links to paths mentioned in that file! Like Apache might refer to the symbolic link /var/logs/apache2, which is actually excluded through its target /private/var/logs/apache2.

  • To find files and folders manually excluded by an administrative user, see:

    /Library/Preferences/com.apple.TimeMachine.plist

  • To find files and folders excluded by specific software (like iTunes, and like pre-1.1.2 versions of VMware Fusion, according to Take Your VM Back in Time), by setting the extended attribute com.apple.metadata:com_apple_backup_excludeItem on its files, run:

    mdfind "com_apple_backup_excludeItem = 'com.apple.backupd'"

  • When using FileVault then your home folder is only being backed up when you log out.

Solution 3:

As far as I know. A month ago I was trying to restore some config files from macport upgrade (/opt/local/etc, which is hidden within Finder). When I explored with Timemachine I found all the files and directories since the first day I started using Timemachine.

Solution 4:

For all intents and purposes, without exclusions, it will backup up all user data... The scope of Time Machine (Time Machine Exclusions)

Time Machine, by default, backups up every local drive on your machine. It won’t backup network mounted drives, but any local drive that is not excluded is by default added into the backup. Apple has a standard list of exclusions, but since Apple has not officially documented these exculsions they may change unpredictably in the future. But for now, the following directories do not have to be excluded manually:

/.Spotlight-V100
/private/var/db/Spotlight <!– old tiger location of the Spotlight db –>
/private/var/db/Spotlight-V100     <!– old tiger location of the Spotlight db –>
/.Trashes
/.fseventsd
/.hotfiles.btree
/Backups.backupdb
/Desktop DB
/Desktop DF
/Previous Systems
/Users/Shared/SC Info
/Users/Guest
/dev,  /home,  /net
/Volumes
/Network
/automount
/.vol
/tmp
/cores
/private/tmp
/private/Network
/private/tftpboot
/private/var/automount
/private/var/folders
/private/var/run
/private/var/tmp
/private/var/vm
/private/var/db/dhcpclient
/private/var/db/fseventsd
/Library/Caches
/Library/Logs
/System/Library/Caches
/System/Library/Extensions/Caches
/private/var/log
/private/var/spool/cups
/private/var/spool/fax
/private/var/spool/uucp
~/Library/Application Support/SyncServices/data.version
~/Library/Caches
~/Library/Logs
~/Library/Mail/Envelope Index
~/Library/Mail/AvailableFeeds
~/Library/Mirrors
~/Library/PubSub/Database
~/Library/PubSub/Downloads
~/Library/PubSub/Feeds
~/Library/Safari/Icons.db
~/Library/Safari/WebpageIcons.db
~/Library/Safari/HistoryIndex.sk

From http://www.schollnick.net/wordpress/systems-administration/macintosh-related/time-machine-information/