<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Thanixprience&#039;s Blog</title>
	<atom:link href="http://thanixprience.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thanixprience.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 18 Jul 2009 07:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thanixprience.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Thanixprience&#039;s Blog</title>
		<link>http://thanixprience.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thanixprience.wordpress.com/osd.xml" title="Thanixprience&#039;s Blog" />
	<atom:link rel='hub' href='http://thanixprience.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing Ruby On Rails on Ubuntu</title>
		<link>http://thanixprience.wordpress.com/2009/07/18/installing-ruby-on-rails-on-ubuntu/</link>
		<comments>http://thanixprience.wordpress.com/2009/07/18/installing-ruby-on-rails-on-ubuntu/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 07:34:05 +0000</pubDate>
		<dc:creator>thanixprience</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thanixprience.wordpress.com/2009/07/18/installing-ruby-on-rails-on-ubuntu/</guid>
		<description><![CDATA[This is what I did to get Ruby and Rails working on my new Ubuntu8.04 LTS. It appears that nothing really changed from previous version.The basic step is to install the Ruby using apt-get and installing theGem from the source. I learned my lesson NOT to install Ruby from thesource on Ubuntu. Just remember that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=16&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is what I did to get Ruby and Rails working on my new Ubuntu<br />8.04 LTS. It appears that nothing really changed from previous version.<br />The basic step is to install the Ruby using apt-get and installing the<br />Gem from the source. I learned my lesson NOT to install Ruby from the<br />source on Ubuntu. Just remember that if any gem installation fails,<br />just get the required library using apt-get and get the ‘dev’ version<br />as well. This is the rule of thumb I’ve been following and has worked<br />out well for me.</p>
<p>
<p><strong>Step 1: Install Ruby from apt-get.</strong></p>
<p><code>~$ sudo apt-get install ruby irb ri rdoc ruby1.8-dev libzlib-ruby<br />libyaml-ruby libreadline-ruby libncurses-ruby libcurses-ruby libruby<br />libruby-extras libfcgi-ruby1.8 build-essential libopenssl-ruby<br />libdbm-ruby libdbi-ruby libdbd-sqlite3-ruby sqlite3 libsqlite3-dev<br />libsqlite3-ruby libxml-ruby libxml2-dev</code></p>
<p>
<p><strong>Step 2: Download and install RubyGems</strong></p>
<p>Just download and extract the latest Gem and run following command.</p>
<p><code>~$ sudo ruby setup.rb</code></p>
<p>After successful installation, run this to create the link in /usr/bin</p>
<p><code>~$ sudo ln -s /usr/bin/gem1.8 /usr/bin/gem</code></p>
<p>
<p><strong>Step 3: Install Rails and Gems</strong></p>
<p><code>~$ sudo gem install rails</p>
<p>~$ sudo gem install sqlite3-ruby mongrel capistrano</code></p>
<p>
<p>Since I don’t use MySQL anymore, it’s really optional. It’s<br />basically same as before, just make sure you are using following<br />command to get everything you need for MySQL.</p>
<p><code>~$ sudo apt-get install mysql-server mysql-client libdbd-mysql-ruby libmysqlclient15-dev</code></p>
<p>
<p>** UPDATE **</p>
<p>- “libmysqlclient-dev” is now “libmysqlclient15-dev” =&gt; I found this<br />out while installing my new server, but it appears that maurizio de<br />magnis already posted the solution in the comments. Thanks!</p>
<p>-  “buildessential” is no longer required when installing Ubuntu Server</p>
<p>courtesy : <a href="http://ralf.schaeftlein.de/2009/02/04/howto-setup-a-openldap-server-for-ubuntu-810/">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thanixprience.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thanixprience.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thanixprience.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thanixprience.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thanixprience.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thanixprience.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thanixprience.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thanixprience.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=16&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thanixprience.wordpress.com/2009/07/18/installing-ruby-on-rails-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10cb17b56d942c0e66be0f7f0df14862?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thanixprience</media:title>
		</media:content>
	</item>
		<item>
		<title>Fixing GD image rotation for Drupal 6 on Ubuntu</title>
		<link>http://thanixprience.wordpress.com/2009/07/18/fixing-gd-image-rotation-for-drupal-6-on-ubuntu/</link>
		<comments>http://thanixprience.wordpress.com/2009/07/18/fixing-gd-image-rotation-for-drupal-6-on-ubuntu/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 07:28:05 +0000</pubDate>
		<dc:creator>thanixprience</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thanixprience.wordpress.com/2009/07/18/fixing-gd-image-rotation-for-drupal-6-on-ubuntu/</guid>
		<description><![CDATA[On Ubuntu Server 8.04, PHP5, Drupal 6.x. If your Drupal&#8217;s Status report page returns the following error: GD Image Rotation Low Quality / Poor Performance The installed version of PHP GD does not support &#8230; Here are the steps to remedy it. This will install a GD pre-compiledworking version. It is a complete bundled (forked) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=14&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="content"> 
<p>On Ubuntu Server 8.04, PHP5, Drupal 6.x. If your Drupal&#8217;s Status report page returns the following error:</p>
<p>
<blockquote>
<div class="wbq">
<p>GD Image Rotation Low Quality / Poor Performance</p>
<p>The installed version of PHP GD does not support &#8230;</p>
<p></div>
<p></p></blockquote>
<p>
<p>Here are the steps to remedy it. This will install a GD pre-compiled<br />working version. It is a complete bundled (forked) GD libraries:</p>
<p>
<p>1. Adding 2 lines to your file /etc/apt/<strong>sources.lst</strong></p>
<p>
<div class="codeblock">
<div class="geshifilter">
<div class="php geshifilter-php" style="font-family:monospace;">deb http<span style="color:rgb(51,153,51);">:</span><span style="color:rgb(102,102,102);font-style:italic;">//packages.dotdeb.org stable all</span></p>
<p>deb<span style="color:rgb(51,153,51);">-</span>src http<span style="color:rgb(51,153,51);">:</span><span style="color:rgb(102,102,102);font-style:italic;">//packages.dotdeb.org stable all</span></div>
</div>
</div>
<p>
<p>2. If not already done removing your current GD package and its configurations.</p>
<p>
<p><span class="geshifilter"><code class="geshifilter-php">sudo apt<span style="color:rgb(51,153,51);">-</span>get remove php5<span style="color:rgb(51,153,51);">-</span>gd </code></span></p>
<p><span class="geshifilter"><code class="geshifilter-php">sudo apt<span style="color:rgb(51,153,51);">-</span>get <span style="color:rgb(51,153,51);">--</span>purge remove </code></span></p>
<p>
<p>3. Updating your current apt-get list</p>
<p>
<p><span class="geshifilter"><code class="geshifilter-php">apt<span style="color:rgb(51,153,51);">-</span>get update</code></span></p>
<p>
<p>4. Installing working GD package.</p>
<p><span class="geshifilter"><code class="geshifilter-php">apt<span style="color:rgb(51,153,51);">-</span>get install php5<span style="color:rgb(51,153,51);">-</span>gd</code></span></p>
<p>
<p>It will complain about non-authenticated sources, just ignore, it will also update some additional php libs.</p>
<p>
<p>When prompt select <strong>keep_current</strong> modified php.ini</p>
<p>
<p>5. Restarting Apache</p>
<p><span class="geshifilter"><code class="geshifilter-php"><span style="color:rgb(51,153,51);">/</span>etc<span style="color:rgb(51,153,51);">/</span>init<span style="color:rgb(51,153,51);">.</span>d<span style="color:rgb(51,153,51);">/</span>apache2 restart</code></span></p>
<p>Courtesy : <a href="http://www.realityloop.com/blog/2009/05/24/fixing-gd-image-rotation-drupal-6-ubuntu-server-810">here</a><br /><span class="geshifilter"><code class="geshifilter-php"></code></span></p>
<p><span class="geshifilter"><code class="geshifilter-php"><br /></code></span></p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thanixprience.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thanixprience.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thanixprience.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thanixprience.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thanixprience.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thanixprience.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thanixprience.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thanixprience.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=14&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thanixprience.wordpress.com/2009/07/18/fixing-gd-image-rotation-for-drupal-6-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10cb17b56d942c0e66be0f7f0df14862?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thanixprience</media:title>
		</media:content>
	</item>
		<item>
		<title>Email Notification for every SVN Commit</title>
		<link>http://thanixprience.wordpress.com/2009/07/18/email-notification-for-every-svn-commit/</link>
		<comments>http://thanixprience.wordpress.com/2009/07/18/email-notification-for-every-svn-commit/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 07:06:31 +0000</pubDate>
		<dc:creator>thanixprience</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thanixprience.wordpress.com/2009/07/18/email-notification-for-every-svn-commit/</guid>
		<description><![CDATA[We can create email notification for every commit in SVN.For this I googled and get a howto here .we can&#160; run a perl Script to do this. ( commit-email.pl )But here ,By simply we can install a perl module name with SVN-Notify for better emails.We can install that module&#160; simply by typing &#160;perl MCPAN -e [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=12&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font face="arial">We can create email notification for every commit in SVN.<br />For this I googled and get a howto <a href="http://andy.blog-city.com/better_subversion_notification_emails_with_svnnotify.htm">here</a> .<br />we can&nbsp; run a perl Script to do this. ( commit-email.pl )<br />But here ,By simply we can install a perl module name with SVN-Notify for better emails.<br />We can install that module&nbsp; simply by typing <br />&nbsp;perl MCPAN -e &#8216;install SVN:Notify&#8217;<br />For&nbsp; cpan FAQ see <a href="http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules">here</a></p>
<p></font>
<p><font face="arial">Check that it works by typing &#8220;svnnotify&#8221; at the terminal. <br /></font></p>
<p><font face="arial">You should be prompted for more arguments</font></p>
<p><font face="arial">Missing required &#8220;&#8211;repos-path&#8221; parameter</font></p>
<p><font face="arial">With that installed, the next step is to replace the existing call to <em>commit-email.pl </em>with a call to svnnotify:</font></p>
<p><font face="arial">svnnotify &#8211;repos-path &#8220;$1&#8243; &#8211;revision &#8220;$2&#8243; &#8211;to myemail@example.org &#8211;from anotheremail@example.org</font></p>
<p><font face="arial">The arguments are fairly self explanatory. You just need to replace the<br />values for the &#8211;to and &#8211;from arguments. A whole host of further<br />argument options are detailed in the <a href="http://search.cpan.org/dist/SVN-Notify/lib/SVN/Notify.pm" target="_blank">documentation</a>.<br />You may, for example, wish to use a particular smtp server rather than<br />relying on sendmail being installed and accessible on the SVN server. </font></p>
<p><font face="arial">If&nbsp; you like to see who committed the fix by the email address<br />it came from, you can replace the &#8211;from argument with the<br />&#8211;user-domain argument.</font></p>
<p><font face="arial">The email notifications will subsequently come<br />from the given user that committed the fix @ the given domain (e.g.<br />user@example.org).</font></p>
<p><font face="arial">svnnotify &#8211;repos-path &#8220;$1&#8243; &#8211;revision &#8220;$2&#8243; &#8211;to myemail@example.org &#8211;user-domain example.org </font></p>
<p><font face="arial">The emails you receive with the previous command are fairly similar to the ones received via the <em>commit-email.pl</em>. In order to receive colorized html emails complete with diffs you need to add a couple of arguments:</font></p>
<p><font face="arial">svnnotify &#8211;repos-path &#8220;$1&#8243; &#8211;revision &#8220;$2&#8243; &#8211;to myemail@example.org &#8211;from<br />anotheremail@example.org &#8211;handler HTML:ColorDiff -d </font></p>
<blockquote></blockquote>
<p><font face="arial">There are further options when you use this email as detailed in the <a href="http://search.cpan.org/dist/SVN-Notify/lib/SVN/Notify/HTML.pm" target="_blank">SVN::Notify::HTML</a>  and <a href="http://search.cpan.org/dist/SVN-Notify/lib/SVN/Notify/HTML/ColorDiff.pm" target="_blank">SVN:Notify::HTML::ColorDiff</a></font>  documentation. For example, you can provide a css url if the default styling of the email isn&#8217;t to your liking.&nbsp;  </p>
<p><code></code><br /><font face="sans-serif"><br /></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thanixprience.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thanixprience.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thanixprience.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thanixprience.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thanixprience.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thanixprience.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thanixprience.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thanixprience.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=12&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thanixprience.wordpress.com/2009/07/18/email-notification-for-every-svn-commit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10cb17b56d942c0e66be0f7f0df14862?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thanixprience</media:title>
		</media:content>
	</item>
		<item>
		<title>Automatically backing up multiple Subversion repositories</title>
		<link>http://thanixprience.wordpress.com/2009/07/14/automatically-backing-up-multiple-subversion-repositories/</link>
		<comments>http://thanixprience.wordpress.com/2009/07/14/automatically-backing-up-multiple-subversion-repositories/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 17:20:09 +0000</pubDate>
		<dc:creator>thanixprience</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thanixprience.wordpress.com/2009/07/14/automatically-backing-up-multiple-subversion-repositories/</guid>
		<description><![CDATA[I got the&#160; simple script to automatically dump allof SVN Repositories to a directory of my choosing. I’ve added this script to thecrontab&#160; on the server, and it runs svndump on all repositories gzipping the output for archive for&#160; restore The output is stored in a specified backup directory,&#160; and copied to the external backup [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=6&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got the&nbsp; simple script to automatically dump all<br />of SVN Repositories to a directory of my choosing. I’ve added this script to the<br />crontab&nbsp; on the server, and it runs<code> <font face="sans-serif" color="#3333ff">svndump</font></code> on all <font face="sans-serif" color="#3333ff"><font color="#000000">repositories</font><code> <big><big>gzip</big></big></code></font><font face="sans-serif">ping</font> the output for archive for&nbsp; restore</p>
<p>
<p>The output is stored in a specified backup directory,&nbsp; and copied to the external backup drive.</p>
<p>The script is ,</p>
<pre>#!/bin/sh

SVN_REPOSITORIES_ROOT_DIR="/svn_repositories/"
BACKUP_DIRECTORY="/Users/Shared/backup/svn/"

for REPOSITORY in `ls -1 $SVN_REPOSITORIES_ROOT_DIR`
do
echo 'dumping repository: ' $REPOSITORY
/usr/local/bin/svnadmin dump $SVN_REPOSITORIES_ROOT_DIR$REPOSITORY | gzip &gt; $BACKUP_DIRECTORY$REPOSITORY'.gz'
done</pre>
<p>Source : <a href="http://www.darcynorman.net/2006/04/05/automatically-backing-up-multiple-subversion-repositories/">Svnbackup <br /></a></p>
<p><a href="http://www.darcynorman.net/2006/04/05/automatically-backing-up-multiple-subversion-repositories/"><br /></a></p>
<p>The next script is used to take&nbsp; backs up all<br />repositories in your Subversion repository directory, puts on a<br />timestamp, and then deletes all repository backups older than seven<br />days.&nbsp;</p>
<p><font color="#000099">#! /bin/bash <br /></font> </p>
<p><font color="#000099">######################################################################## <br /># CONSTANTS <br /># <br />REPOS_BASE=&#8221;/subversion/repositories&#8221; <br />BACKUP_DIR=&#8221;/subversion/backups&#8221; <br />SVNADMIN_CMD=&#8221;/usr/bin/svnadmin&#8221; <br /># <br />######################################################################## <br /></font> </p>
<p><font color="#000099">######################################################################## <br /># BACKUP EACH AND EVERY REPOSITORY VIA THE &#8220;HOTCOPY&#8221; COMMAND <br /># <br />for repository in $REPOS_BASE/* <br />do <br />&nbsp;&nbsp;&nbsp;&nbsp;reposBase=`basename $repository` <br />&nbsp;&nbsp;&nbsp;&nbsp;date_string=`date &#8220;+%F&#8221;` <br />&nbsp;&nbsp;&nbsp;&nbsp;backupName=&#8221;$BACKUP_DIR/$date_string&#8211;$reposBase&#8221; <br />&nbsp;&nbsp;&nbsp;&nbsp;[ -d "$backupName" ] &amp;&amp; rm -rf $backupName/* <br />&nbsp;&nbsp;&nbsp;&nbsp;mkdir -p &#8220;$backupName&#8221; <br />&nbsp;&nbsp;&nbsp;&nbsp;&#8221;$SVNADMIN_CMD&#8221; hotcopy &#8220;$repository&#8221; &#8220;$backupName&#8221; <br />done <br /># <br />######################################################################## <br /></font> </p>
<p><font color="#000099">######################################################################## <br /># DELETE BACKUPS OLDER THAN 7 DAYS OLD <br /># <br />find $BACKUP_DIR -mtime +7 -delete <br /># <br />######################################################################## </font></p>
<p></p>
<p>Source : <a href="http://svn.haxx.se/users/archive-2008-10/0985.shtml">Svnbackup</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thanixprience.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thanixprience.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thanixprience.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thanixprience.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thanixprience.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thanixprience.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thanixprience.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thanixprience.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=6&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thanixprience.wordpress.com/2009/07/14/automatically-backing-up-multiple-subversion-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10cb17b56d942c0e66be0f7f0df14862?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thanixprience</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://thanixprience.wordpress.com/2009/07/13/hello-world/</link>
		<comments>http://thanixprience.wordpress.com/2009/07/13/hello-world/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 07:54:44 +0000</pubDate>
		<dc:creator>thanixprience</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=1&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thanixprience.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thanixprience.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thanixprience.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thanixprience.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thanixprience.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thanixprience.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thanixprience.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thanixprience.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thanixprience.wordpress.com&amp;blog=8551069&amp;post=1&amp;subd=thanixprience&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thanixprience.wordpress.com/2009/07/13/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10cb17b56d942c0e66be0f7f0df14862?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thanixprience</media:title>
		</media:content>
	</item>
	</channel>
</rss>
