Benches macOS

14

Does the TRASH folder go into Time Machin…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

So i've been able to backup time machine the first few times, but after that it says "the backup is too large for the backup volume". I have one folder "excluded" where i add and delete very large files (sometimes up to GBs).

I'm wondering if i delete these huge files and they go to the TRASH and then I immediately empty the trash...Do they get included into my time machine backup? Could that be what maybe causing the large size error? If so, where is the trash folder so that i can exclude it? Thanks.

14 replies

Sign in or join Beachball Help to reply.

  1. 0

    osultan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Are you looking so back up the files in your "excluded" folder--if not, follow these directions:

    http://docs.info.apple.com/article.html?path=Mac/10.5/en/15622.html

  2. 0

    EZ Jim

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hello, bhatsau

    where is the trash folder so that i can exclude it?

    Your Trash is an invisible file in your User > Home Folder.

    You can exclude your trash by using
    osultan's linked help and doing the following:

    • Open Time Machine Preferences.

    • Click "+" to add another exclusion.

    • Click the "Show invisible items" in the Time Machine dialog box that opens

    • Navigate to your Home folder

    • Click on your "
    .Trash" file to add it to your list of excluded files.

    EZ
    User uploaded file Jim

    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight

  3. 0

    Red Robin

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanx EZ Jim!

    Your step-by-step was very helpful - Trash now excluded from TM and therefore creates an 'exclusion box'.

    Robin

  4. 0

    greenwrangler

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The Trash folder is not backed up by Time Machine by default. Check this thread for more on that discussion.

    http://discussions.apple.com/thread.jspa?threadID=1208460

    So, I doubt that excluding it from your TM backup will solve your backup too large for backup volume problem.

  5. 0

    Jeremy P

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The status of this thread is a little unclear. It is not marked as answered and yet the original poster has not been here for a couple of months. Robin, did you have a similar problem and, if so, did excluding .Trash help? As greenwrangler stated, all the evidence to date is that .Trash is excluded by design.

  6. 0

    Red Robin

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Jeremy,

    I tested by simply dumping a folder of docs in the Dock's Trash can and found that it excluded what's in the Trash from any TM backup by default.

    I hope this helps.

  7. 0

    EZ Jim

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks to all for testing and confirming that TM never backs up .Trash

    It seems strange to me that TM allows us to exclude something that is not backed up regardless of whether it is in the list of exclusions or not, but I appreciate knowing that the all checks confirmed that it is not necessary to exclude .Trash.

    FYI, TM is working well for me even though I still have .Trash listed in my "Options" list of items that are not backed up.

    Cheers to all!

    EZ
    User uploaded fileJim

    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight

  8. 0

    Ewen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    It seems strange to me that TM allows us to exclude something that is not backed up regardless of whether it is in the list of exclusions or not

    It may seem strange, but TM does seem to exclude files from backup: either by their location, or if the individual file itself is flagged for exclusion.

  9. 0

    EZ Jim

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks, Ewen

    I agree that TM seems to exclude some, but do you know which?

    I have not been able to find any list or Apple doc that tells what files Time Machine
    does not backup when nothing is excluded by the user/Admin. Have you?

    For instance,
    this AppleInsider article says:

    ... system is ... designed to avoid backing up ... things that don't need to be backed up.

    but it does
    not give a complete list.

    Cheers,

    EZ
    User uploaded fileJim

    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight

  10. 0

    Ewen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have not been able to find any list or Apple doc that tells what files Time Machine does not backup when nothing is excluded by the user/Admin. Have you?

    All i know is the info on ADC, here is Cut N' Paste.

    Since Time Machine works hand-in-hand with the file system, and keeps track of files as they change over time, there are a few guidelines you should follow about writing files to the disk. The first is to make sure that temporary files and easily recreated caches and indexes aren't backed up by Time Machine. There are a few locations already provided for this kind of data that you should use whenever possible:

    /tmp ; ~/Library/Caches ; /Library/Caches

    These locations are automatically excluded from Time Machine's backup processing. If your application writes data that shouldn't be backed up to a location that isn't automatically excluded by Time Machine, you can flag files as excluded using a single function call. For example, in a Cocoa application, you could use the following to exclude a file:

    NSURL *url = [NSURL fileURLWithPath:@"/path/to/file"];

    CSBackupSetItemExcluded((CFURLRef)url, true, false);

  11. 0

    greenwrangler

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    See here:

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

    Open the file called StdExclusions.plist here in Property List editor. This lists the set of files/folders excluded from backup.

    There is also a file in the same location called System.plist. This presumably contains the minimum system files neeeded to create a working system from a backup.

  12. 0

    Ewen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Above was good tip. This is contents for my Macbook's StdExclusions.plist, and .Trashes is in there.

    <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>

    <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>

    <string>/private/var/db/Spotlight-V100</string>

    </array>

    <key>UserPathsExcluded</key>

    <array>

    <string>Library/Application Support/MobileSync</string>

    <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>

  13. 0

    EZ Jim

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Kudos! greenwrangler   
    User uploaded file

    There's the info I sought.

    Cheers,

    EZ
    User uploaded fileJim

    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight

  14. 0

    EZ Jim

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Helpful, Ewen! 
    User uploaded file

    I forgot to check ADC. Thanks for sharing.

    Cheers,

    EZ
    User uploaded file Jim

    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight