{"id":109,"date":"2008-08-04T05:50:50","date_gmt":"2008-08-04T10:50:50","guid":{"rendered":"http:\/\/s222061487.onlinehome.us\/GeekyThingz\/?p=109"},"modified":"2008-08-06T05:49:22","modified_gmt":"2008-08-06T10:49:22","slug":"how-to-have-mac-osxs-time-machine-feature-in-windows-xp-with-unison","status":"publish","type":"post","link":"https:\/\/www.geekythings.me\/?p=109","title":{"rendered":"How to have Mac OSX&#8217;s Time Machine feature in Windows XP with Unison."},"content":{"rendered":"<p>As much as I dislike the whole Caff\u00e8 Latte sipping, ribid fanboy culture around Apple, I can&#8217;t help but be jealous of some of the cool features that Apple has in their computers.<\/p>\n<p><a href=\"http:\/\/www.apple.com\/macosx\/features\/timemachine.html\">Time Machine<\/a> is ultra cool. Being able to go back in time to an eariler version of a document is extremly useful to have. Unless you have a Windows 2003 server at home, the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Shadow_Copy\">Shadow Copy<\/a> service is not available to you. <\/p>\n<p>With one great little open source program called <a href=\"http:\/\/www.cis.upenn.edu\/~bcpierce\/unison\/\">Unison<\/a> however, you can mimic this great backup feature on your Windows XP system.<\/p>\n<p>Here&#8217;s how you do it:<\/p>\n<p>1. Get the Unison Windows text binary from this <a href=\"http:\/\/www.seas.upenn.edu\/~bcpierce\/unison\/\/download\/unison-contributed-binaries\/windows\/\">site<\/a>. The version that I used was unison-2.10.2d-win-text.exe. You should rename the file to Unison.exe instead.<\/p>\n<p>2. Find a place to backup your data. Either a local folder, another computer&#8217;s shared folder or a NAS like FreeNAS will do. For example: \\\\server\\backupstore.<\/p>\n<p>3. Create a path on the backup location that will store the backup files.  You should have a sub folder for the folder that you intend to backup. If you are backing up &#8216;My Documents&#8217; for example: \\\\server\\backupstore\\backups\\my documents.<\/p>\n<p>4. Create a folder where the pervious file versions will be stored. For example: \\\\server\\backupstore\\backups\\oldversions.<\/p>\n<p>5. Run Unison once to create the c:\\Documents and Settings\\username\\.unison folder.<\/p>\n<p>6. Create a backup.prf file with the following information in the c:\\Documents and Settings\\username\\.unison folder: <\/p>\n<p><i># Unison preferences file<\/p>\n<p>#Source and destination root paths.<br \/>\nroot = c:\\documents and settings\\username\\my documents<br \/>\nroot = \\\\server\\backupstore\\backups\\my documents<\/p>\n<p># Helps out a lot on Windows<br \/>\nfastcheck = true<\/p>\n<p># Don&#8217;t synchronize permission bits<br \/>\nperms = 0<\/p>\n<p># Place new files at the top of the list<br \/>\nsortnewfirst = true<\/p>\n<p>#Backup everything and keep up to 5 old versions of a file in the oldversions folder.<br \/>\nbackup = Name *<br \/>\nmaxbackups = 5<br \/>\nbackuplocation = central<br \/>\nbackupdir = \\\\server\\backupstore\\backups\\oldversions<\/p>\n<p>#Force non conflicting updates to go through and ask no questions.<br \/>\nbatch = true<br \/>\nauto = true<br \/>\n<\/i><\/p>\n<p>7. Create a batch file called unisonbackup.bat with the following line:<br \/>\nc:\\path to unison\\unison backup.prf. <\/p>\n<p>8. Make a scheduled task to run the batch file once day or every few hours depending how often you want to check for file changes.  <\/p>\n<p>When the script is executed, all the files from the source root will be synched with data from the backup root location. If a file is changed, the old file will backed up to the old version folder. It&#8217;s not as fancy as Apple&#8217;s Time Machine feature but it will at least provide a way to go back in time to retrive old copies of a file that you need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As much as I dislike the whole Caff\u00e8 Latte sipping, ribid fanboy culture around Apple, I can&#8217;t help but be jealous of some of the cool features that Apple has in their computers. Time Machine is ultra cool. Being able &hellip; <a href=\"https:\/\/www.geekythings.me\/?p=109\">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":{"footnotes":""},"categories":[12],"tags":[16],"class_list":["post-109","post","type-post","status-publish","format-standard","hentry","category-cool-software","tag-unison-synch-backup-time-machine"],"_links":{"self":[{"href":"https:\/\/www.geekythings.me\/index.php?rest_route=\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geekythings.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.geekythings.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.geekythings.me\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geekythings.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109"}],"version-history":[{"count":0,"href":"https:\/\/www.geekythings.me\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.geekythings.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.geekythings.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.geekythings.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}