<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>the jackol's den &#187; LAMP</title>
	<atom:link href="http://www.thejackol.com/category/tips/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thejackol.com</link>
	<description>01100010 01101100 01100101 01101000</description>
	<lastBuildDate>Wed, 24 Feb 2010 13:23:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing BugZilla 3.4.1 on Dreamhost</title>
		<link>http://www.thejackol.com/2009/08/24/installing-bugzilla-3-4-1-on-dreamhost/</link>
		<comments>http://www.thejackol.com/2009/08/24/installing-bugzilla-3-4-1-on-dreamhost/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:17:18 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/?p=630</guid>
		<description><![CDATA[	Here&#8217;s a quick guide on installing Bugzilla 3.4.1 on Dreamhost.

	Fire up a shell and follow these steps (these command are from http://wiki.dreamhost.com/Bugzilla) in the directory of the domain you want to install Bugzilla in.

mkdir bugs
cd bugs
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-STABLE.tar.gz
tar zxf bugzilla-STABLE.tar.gz
rm bugzilla-STABLE.tar.gz
mv bugzilla*/* .


	Next, follow setups 6, 7, 8 and 9 from the Bugzilla Dreamhost wiki.

	Now you [...]]]></description>
			<content:encoded><![CDATA[	<p>Here&#8217;s a quick guide on installing Bugzilla 3.4.1 on Dreamhost.</p>

	<p>Fire up a shell and follow these steps (these command are from <a href="http://wiki.dreamhost.com/Bugzilla">http://wiki.dreamhost.com/Bugzilla</a>) in the directory of the domain you want to install Bugzilla in.</p>

<pre><code>mkdir bugs
cd bugs
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-STABLE.tar.gz
tar zxf bugzilla-STABLE.tar.gz
rm bugzilla-STABLE.tar.gz
mv bugzilla*/* .
</code></pre>

	<p>Next, follow setups 6, 7, 8 and 9 from the <a href="http://wiki.dreamhost.com/Bugzilla">Bugzilla Dreamhost wiki</a>.</p>

	<p>Now you will need to manually install <code>Module::Build</code> and <code>DateTime::Locale</code> for Bugzilla to work. To do this, first get the latest <span class="caps">CPAN</span> download links for the modules.</p>

	<p>For Module::Build, you&#8217;ll find the download link here: <a href="http://search.cpan.org/~kwilliams/Module-Build/">http://search.cpan.org/~kwilliams/Module-Build/</a><br />
For DateTime::Locale, you&#8217;ll find the download at: <a href="http://search.cpan.org/~drolsky/DateTime-Locale-0.43/">http://search.cpan.org/~drolsky/DateTime-Locale-0.43/</a></p>

	<p>I&#8217;ve used the latest available builds at the time of this writing for the example below. Next, follow these steps in the Bugzilla installation directory:</p>

<pre><code>mkdir tmp
cd tmp
PERL5LIB=/full-path-to-bugzilla-install-dir/lib
export PERL5LIB
wget http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Module-Build-0.31.tar.gz
tar xzf Module-Build-0.31.tar.gz
cd Module-Build-0.31
perl Makefile.pl
make
make test
make install
cd ..
rm -rf Module-Build*
</code>
<code># To install DateTime::Locale
wget http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Locale-0.43.tar.gz
tar zxf DateTime-Locale-0.43.tar.gz
cd DateTime-Locale-0.43
perl Makefile.pl
make
make test
make install
cd ../..
rm -rf tmp
</code></pre>

	<p>Re-run ./checksetup.pl and then fix permissions as in the Dreamhost Bugzilla wiki page:</p>

<pre><code>for i in docs graphs images js skins; do find $i -type d -exec chmod o+rx {} \; ; done
for i in jpg gif css js png html rdf xul; do find . -name \*.$i -exec chmod o+r {} \; ; done
find . -name .htaccess -exec chmod o+r {} \;
chmod o+x . data data/webdot
</code></pre>

	<p>You should now have a working Bugzilla installation at yourdomain.com/bugs.</p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2009/08/24/installing-bugzilla-3-4-1-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MKCOL &#8230; 405 Method Not Allowed Subversion error</title>
		<link>http://www.thejackol.com/2009/03/24/mkcol-405-method-not-allowed-subversion-error/</link>
		<comments>http://www.thejackol.com/2009/03/24/mkcol-405-method-not-allowed-subversion-error/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 16:20:35 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[source control]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tortoisesvn]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/?p=579</guid>
		<description><![CDATA[	I use DreamHost to store and manage all my Subversion repositories. When trying to commit a while back, I got this strange error:

svn: Commit failed (details follow):
svn: MKCOL of &#39;.../images&#39;: 405 Method Not Allowed


	Searching around, I managed to find a couple of reasons this could occur &#8212; wrong charset or a connectivity problem (proxy discarding [...]]]></description>
			<content:encoded><![CDATA[	<p>I use <a href="http://www.dreamhost.com/r.cgi?143924">DreamHost</a> to store and manage all my Subversion repositories. When trying to commit a while back, I got this strange error:</p>

<pre><code>svn: Commit failed (details follow):
svn: MKCOL of &#39;.../images&#39;: 405 Method Not Allowed
</code></pre>

	<p>Searching around, I managed to find a couple of reasons this could occur &#8212; wrong charset or a connectivity problem (proxy discarding the <code>MKCOL</code> command). I&#8217;m not behind a proxy so I tried passing a <code>charset</code> parameter but that didn&#8217;t really help.</p>

	<p>What finally helped was deleting the problematic &#8220;images&#8221; directory in the repository and re-commiting the directory. I use TortoiseSVN so it was as simple as using the Repo-Browser, right-clicking on the problematic directory and deleting it. The commit went through just fine after this.</p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2009/03/24/mkcol-405-method-not-allowed-subversion-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Backup Windows files into a Ubuntu file server via rsync</title>
		<link>http://www.thejackol.com/2009/02/19/backup-windows-files-into-a-ubuntu-file-server-via-rsync/</link>
		<comments>http://www.thejackol.com/2009/02/19/backup-windows-files-into-a-ubuntu-file-server-via-rsync/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 21:05:27 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/?p=565</guid>
		<description><![CDATA[	I have a Linux file server on Ubuntu 8.10 (Intrepid Ibex) running a rsync daemon, and a Windows server running a freeware rsync GUI called DeltaCopy. I wanted an automated, incremental backup every weekend.

	Configuring the Ubuntu machine is pretty straightforward. Install and configure rsync and xinetd

	There are a couple of changes from the rsyncd.conf you [...]]]></description>
			<content:encoded><![CDATA[	<p>I have a Linux file server on Ubuntu 8.10 (Intrepid Ibex) running a <code>rsync</code> daemon, and a Windows server running a freeware <code>rsync</code> <span class="caps">GUI</span> called <a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp">DeltaCopy</a>. I wanted an automated, incremental backup every weekend.</p>

	<p>Configuring the Ubuntu machine is pretty straightforward. <a href="https://help.ubuntu.com/community/rsync">Install and configure rsync and xinetd</a></p>

	<p>There are a couple of changes from the <code>rsyncd.conf</code> you get from the <span class="caps">URL</span> above, mainly to avoid permission related problems when trying to <code>rsync</code> from a Windows machine. Here is my complete <code>rsyncd.conf</code></p>

<pre><code>uid = backups
gid = nogroup
use chroot = yes 
max connections = 5 
pid file = /var/run/rsyncd.pid
log file = /var/log/rsync.log
incoming chmod = Dg=s,Dug=rwx,Do-rwx,Fug=rw,Fo-rwx
</code>
<code>[wbackups]
        path = /home/backups/wserver
        comment = Backups from wserver
        read only = false
        auth users = backups
        secrets file = /etc/rsyncd.secrets
        hosts allow = 192.168.1.1
</code></pre>

	<p>Changes to note from the Ubuntu Wiki example is the &#8220;incoming chmod&#8221; line and the &#8220;auth users&#8221; line. I created a separate user called &#8220;backups&#8221; and store everything under <code>/home/backups</code>. Next, I notified <code>logrotate</code> about the new log being created. To do this, create a file <code>/etc/logrotate.d/rsync</code> with the following:</p>

<pre><code>/var/log/rsync.log {
       weekly
       rotate 4
       compress
       notifempty
       missingok
}
</code></pre>

	<p>And that is about all you need to do on Ubuntu.</p>

	<p>On Windows:</p>

	<ol>
		<li><a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp">Install DeltaCopy</a></li>
		<li>Run the DeltaCopy Client, point it to the Ubuntu machine</li>
		<li>For &#8220;Virtual Directory&#8221;, my setting was <code>wbackups</code>, defined in the configuration file above</li>
		<li>Authenticate as the <code>backups</code> user you created</li>
	</ol>
	<ol>
		<li>Set your <code>rsync</code> options</li>
	</ol>

	<p>The rest should be straightforward. The DeltaCopy <span class="caps">GUI</span> also allows you to automatically schedule backups.</p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2009/02/19/backup-windows-files-into-a-ubuntu-file-server-via-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 Great Alternative Desktop Managers For Linux</title>
		<link>http://www.thejackol.com/2008/11/18/8-great-alternative-desktop-managers-for-linux/</link>
		<comments>http://www.thejackol.com/2008/11/18/8-great-alternative-desktop-managers-for-linux/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 06:35:33 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/?p=550</guid>
		<description><![CDATA[	
		Most of the Linux users should be familiar with Gnome and KDE since both of them are the most commonly used desktop managers in the various Linux distros. Now, if you are using an old PC with low hardware specs, you might find that the above two desktop environments are too heavy for your computer [...]]]></description>
			<content:encoded><![CDATA[	<blockquote>
		<p>Most of the Linux users should be familiar with Gnome and <span class="caps">KDE</span> since both of them are the most commonly used desktop managers in the various Linux distros. Now, if you are using an old PC with low hardware specs, you might find that the above two desktop environments are too heavy for your computer to handle.</p>
		<p>In this case, you will have to consider using an alternative lightweight desktop manager for your Linux. Here are 8 of the best lightweight desktop managers that I personally use and recommend.</p>
	</blockquote>

	<p><a href="http://www.makeuseof.com/tag/8-great-alternative-desktop-managers-for-linux/">Read more</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2008/11/18/8-great-alternative-desktop-managers-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing NetworkManager DNS issue in Ubuntu (Hardy Heron/Gutsy)</title>
		<link>http://www.thejackol.com/2008/05/20/fixing-networkmanager-dns-issue-in-ubuntu-hardy-herongutsy/</link>
		<comments>http://www.thejackol.com/2008/05/20/fixing-networkmanager-dns-issue-in-ubuntu-hardy-herongutsy/#comments</comments>
		<pubDate>Tue, 20 May 2008 15:58:04 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/2008/05/20/fixing-networkmanager-dns-issue-in-ubuntu-hardy-herongutsy/</guid>
		<description><![CDATA[	Using NetworkManager to change your DNS to custom servers, like OpenDNS, does not seem to stay between reboots. To fix this, edit the /etc/dhcp3/dhclient.conf file. In there, you will see a line similar to:

request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, host-name,
    netbios-name-servers, netbios-scope;


	
First of all, Remove domain-name-servers from that [...]]]></description>
			<content:encoded><![CDATA[	<p>Using NetworkManager to change your <span class="caps">DNS</span> to custom servers, like OpenDNS, does not seem to stay between reboots. To fix this, edit the <code>/etc/dhcp3/dhclient.conf</code> file. In there, you will see a line similar to:</p>

<pre><code>request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, host-name,
    netbios-name-servers, netbios-scope;
</code></pre>

	<p><br />
First of all, Remove <code>domain-name-servers</code> from that list.</p>

	<p>Second, add a line to set your custom <span class="caps">DNS</span> servers. For OpenDNS, you would do:</p>

<pre><code>prepend domain-name-servers 208.67.222.222,208.67.220.220;
</code></pre>

	<p><br />
<strong>Update</strong>: That doesn&#8217;t seem to always work. Easier way out would be to edit <code>/etc/resolv.conf</code> and add your <span class="caps">DNS</span> records like this:</p>

<pre><code>nameserver 208.67.222.222
nameserver 208.67.220.220
</code></pre>

	<p><br />
Then run <code>sudo chattr +i /etc/resolv.conf</code> to stop NetworkManager from overwriting the file.</p>

	<p>Your settings should now stay between restarts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2008/05/20/fixing-networkmanager-dns-issue-in-ubuntu-hardy-herongutsy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Deleting rows older than 30 days in MySQL</title>
		<link>http://www.thejackol.com/2008/01/27/deleting-rows-older-than-30-days-in-mysql/</link>
		<comments>http://www.thejackol.com/2008/01/27/deleting-rows-older-than-30-days-in-mysql/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 21:45:01 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/2008/01/27/deleting-rows-older-than-30-days-in-mysql/</guid>
		<description><![CDATA[	If you want to delete rows older than xx dates using MySQL, here is a simple way of doing so:

DELETE FROM mytable WHERE date &#60; DATE_SUB(NOW(), INTERVAL 30 DAY);


	You could also use INTERVAL 1 MONTH.]]></description>
			<content:encoded><![CDATA[	<p>If you want to delete rows older than xx dates using MySQL, here is a simple way of doing so:</p>

<pre><code>DELETE FROM mytable WHERE date &#60; DATE_SUB(NOW(), INTERVAL 30 DAY);
</code></pre>

	<p>You could also use <code>INTERVAL 1 MONTH</code>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2008/01/27/deleting-rows-older-than-30-days-in-mysql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Split large files in Linux</title>
		<link>http://www.thejackol.com/2007/09/07/split-large-files-in-linux/</link>
		<comments>http://www.thejackol.com/2007/09/07/split-large-files-in-linux/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 03:13:09 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/2007/09/07/split-large-files-in-linux/</guid>
		<description><![CDATA[	<p>Use the <code>split</code> command to do this:</p>

<pre><code>split --bytes=1024m bigfile.tar small_file_
</code></pre>

	<p>That command will split <code>bigfile.tar</code> into files that are 1024 MB in size (1GB) and name the various parts <code>small_file_aa</code>, <code>small_file_ab</code>, etc. You can specify <code>b</code> for bytes, <code>k</code> for Kilobytes and <code>m</code> for Megabytes to specify sizes.</p>

	<p>To join the files back together on Linux:</p>

<pre><code>cat small_file_* &#62;joined_file.tar
</code></pre>

	<p>Similarly to join the split files on a Windows machine, use the <code>copy</code> command:</p>

<pre><code>copy /b small_file_* joined_file.tar
</code></pre>

	<p><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com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pdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNjExMTYwODE1NDNaMCMGCSqGSIb3DQEJBDEWBBTMg4Ys4kQAlLyJw/0WeOen0tWcQDANBgkqhkiG9w0BAQEFAASBgGjg7GzFtusHVmQhSE6zfGTbiaXmmebVbL2dpnWbj9AOSwPp61l/gSHpQ+O+dWTqghqtxeN46arGvqLvbyDn7FeoZMgetTbC8Miy0ukvTYDny9IhDZK3m5YhmVoxrBbRzKKI9a/fqoQn+Ri3s96e6AVpRMDeP5nDOzWiptBjKwjq-----END PKCS7-----
">
</form></p>]]></description>
			<content:encoded><![CDATA[	<p>Use the <code>split</code> command to do this:</p>

<pre><code>split --bytes=1024m bigfile.tar small_file_
</code></pre>

	<p>That command will split <code>bigfile.tar</code> into files that are 1024 MB in size (1GB) and name the various parts <code>small_file_aa</code>, <code>small_file_ab</code>, etc. You can specify <code>b</code> for bytes, <code>k</code> for Kilobytes and <code>m</code> for Megabytes to specify sizes.</p>

	<p>To join the files back together on Linux:</p>

<pre><code>cat small_file_* &#62;joined_file.tar
</code></pre>

	<p>Similarly to join the split files on a Windows machine, use the <code>copy</code> command:</p>

<pre><code>copy /b small_file_* joined_file.tar
</code></pre>

	<p><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHTwYJKoZIhvcNAQcEoIIHQDCCBzwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzA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wGCSqGSIb3DQEJBTEPFw0wNjExMTYwODE1NDNaMCMGCSqGSIb3DQEJBDEWBBTMg4Ys4kQAlLyJw/0WeOen0tWcQDANBgkqhkiG9w0BAQEFAASBgGjg7GzFtusHVmQhSE6zfGTbiaXmmebVbL2dpnWbj9AOSwPp61l/gSHpQ+O+dWTqghqtxeN46arGvqLvbyDn7FeoZMgetTbC8Miy0ukvTYDny9IhDZK3m5YhmVoxrBbRzKKI9a/fqoQn+Ri3s96e6AVpRMDeP5nDOzWiptBjKwjq-----END PKCS7-----
">
</form></p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2007/09/07/split-large-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back up like an expert with rsync</title>
		<link>http://www.thejackol.com/2007/07/18/back-up-like-an-expert-with-rsync/</link>
		<comments>http://www.thejackol.com/2007/07/18/back-up-like-an-expert-with-rsync/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 13:39:37 +0000</pubDate>
		<dc:creator>Mikhail Esteves</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thejackol.com/2007/07/18/back-up-like-an-expert-with-rsync/</guid>
		<description><![CDATA[	
		In the last two months I&#8217;ve been traveling a lot. During the same period my main desktop computer went belly up. I would have been in trouble without rsync at my disposal &#8212; but thanks to my regular use of this utility, my data (or most of it, anyway) was already copied offsite just waiting [...]]]></description>
			<content:encoded><![CDATA[	<blockquote>
		<p>In the last two months I&#8217;ve been traveling a lot. During the same period my main desktop computer went belly up. I would have been in trouble without rsync at my disposal &#8212; but thanks to my regular use of this utility, my data (or most of it, anyway) was already copied offsite just waiting to be used. It takes a little time to become familiar with rsync, but once you are, you should be able to handle most of your backup needs with just a short script.</p>
		<p>What&#8217;s so great about rsync? First, it&#8217;s designed to speed up file transfer by copying the differences between two files rather than copying an entire file every time. For example, when I&#8217;m writing this article, I can make a copy via rsync now and then another copy later. The second (and third, fourth, fifth, etc.) time I copy the file, rsync copies the differences only. That takes far less time, which is especially important when you&#8217;re doing something like copying a whole directory offsite for daily backup. The first time may take a long time, but the next will only take a few minutes (assuming you don&#8217;t change that much in the directory on a daily basis).</p>
		<p>Another benefit is that rsync can preserve permissions and ownership information, copy symbolic links, and generally is designed to intelligently handle your files.</p>
	</blockquote>

	<p><a href="http://www.linux.com/feature/117236">Link</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thejackol.com/2007/07/18/back-up-like-an-expert-with-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
