{"id":26685,"date":"2019-09-26T13:23:26","date_gmt":"2019-09-26T17:23:26","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=26685"},"modified":"2021-09-08T11:29:25","modified_gmt":"2021-09-08T15:29:25","slug":"what-time-machine-doesnt-back-up","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/09\/26\/what-time-machine-doesnt-back-up\/","title":{"rendered":"What Time Machine Doesn&rsquo;t Back Up"},"content":{"rendered":"<p><a href=\"https:\/\/support.apple.com\/en-us\/HT201250\">Apple<\/a>:<\/p>\n<blockquote cite=\"https:\/\/support.apple.com\/en-us\/HT201250\">\n<p>You can use&nbsp;Time Machine,&nbsp;the built-in backup feature of your Mac, to automatically back up all of your files, including apps, music, photos, email, documents, and system files.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/max.town\/b-4ZHOV1QJm2wbE-G9Uf4Q\/TCffNeybTlWjtzG-QEc5cg.html\">Maxwell Swadling<\/a>:<\/p>\n<blockquote cite=\"https:\/\/max.town\/b-4ZHOV1QJm2wbE-G9Uf4Q\/TCffNeybTlWjtzG-QEc5cg.html\">\n<p>Time Machine backups skip a bunch of files. Some you might expect, some might surprise you!<\/p>\n<p>[&#8230;]<\/p>\n<p>The Voice Memos iPad App On The Mac seems to exclude the one bit of data it is responsible for saving... recordings...<\/p>\n<p>[&#8230;]<\/p>\n<p>I covered in another blog post that the key Photos Photo Library database file is missing[&#8230;] Missing this and all its associated files needed to restore Photo Libraries without data loss.<\/p>\n<\/blockquote>\n\n<p>I don&rsquo;t use Photos enough to know what its database stores that isn&rsquo;t in iCloud Photo Library. But <a href=\"https:\/\/mjtsai.com\/blog\/2018\/11\/27\/books-and-calendars-in-photos-for-mac\/\">print projects<\/a> definitely don&rsquo;t sync using iCloud, and they can represent a huge time investment. It looks like some project-related files do get backed up&mdash;maybe Photos is able to rebuild them into a new database?<\/p>\n\n<p>But I would feel more comfortable with everything backed up and not relying on a potentially lengthy or buggy rebuild. Some other backup software will exclude files by default, but you can adjust the settings to manually include them. That&rsquo;s not possible with Time Machine.<\/p>\n\n<p><a href=\"https:\/\/twitter.com\/mxswd\/status\/1175838303482011649\">Maxwell Swadling<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/mxswd\/status\/1175838303482011649\">\n<p>I was genuinely surprised iCloud Drive wasn&rsquo;t backed up because I think of time machine as having the &ldquo;go back in time a year and see what the file was&rdquo; feature, which doesn&rsquo;t work on iCloud Drive files!<\/p>\n<\/blockquote>\n\n<p>This sounded really bad to me, because iCloud Drive files don&rsquo;t necessarily get stored in the cloud, either. Your Mac may not currently have a network connection, and sometimes uploads get <a href=\"https:\/\/mjtsai.com\/blog\/2018\/03\/27\/solving-problems-with-icloud-drive\/\">delayed or wedged<\/a>. Once in the cloud, the files are subject to <a href=\"https:\/\/mjtsai.com\/blog\/2019\/07\/11\/icloud-data-loss-with-macos-10-15-and-ios-13-betas\/\">beta bugs<\/a>, and you have only a <a href=\"https:\/\/support.apple.com\/kb\/PH27917\">very limited<\/a> ability to restore the latest version of individual files that it thinks you deleted.<\/p>\n\n<p>But <a href=\"https:\/\/eclecticlight.co\/2019\/09\/26\/what-doesnt-time-machine-back-up\/\">Howard Oakley<\/a> says iCloud Drive <em>does<\/em> get backed up, and I do, in fact, see the files in my Time Machine backups.<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2019\/09\/26\/what-doesnt-time-machine-back-up\/\">\n<p>Maxwell notes that Time Machine doesn&rsquo;t back up folders which are found in iCloud Drive, but in my experience it&rsquo;s not as simple as that. The rule seems to be that Time Machine does back up the contents of your current iCloud Drive, but only those items which are currently stored locally. Any items which have been evicted to iCloud, and are only represented by local stub files, aren&rsquo;t backed up.<\/p>\n<p>[&#8230;]<\/p>\n<p>For Time Machine to be able to back up a file evicted to iCloud Drive, that file would need to be downloaded to local storage first. Imagine having a 512 GB internal SSD, and over a terabyte of documents in your iCloud Drive, almost all of which were evicted from local storage.<\/p>\n<\/blockquote>\n\n<p>This makes sense and is probably the only reasonable thing for Time Machine to do. But, to me, it&rsquo;s yet another reason to avoid the <a href=\"https:\/\/tidbits.com\/2016\/09\/19\/explaining-sierras-optimized-storage\/\">Optimize Mac Storage<\/a> option. If your files in iCloud Drive are important enough to sync between devices, they&rsquo;re probably important enough that you want to have your own backups of them.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/09\/03\/icloud-drive-features-removedpostponed\/\">iCloud Drive Features Removed\/Postponed<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/07\/23\/trusting-icloud-drive\/\">Trusting iCloud Drive<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/07\/11\/icloud-data-loss-with-macos-10-15-and-ios-13-betas\/\">iCloud Data Loss With macOS 10.15 and iOS 13 Betas<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/10\/22\/document-versions-and-icloud\/\">Document Versions and iCloud<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/05\/07\/icloud-drive-breaks-the-macos-command-line\/\">iCloud Drive Breaks the macOS Command Line<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/03\/27\/solving-problems-with-icloud-drive\/\">Solving Problems With iCloud Drive<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/10\/17\/how-icloud-drive-can-break-time-machine-backups\/\">How iCloud Drive Can Break Time Machine Backups<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/09\/25\/successful-icloud-desktop-and-documents-folder-storage\/\">Successful iCloud Desktop and Documents Folder Storage<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/07\/15\/how-icloud-drive-deletes-your-files-without-warning\/\">How iCloud Drive Deletes Your Files Without Warning<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2014\/05\/22\/what-backblaze-doesnt-back-up\/\">What Backblaze Doesn&rsquo;t Back Up<\/a><\/li>\n<\/ul>\n\n<p id=\"what-time-machine-doesnt-back-up-update-2019-09-27\">Update (2019-09-27): <a href=\"https:\/\/www.jessesquires.com\/blog\/icloud-backup-using-rsync\/\">Jesse Squires<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.jessesquires.com\/blog\/icloud-backup-using-rsync\/\"><p>Now that we sort of understand the layout of <code>~\/Library\/Mobile Documents\/<\/code>, where the hell are <strong>our<\/strong> iCloud Drive documents stored? Those live in <code>com~apple~CloudDocs\/<\/code>. If you <code>cd<\/code> there, you should see all of the &ldquo;custom&rdquo;, non-app-specific files that you&rsquo;ve stored in iCloud Drive. These should match what is viewable in Finder.<\/p><p>This is the directory that we want to backup. We can use <code>rsync<\/code> to do that. (Side note: the way that <code>rsync<\/code> handles paths is a bit odd. It doesn&rsquo;t like relative paths, or <code>~<\/code>, or escaping spaces in directory names. Thus, this script uses absolute paths with spaces.) You just need to fill-in the <code>USER<\/code> and <code>DEST<\/code> variables.<\/p><\/blockquote>\n\n<p id=\"what-time-machine-doesnt-back-up-update-2021-09-08\">Update (2021-09-08): See also: <a href=\"https:\/\/eclecticlight.co\/2021\/09\/08\/what-doesnt-time-machine-back-up-2\/\">Howard Oakley<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Apple: You can use&nbsp;Time Machine,&nbsp;the built-in backup feature of your Mac, to automatically back up all of your files, including apps, music, photos, email, documents, and system files. Maxwell Swadling: Time Machine backups skip a bunch of files. Some you might expect, some might surprise you! [&#8230;] The Voice Memos iPad App On The Mac [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-09-26T17:23:29Z","apple_news_api_id":"a3180f90-8828-429d-9f18-c7dbc4235fb7","apple_news_api_modified_at":"2021-09-08T15:29:29Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAABA==","apple_news_api_share_url":"https:\/\/apple.news\/AoxgPkIgoQp2fGMfbxCNftw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[146,913,1142,30,1609,927,1771,216,1684],"class_list":["post-26685","post","type-post","status-publish","format-standard","hentry","category-technology","tag-backup","tag-icloud-drive","tag-icloud-photo-library","tag-mac","tag-macos-10-14","tag-photos-app","tag-rsync","tag-timemachine","tag-voice-memos"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/26685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=26685"}],"version-history":[{"count":6,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/26685\/revisions"}],"predecessor-version":[{"id":33558,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/26685\/revisions\/33558"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=26685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=26685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=26685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}