<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Backups on RESEARCHUT</title><link>https://researchut.com/tags/backups/</link><description>Recent content in Backups on RESEARCHUT</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>rrs@researchut.com (Ritesh Raj Sarraf)</managingEditor><webMaster>rrs@researchut.com (Ritesh Raj Sarraf)</webMaster><lastBuildDate>Wed, 18 Dec 2013 12:23:53 -0500</lastBuildDate><atom:link href="https://researchut.com/tags/backups/index.xml" rel="self" type="application/rss+xml"/><item><title>Windows 7 Profile Synchronization</title><link>https://researchut.com/blog/win7-profile-backup/</link><pubDate>Wed, 18 Dec 2013 12:23:53 -0500</pubDate><author>rrs@researchut.com (Ritesh Raj Sarraf)</author><guid>https://researchut.com/blog/win7-profile-backup/</guid><description>&lt;p>Lately, for my day job (to be more efficient for the time I spent), I am
required to use Windows, back again. :-)&lt;/p>
&lt;p>It is great to be back. By back, I mean using Windows for some of the
workflows. All these years, I&amp;rsquo;ve been using Linux based tools (Debian, Kontact
| IceDove, Konq | Chromium | IceWeasel etc) to get my job done. It is great to
try back Windows for some of the workflows.&lt;/p>
&lt;p>So my Guest VM is a &lt;strong>Windows 7&lt;/strong> Client. It is connected to my corporate
domain. But interestingly, we do not use &lt;strong>Roaming Profiles&lt;/strong>. That means, if
I corrupt my Windows VM, I lose all my local changes. PS: And it did happen
twice. That &amp;rsquo;s why you are reading this blog entry. So don&amp;rsquo;t procrastinate.&lt;/p>
&lt;p>Back when interactinge with Win2K Client, IIRC, there was an option to specify
&lt;em>the location of your profile&lt;/em>. I am not sure if that option really was
present or was it just my memory.&lt;/p>
&lt;p>Anyways, my intent was to look for something which would allow me to sync my
profile to a network location, which, I could map to a &lt;strong>VirtualBox&lt;/strong> map,
pointing to a &lt;em>Linux File System location&lt;/em>. That &amp;rsquo;d allow me to have a copy of
the Windows profile handy, in case the Guest VM ever got lost.&lt;/p>
&lt;p>So what do we have???? Microsoft provides the &lt;strong>Sync Center&lt;/strong> tool, which is
intended to synchronize and make available your network files / folders. **
&lt;em>BUT NOT vice versa&lt;/em>**. :-( I though MS was good at providing choice but they
seem to have been choosing the Apple route.&lt;/p>
&lt;p>With Sync Center gone, what other choices do we have??? &lt;em>My intent is to run
something from within the Guest VM, and not externally (like samba tools,
rsync etc). I also desire to run something native and not a 3rd party, for
obvious reasons.&lt;/em>&lt;/p>
&lt;p>So that brings me to &lt;strong>SyncToy&lt;/strong>. This tool is something I had never heard of
before, but then, I never ran into a requirement like this&amp;hellip;&amp;hellip;. Since the
very first run, I have been happy and impressed with this tool. Below I &amp;rsquo;ll
give you the reasons why&amp;hellip;.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>_ &lt;strong>Simplicity&lt;/strong>_ - Yeah!!! I like the simplicity they &amp;rsquo;ve provided. The screenshot should say it all..&lt;img src="https://researchut.com/images/sync%20toy%20configuration%20summary.jpg" alt="">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Operating Modes&lt;/strong> - The tool has 3 opeating modes. The one I use is &lt;em>Echo&lt;/em> , which as the name suggests, will echo from LHS to RHS&lt;img src="https://researchut.com/images/sync%20toy%20synchronization%20mode.jpg" alt="">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Regex Filter&lt;/strong> - So in within the &lt;strong>Profile Folder&lt;/strong> that I backup, I do not want to backup the &lt;strong>Outlook&lt;/strong> Folder. That data is anyways frequently backed up by my &lt;strong>MS Outlook&lt;/strong> client to the &lt;strong>Exchange&lt;/strong> server. And also, that folder cache is bloatedly big. SyncToy made me happy here too. &lt;img src="https://researchut.com/images/folder%20exclusion.jpg" alt="">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>** &lt;del>Execution&lt;/del> Summary** - With all the settings in place, just initiate the run and you see the following. &lt;img src="https://researchut.com/images/Sync%20Toy%20Summary.jpg" alt=""> Hmmmmm!!!! But run it always, &lt;em>manually&lt;/em>. Don &amp;rsquo;t I have a better (cron) job????&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Windows Cron&lt;/strong> - Here you go&amp;hellip;. I desired to have it run every 12 hrs. But the interface is shy to show. And I &amp;rsquo;m lazy to poke..&lt;img src="https://researchut.com/images/sync%20toy%20task%20scheduler.jpg" alt="">&lt;/p>
&lt;/li>
&lt;/ul></description></item><item><title>Compressing Backups</title><link>https://researchut.com/post/23/</link><pubDate>Sat, 04 Apr 2009 06:41:00 -0400</pubDate><author>rrs@researchut.com (Ritesh Raj Sarraf)</author><guid>https://researchut.com/post/23/</guid><description>&lt;p>Once upon a time CPU power was low. In those days, what we have today, was
termed to be Super Computers.&lt;/p>
&lt;p>Thanks to tough competition and great engineering, we now have CPU in the
range of Gigahertz and multiple cores. But on Destkops/Laptops, do we really
have applications that utilize the ability of these processors ?&lt;/p>
&lt;p>So I thought about making these powerful CPUs to do some work.&lt;/p>
&lt;p>There are different views about Backups. My preference has always been that my
backup should be an identical image of my entire OS. That&amp;rsquo;d include the cache,
the packages installed, my personal data, my mail spool et cetera. Given the
requirements, my preferred choice of Backups has been &lt;a href="http://www.researchut.com/blog/archive/2009/03/04/Backups__Recovery">LVM
Snapshots&lt;/a>.&lt;/p>
&lt;p>And now to add to that is this&lt;/p>
&lt;blockquote>
&lt;p>rrs@champaran:~$ dd if=debian-500-amd64-i386-powerpc-netinst.iso | bzip2 -v
/tmp/bzip.test&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>(stdin): 965192+0 records in&lt;br>
965192+0 records out&lt;br>
494178304 bytes (494 MB) copied, 291.708 s, 1.7 MB/s&lt;br>
1.058:1, 7.559 bits/byte, 5.51% saved, 494178304 in, 466933711 out.&lt;br>
rrs@champaran:&lt;del>$ du -h debian-500-amd64-i386-powerpc-netinst.iso
/tmp/bzip.test&lt;br>
472M debian-500-amd64-i386-powerpc-netinst.iso&lt;br>
446M /tmp/bzip.test&lt;br>
rrs@champaran:&lt;/del>$ dd if=/tmp/bzip.test | bunzip2 -dc | dd
of=/tmp/bzip.uncompress&lt;br>
911979+1 records in&lt;br>
911979+1 records out&lt;br>
466933711 bytes (467 MB) copied, 135.861 s, 3.4 MB/s&lt;br>
965192+0 records in&lt;br>
965192+0 records out&lt;br>
494178304 bytes (494 MB) copied, 136.115 s, 3.6 MB/s&lt;br>
rrs@champaran:&lt;del>$ du -h debian-500-amd64-i386-powerpc-netinst.iso
/tmp/bzip.uncompress&lt;br>
472M debian-500-amd64-i386-powerpc-netinst.iso&lt;br>
472M /tmp/bzip.uncompress&lt;br>
rrs@champaran:&lt;/del>$ md5sum&lt;br>
md5sum md5sum.textutils&lt;br>
rrs@champaran:&lt;del>$ md5sum debian-500-amd64-i386-powerpc-netinst.iso&lt;br>
6c8cdaeaff65741a6fd37366a1ecc1b0 debian-500-amd64-i386-powerpc-netinst.iso&lt;br>
rrs@champaran:&lt;/del>$ md5sum /tmp/bzip.uncompress&lt;br>
6c8cdaeaff65741a6fd37366a1ecc1b0 /tmp/bzip.uncompress&lt;/p>
&lt;/blockquote>
&lt;p>Now, the thing I need to verify is is wether D-I ships bzip2 utils on the CD.&lt;/p></description></item></channel></rss>