{"id":3500,"date":"2012-10-22T00:01:27","date_gmt":"2012-10-22T07:01:27","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=3500"},"modified":"2012-10-25T09:16:55","modified_gmt":"2012-10-25T16:16:55","slug":"doing-a-manual-backup-automatically-part-i","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=3500","title":{"rendered":"Doing a Manual Backup Automatically, Part I"},"content":{"rendered":"<p>Backup! It&#8217;s so important! I&#8217;ve written about it lots. But recently I received an email question, &#8220;How can I backup my stuff to a thumb drive?&#8221; It&#8217;s a decent question.<br \/>\n<!--more--><br \/>\nFirst, you could use a regular backup program, such as the stinky one that comes with Windows, to backup to a thumb drive. But today&#8217;s backup programs lack the sophistication to do so. Also, a 16GB thumb drive lacks the storage capacity to make a traditional backup program interested in using that media.<\/p>\n<p>Second, you can manually copy the files, by dragging them from one window to the thumb drive&#8217;s window. The problem: That operation is a pain to setup, not to mention that you have to remind yourself to do it. And that process kinda goes against the whole &#8220;computers make your life easier&#8221; argument. What would be better is:<\/p>\n<p>Third, a utility that would backup your stuff &#8212; say just your work files or a single, popular folder full o&#8217; stuff &#8212; to a thumb drive. That tool would be the <code>robocopy<\/code> command. Yes, it&#8217;s a DOS command. Be afraid!<\/p>\n<p>Fourth, you could automate the process by using the Windows Task Scheduler. Not many people use the Task Scheduler, mostly because its interface is horrid, but it&#8217;s a valid tool for such operations.<\/p>\n<p>I present the solution to these issues over this week&#8217;s blog posts in three steps.<\/p>\n<p><strong>Step 1: Discover how much storage space you need<\/strong><\/p>\n<p>There&#8217;s no point backing up to a thumb drive when you really a whole hand drive.<\/p>\n<p>On my PC, I do a nightly thumb-drive sync of my entire <code>Work<\/code> folder. That folder contains all my current book projects. That includes completed-but-not-published books, the one I&#8217;m working on now, plus upcoming books and proposals. The <code>Work<\/code> folder contains subfolders for all that stuff &#8212; a monstrous directory tree of files.<\/p>\n<p>Keep in mind that I&#8217;m backing up, or duplicating, just one folder (and it&#8217;s subfolders). I&#8217;m not copying my email files, downloads, porn, or other current documents. The key to this process as I&#8217;m describing it is to limit the manual backup to just some key files.<\/p>\n<p class=\"sidebar\">Of course, I could ventur off into the realm of file organization, which makes backing up a single folder possible, but I&#8217;ll save that task for another blog post.<\/p>\n<p>The thumb drive I&#8217;m using is a new SanDisk Ultra 16GB. Even though 16GB is a lot of storage, it doesn&#8217;t get any bigger. Therefore I would limit backup storage on that thumb drive to 8GB. Any more than that, and the thumb drive will get full rather quickly.<\/p>\n<p>According to Windows, my <code>Work<\/code> folder contains 799MB (0.8GB) of data. That&#8217;s far less than my self-imposed 8GB limit, so I&#8217;m okay. But more importantly, how did I know that the <code>Work<\/code> folder contains 799GB of data?<\/p>\n<p>To calculate how much storage you&#8217;d be backing up, locate the folder you want to backup. Right-click on the folder and choose Properties. You&#8217;ll see the folder&#8217;s Properties dialog box, such as the one shown in Figure 1. The Size on Disk value give you an idea of how much information you need to backup.<\/p>\n<div id=\"attachment_3504\" style=\"width: 352px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3504\" src=\"http:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2012\/10\/figure-1.png\" alt=\"\" title=\"figure-1\" width=\"342\" height=\"243\" class=\"size-full wp-image-3504\" srcset=\"https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2012\/10\/figure-1.png 342w, https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2012\/10\/figure-1-300x213.png 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><p id=\"caption-attachment-3504\" class=\"wp-caption-text\">Figure 1. A folder&#8217;s properties dialog box.<\/p><\/div>\n<p>In Figure 1, the Size on Disk value is 799MB. As long as the value you see is less than the half the total capacity of the thumb drive, you&#8217;re good to go.<\/p>\n<p>On <a href=\"http:\/\/www.wambooli.com\/blog\/?p=3516\">Wednesday&#8217;s blog post<\/a>, I&#8217;ll move on to Step 2, working with the <code>robocopy<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Backup! It&#8217;s so important! I&#8217;ve written about it lots. But recently I received an email question, &#8220;How can I backup my stuff to a thumb drive?&#8221; It&#8217;s a decent question.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3500","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3500"}],"version-history":[{"count":15,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3500\/revisions"}],"predecessor-version":[{"id":3580,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3500\/revisions\/3580"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}