{"id":49266,"date":"2025-09-12T16:25:33","date_gmt":"2025-09-12T20:25:33","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=49266"},"modified":"2025-09-12T16:25:33","modified_gmt":"2025-09-12T20:25:33","slug":"dataless-macos-file-versioning","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/09\/12\/dataless-macos-file-versioning\/","title":{"rendered":"Dataless macOS File Versioning"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2025\/09\/08\/managing-macos-versioning-and-the-documentrevisions-v100-folder\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2025\/09\/08\/managing-macos-versioning-and-the-documentrevisions-v100-folder\/\"><p>When an app that supports versioning saves a file, the current version is added as a dataless file to a folder in AllUIDs, with its UUID as its name, its data are added to the ChunkStoreDatabase, and its details are added to the database in db-V1. Chunk sizes typically range up to just over 20 MB. The service responsible for versioning is <code>revisiond<\/code>, and the subsystems you&rsquo;ll encounter in the log are com.apple.foundation.filecoordination and com.apple.chunkinglibrary.<\/p><p>Retrieving a version thus consists of looking it up in the db.sqlite database, and reconstituting that version as a file, using the dataless file with its attributes and metadata in the file UUID, and its data restored from the ChunkStore.<\/p><p>[&#8230;]<\/p><p>The most common cause of problems with the version database is excessive size. Although its size isn&rsquo;t readily discoverable, it can be a major contributor to that attributed to System Data in Storage settings and third-party utilities, and in some cases can exceed 100 GB.<\/p><p>[&#8230;]<\/p><p>My free utility <a href=\"https:\/\/eclecticlight.co\/revisionist-deeptools\/\">Revisionist<\/a> has a version crawler that will list all files in a volume or folder with the number of versions they currently have stored in that volume&rsquo;s .DocumentRevisions-V100 folder.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/eclecticlight.co\/2025\/09\/12\/how-to-preserve-a-documents-versions-no-matter-what\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2025\/09\/12\/how-to-preserve-a-documents-versions-no-matter-what\/\">\n<p>In recent discussions here about the version system built into macOS, two potential problems were raised: first that a file&rsquo;s versions don&rsquo;t go with it wherever the file goes, and second that versions wouldn&rsquo;t preserve datestamps. This article demonstrates how you can easily work around the first, and how the second isn&rsquo;t correct.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/08\/19\/tahoe-free-space-problems\/\">Tahoe Free Space Problems<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/02\/03\/what-to-do-when-macos-wont-let-you-unmount-a-volume\/\">What to Do When macOS Won&rsquo;t Let You Unmount a Volume<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/10\/27\/icloud-drive-switches-to-dataless-files\/\">iCloud Drive Switches to Dataless Files<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/06\/08\/icloud-drive-now-supports-file-versions\/\">iCloud Drive Now Supports File Versions<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/02\/21\/mac-backups-and-the-versions-database\/\">Mac Backups and the Versions Database<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/10\/22\/document-versions-and-icloud\/\">Document Versions and iCloud<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: When an app that supports versioning saves a file, the current version is added as a dataless file to a folder in AllUIDs, with its UUID as its name, its data are added to the ChunkStoreDatabase, and its details are added to the database in db-V1. Chunk sizes typically range up to just [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-09-12T20:25:36Z","apple_news_api_id":"d23eb6a8-e5a1-4bbe-abb1-aea8c6a59250","apple_news_api_modified_at":"2025-09-12T20:25:36Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A0j62qOWhS76rsa6oxqWSUA","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":[1395,30,32,694,2742,2838,174],"class_list":["post-49266","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-file-system-apfs","tag-mac","tag-macapp","tag-mac-os-x-versions","tag-macos-tahoe-26","tag-revisionist","tag-storage"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/49266","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=49266"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/49266\/revisions"}],"predecessor-version":[{"id":49267,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/49266\/revisions\/49267"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=49266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=49266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=49266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}