{"id":28843,"date":"2020-05-04T13:43:45","date_gmt":"2020-05-04T17:43:45","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28843"},"modified":"2020-05-04T13:44:01","modified_gmt":"2020-05-04T17:44:01","slug":"arq-and-time-machine-exclusions","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/05\/04\/arq-and-time-machine-exclusions\/","title":{"rendered":"Arq and Time Machine Exclusions"},"content":{"rendered":"<p><a href=\"https:\/\/annoying.technology\/posts\/e70fd0b1b98faa2e\/\">Manuel Grabowski<\/a>:<\/p>\n<blockquote cite=\"https:\/\/annoying.technology\/posts\/e70fd0b1b98faa2e\/\">\n<p>I figured there must be some way to find out <em>what<\/em> data exactly changed inbetween two TM snapshots. <a href=\"https:\/\/github.com\/nlfiedler\/timedog\">There is<\/a>. I let that script run (for almost an entire day) and in the resulting output I was quickly able to find the directory that was responsible for almost the entire size of the changes: <code>~\/Library\/Arq\/<\/code>.<\/p>\n<p>[&#8230;]<\/p>\n<p>So for months, my two primary backup strategies have negatively affected each other by slowing down to a grinding halt and consuming ungodly amounts of CPU power and fan spinnage.<\/p>\n<\/blockquote>\n<p>The corresponding folder in Arq 6 is <tt>\/Library\/Application Support\/ArqAgent<\/tt>. Even though I recently started new Arq backups, and they contain only a small fraction of my files, that folder already contains a <tt>cache.noindex<\/tt> folder that&rsquo;s 11 GB. (Due to its file permissions, that folder is no longer accessible in Finder, so I had to inspect it via Terminal and <code>sudo<\/code>.)<\/p>\n<p>Because <tt>.noindex<\/tt> only applies to Spotlight, Time Machine is wasting time, energy, and space backing up these files. To exclude them from Time Machine, they&rsquo;d have to be in a <tt>.nobackup<\/tt> folder or <a href=\"https:\/\/mjtsai.com\/blog\/2017\/04\/06\/excluding-files-from-spotlight-and-time-machine\/\">otherwise marked<\/a>.<\/p>\n<p>I suppose there&rsquo;s a reason that some people <em>might<\/em> want to back up the Arq cache. It could be slow or expensive to redownload the cached data if you do need to restore from a backup. But I decided to add a manual exclusion in the Time Machine preferences.<\/p>\n\n<p>Sidenote: I&rsquo;m now using Arq 6.2.11, which seems to work well except that unmounting an unrelated drive still causes other in-progress backups to abort.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/04\/13\/arq-6\/\">Arq 6<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/09\/26\/what-time-machine-doesnt-back-up\/\">What Time Machine Doesn&rsquo;t Back Up<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/08\/02\/excluding-from-icloud-drive\/\">Excluding From iCloud Drive<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/04\/06\/excluding-files-from-spotlight-and-time-machine\/\">Excluding Files From Spotlight and Time Machine<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Manuel Grabowski: I figured there must be some way to find out what data exactly changed inbetween two TM snapshots. There is. I let that script run (for almost an entire day) and in the resulting output I was quickly able to find the directory that was responsible for almost the entire size of the [&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":"2020-05-04T17:43:48Z","apple_news_api_id":"c98e6e97-c4ec-4c99-b5ae-7157c60d61f0","apple_news_api_modified_at":"2020-05-04T17:44:04Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AyY5ul8TsTJm1rnFXxg1h8A","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":[203,146,30,1666,216],"class_list":["post-28843","post","type-post","status-publish","format-standard","hentry","category-technology","tag-arq","tag-backup","tag-mac","tag-macos-10-15","tag-timemachine"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28843","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=28843"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28843\/revisions"}],"predecessor-version":[{"id":28845,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28843\/revisions\/28845"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}