<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>TechOpinionation - Backup</title>
    <link>http://joshuakugler.com/</link>
    <description>The life of a programmer/system admin</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.1 - http://www.s9y.org/</generator>
    <pubDate>Sat, 16 Aug 2008 08:01:42 GMT</pubDate>

    <image>
        <url>http://joshuakugler.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: TechOpinionation - Backup - The life of a programmer/system admin</title>
        <link>http://joshuakugler.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Relative Difficulty</title>
    <link>http://joshuakugler.com/archives/2-Relative-Difficulty.html</link>
            <category>Backup</category>
            <category>Operating Systems</category>
    
    <comments>http://joshuakugler.com/archives/2-Relative-Difficulty.html#comments</comments>
    <wfw:comment>http://joshuakugler.com/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://joshuakugler.com/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (Joshua Kugler)</author>
    <content:encoded>
    The other day, at work, we were working on setting up an automated qurk-and-dirty back up for some files from one Linux box to another.  The link was a long distance one (from a data center in Dallas to our office in Anchorage).  The solution was simple and elegant:&lt;br /&gt;
&lt;br /&gt;
On the host being backed up:&lt;br /&gt;
&lt;div class=&quot;bash&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;tar -cv&amp;#160; /etc|bzip2 -&lt;span style=&quot;color: #cc66cc;&quot;&gt;9&lt;/span&gt; -c | ssh -i /path/to/id_rsa user@backuphost.com \&lt;br /&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;(cat &amp;gt; /path/to/backup.tar.bz2)&quot;&lt;/span&gt; &lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
Tar up the files, pipe it through bzip2, pipe the output of bzip2 through SSH, which connects to the remote host via a keyed login, and output the result of that stream to a file on the other side.&lt;br /&gt;
&lt;br /&gt;
Any idea how much contortion you&#039;d have to go through to do the same thing on Windows?  Difficulty: assume no use of SSH, and no interactive login (i.e. must be able to run completely unattended).&lt;br /&gt;
&lt;br /&gt;
I asked my programming lead that question, and he said, &quot;An order of a magnitude more.&quot; &lt;br /&gt;
&lt;br /&gt;
&quot;Only one order?&quot;&lt;br /&gt;
&lt;br /&gt;
&quot;I said OR MORE.  OR MORE with windows always means MORE.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Edit:&lt;/strong&gt; Yes, run &lt;em&gt;unattended&lt;/em&gt;, not unintended.  Although I like cubiculum&#039;s  comment on reddit: &quot;Windows does that sort of thing all the time.&quot; 
    </content:encoded>

    <pubDate>Sun, 10 Aug 2008 20:47:00 +0000</pubDate>
    <guid isPermaLink="false">http://joshuakugler.com/archives/2-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><category>backup</category>
<category>difficulty</category>
<category>linux</category>
<category>windows</category>

</item>

</channel>
</rss>
