<?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>Decrypt Web &#187; backup</title>
	<atom:link href="http://blog.decryptweb.com/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.decryptweb.com</link>
	<description>Open Source Web Solutions</description>
	<lastBuildDate>Sat, 24 Jul 2010 05:58:28 +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>Database Backup</title>
		<link>http://blog.decryptweb.com/database-backup/</link>
		<comments>http://blog.decryptweb.com/database-backup/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:12:03 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[PHP/MySQL]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=99</guid>
		<description><![CDATA[I am listing here the PHP script to generate backup of database.

&#60;?php
/* Database Backup */
$username = &#34;dbusername&#34;;  //database username
$password = 'dbpass';   //database password
$hostname = &#34;localhost&#34;;  //host
$dbname = &#34;dbname&#34;; //databse name
$sConnString = mysql_connect($hostname, $username, $password)
or die(&#34;Unable to connect to MySQL&#34;);

$name = '/pathtodirectory/db'.date('d-m-Y').'.sql.gz'; //give full path of the directory where the backup should [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/database-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
