{"id":298,"date":"2008-09-06T23:20:19","date_gmt":"2008-09-07T07:20:19","guid":{"rendered":"http:\/\/mike.peay.us\/blog\/?p=298"},"modified":"2008-09-06T23:20:19","modified_gmt":"2008-09-07T07:20:19","slug":"i-need-more-time-machine","status":"publish","type":"post","link":"https:\/\/mike.peay.us\/blog\/archives\/298","title":{"rendered":"I need more Time (Machine)"},"content":{"rendered":"<p>This is a continuation of an <a href=\"http:\/\/mike.peay.us\/blog\/archives\/248\">earlier post<\/a> I did on Time Machine. While investigating all the many Time Machine features and issues, I discovered a nice add-on tool called <a href=\"http:\/\/www.fernlightning.com\/doku.php?id=software:misc:tms\" target=\"_blank\">tms<\/a>. It currently is in beta and only exists as a command-line tool. It interacts with the Time Machine database on the Time Machine destination (physical disk or network) and provides some very useful information:<\/p>\n<p><strong>snapshots<\/strong> &#8211; List the snapshots present on the destination<\/p>\n<pre>$ tms snapshots\r\n\/Volumes\/Backup1\/Backups.backupdb\/media\/2008-09-06-193341: num=5760 state=4 type=2 ver=1 start=2008-09-06-19:22:21.618534 complete=2008-09-06-19:33:41.893965\r\n\/Volumes\/Backup1\/Backups.backupdb\/media\/2008-09-06-153237: num=5759 state=4 type=2 ver=1 start=2008-09-06-15:16:21.145156 complete=2008-09-06-15:32:37.095843\r\n\/Volumes\/Backup1\/Backups.backupdb\/media\/2008-09-06-113449: num=5758 state=4 type=2 ver=1 start=2008-09-06-11:17:09.578714 complete=2008-09-06-11:34:49.347916\r\n{snip}<\/pre>\n<p><strong>snaplog<\/strong> &#8211; List all the log detail for the latest (or specified) backup. I won&#8217;t paste it here as it is very verbose and quite informative.<\/p>\n<p><strong>log<\/strong> &#8211; List the revisions of a particular file<\/p>\n<pre>$ tms log wp_ozh_adminmenu.php \r\n\/Volumes\/Backup1\/Backups.backupdb\/media\/2008-02-28-002700\/path\/to\/wp_ozh_adminmenu.php: num=2658 oldest=2008-02-24-22:18:09 newest=2008-04-18-22:56:42\r\n\/Volumes\/Backup1\/Backups.backupdb\/media\/2008-05-27-004103\/path\/to\/wp_ozh_adminmenu.php: num=4630 oldest=2008-05-26-00:23:11 newest=Current<\/pre>\n<p><strong>delta<\/strong> &#8211; List the differences between two backups<\/p>\n<pre>$ tms delta 5760 5759\r\ndelta: 5760 vs 5759\r\n\/Volumes\/MediaHD\/.DS_Store: !=\r\n\/Volumes\/MediaHD\/private\/var\/amavis\/tmp\/amavis-20080906T154248-92402: -&gt;\r\n\/Volumes\/MediaHD\/private\/var\/amavis\/tmp\/amavis-20080906T130623-87446: &lt;-\r\n\/Volumes\/MediaHD\/Library\/Preferences\/com.apple.iPod.plist: !=\r\n\/Volumes\/MediaHD\/Library\/Preferences\/com.apple.SoftwareUpdate.plist: !=\r\n{snip again}<\/pre>\n<p>For the notation at the end of the line, != means the file is in both backups but are different (e.g., it changed), &lt;- means the file is in the later backup but not in the earlier, and -&gt; means the file is in the earlier but not later.<\/p>\n<p><strong>diff<\/strong> &#8211; Display the differences between two backups of a file using the diff command. For some reason, this doesn&#8217;t work for me.<\/p>\n<p>I&#8217;ve used tms to help isolate what is being backed up and since I am running Leopard Server, there are many changing files that I have excluded which has reduced the amount of data being backed up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a continuation of an earlier post I did on Time Machine. While investigating all the many Time Machine features and issues, I discovered a nice add-on tool called tms. It currently is in beta and only exists as &hellip; <a href=\"https:\/\/mike.peay.us\/blog\/archives\/298\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2],"tags":[],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-macintosh"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vft-4O","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":1,"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/posts\/298\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mike.peay.us\/blog\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}