<?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>HydTech &#187; Webhosting</title>
	<atom:link href="http://hydtechblog.com/category/webhosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://hydtechblog.com</link>
	<description>anotha hyd anotha day</description>
	<lastBuildDate>Sun, 24 Jul 2011 22:38:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to check the current PHP handler and change it</title>
		<link>http://hydtechblog.com/2011/06/05/how-to-check-the-current-php-handler-and-change-it/</link>
		<comments>http://hydtechblog.com/2011/06/05/how-to-check-the-current-php-handler-and-change-it/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 20:17:27 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[php handlers]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1077</guid>
		<description><![CDATA[[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: cgi SUEXEC: not installed [root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf 4 dso none 1 [root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current Available handlers: suphp dso cgi none DEFAULT PHP: 4 PHP4 SAPI: dso PHP5 SAPI: none SUEXEC: enabled [root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;help ====================================== [...]]]></description>
			<content:encoded><![CDATA[<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current<br />
Available handlers: suphp dso cgi none<br />
DEFAULT PHP: 5<br />
PHP4 SAPI: none<br />
PHP5 SAPI: cgi<br />
SUEXEC: not installed</p>
<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf 4 dso none 1</p>
<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current<br />
Available handlers: suphp dso cgi none<br />
DEFAULT PHP: 4<br />
PHP4 SAPI: dso<br />
PHP5 SAPI: none<br />
SUEXEC: enabled</p>
<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;help<br />
======================================<br />
Usage:-<br />
/usr/local/cpanel/bin/rebuild_phpconf [--dryrun] [--no-restart]<br />
 [--no-user-updates]<br />
[--current|--available] <Default PHP> <PHP4 Handler> <PHP5 Handler> <Suexec><br />
 &#8211;dryrun       : Only display the changes that would be made<br />
 &#8211;no-restart   : Don&#8217;t restart Apache after updating the php.conf link<br />
 &#8211;no-htaccess  : Don&#8217;t update user configurable PHP mime mapping.<br />
 &#8211;current      : Show current settings<br />
 &#8211;available    : Show available handlers and PHP SAPIs<br />
 <Default PHP>  : Version of PHP to set as default handler for .php files<br />
 <PHP# Handler> : Type of Apache module to use in serving PHP requests<br />
<Suexec>       : enabled, disabled, 1 or 0<br />
======================================</p>
<p>The Five Types of PHP Configuration That Are Possible:-<br />
 ====================================================<br />
 * None – Don’t provide access to this version of PHP<br />
 *DSO – Provide this version of PHP via libphp4.so or libphp5.so ( mod_php). This is normally the fastest possible way to serve PHP requests, but PHP will execute as the user “nobody”. If both versions of PHP are available, it is impossible to configure both to be served as DSO unless the concurrent DSO patch was applied at build time.<br />
 * SuPHP – Provide this version of PHP through mod_suphp. This is the most flexible way of serving PHP requests and tends to be very secure. PHP scripts are executed by the user who owns the VirtualHost serving the request.<br />
 * FCGI – Provide this version of PHP through mod_fcgid. This is a very fast way of serving PHP requests, but php.conf will most likely require additional tuning to perform well. If Suexec is enabled, each user will create their own PHP FastCGI server automatically and PHP scripts will be executed by the user who owns the VirtualHost serving the request. If Suexec is disabled, the “nobody” user will own all of the PHP FastCGI server processes and PHP scripts will be executed by the “nobody” user. FCGI mode is recommended only for advanced administrators who understand how to tune the performance of mod_fcgid. Userdir requests will not function correctly with the basic mod_fcgid setup provided by cPanel.<br />
 * CGI – Provide this version of PHP through mod_cgi or mod_cgid. If Suexec is enabled, PHP scripts will be executed by the user who owns the VirtualHost serving the request. If Suexec is disabled, the “nobody” user will execute all PHP scripts. Userdir requrests will not function correctly with the basic CGI setup provided by cPanel. It is intended as a fallback when the other preferred methods (DSO or SuPHP) are not available. Serving PHP as CGI is not particularly secure or fast regardless of whether Suexec is enabled.<br />
 =======================================================</p>
<p>source: http://openhelp.net/2009/05/10/how-to-change-the-default-php-handler-from-the-command-prompt-cpanel-server/</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1077&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/06/05/how-to-check-the-current-php-handler-and-change-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantastico error: Parse error: syntax error, unexpected $end in /tmp/</title>
		<link>http://hydtechblog.com/2011/06/04/fantastico-error-parse-error-syntax-error-unexpected-end-in-tmp/</link>
		<comments>http://hydtechblog.com/2011/06/04/fantastico-error-parse-error-syntax-error-unexpected-end-in-tmp/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 22:44:12 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1075</guid>
		<description><![CDATA[Fantastico error: Parse error: syntax error, unexpected $end in /tmp/ Solution: Your /tmp directory is full, clear it out.]]></description>
			<content:encoded><![CDATA[<p>Fantastico error:<br />
Parse error: syntax error, unexpected $end in /tmp/</p>
<p>Solution:<br />
Your /tmp directory is full, clear it out.</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1075&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/06/04/fantastico-error-parse-error-syntax-error-unexpected-end-in-tmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento error:  Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.</title>
		<link>http://hydtechblog.com/2011/06/04/magento-error-your-web-server-is-configured-incorrectly-as-a-result-configuration-files-with-sensitive-information-are-accessible-from-the-outside-please-contact-your-hosting-provider/</link>
		<comments>http://hydtechblog.com/2011/06/04/magento-error-your-web-server-is-configured-incorrectly-as-a-result-configuration-files-with-sensitive-information-are-accessible-from-the-outside-please-contact-your-hosting-provider/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 22:42:17 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1073</guid>
		<description><![CDATA[Magento error: Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider. Solution: This error is caused by /app/etc/local.xml being readable by the world. Set the permissions to 551]]></description>
			<content:encoded><![CDATA[<p>Magento error:<br />
Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.</p>
<p>Solution:<br />
This error is caused by /app/etc/local.xml being readable by the world. Set the permissions to 551</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1073&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/06/04/magento-error-your-web-server-is-configured-incorrectly-as-a-result-configuration-files-with-sensitive-information-are-accessible-from-the-outside-please-contact-your-hosting-provider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serve files with no extension as PHP</title>
		<link>http://hydtechblog.com/2011/05/11/serve-files-with-no-extenshion-as-php/</link>
		<comments>http://hydtechblog.com/2011/05/11/serve-files-with-no-extenshion-as-php/#comments</comments>
		<pubDate>Wed, 11 May 2011 22:00:14 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1057</guid>
		<description><![CDATA[So I recently wget mirrored a whole website and uploaded them to my web server. The PHP files from the original server had no extension and when trying to load them, Apache did not serve them as PHP, loading a bunch of jibberish. To solve this problem, I had to edit .htaccess : < FilesMatch [...]]]></description>
			<content:encoded><![CDATA[<p>So I recently <a href="http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/">wget mirrored a whole website</a> and uploaded them to my web server. The PHP files from the original server had no extension and when trying to load them, Apache did not serve them as PHP, loading a bunch of jibberish.</p>
<p>To solve this problem, I had to edit .htaccess :</p>
<p><code><br />
< FilesMatch '^[^.]+$' ><br />
 ForceType application/x-httpd-php<br />
< /FilesMatch ></p>
<p>#OR</p>
<p>#AddHandler server-parsed .php</p>
<p>#SetHandler application/x-httpd-php</p>
<p>#AddHandler application/x-httpd-php .php</p>
<p>#OR</p>
<p>#RewriteEngine On<br />
#RewriteRule ^[^.]+$ – [T=application/x-httpd-php,L]</code></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1057&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/05/11/serve-files-with-no-extenshion-as-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Browsing in Linux: wget and some tricks</title>
		<link>http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/</link>
		<comments>http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/#comments</comments>
		<pubDate>Wed, 11 May 2011 21:52:43 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[BackTrack]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[backup wget]]></category>
		<category><![CDATA[linux wget]]></category>
		<category><![CDATA[offline browser linux]]></category>
		<category><![CDATA[website backup linux]]></category>
		<category><![CDATA[wget mirror]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1052</guid>
		<description><![CDATA[Ever since I joined Hostgator.com, I&#8217;ve been learning a lot of Linux in the hopes that I switch my career into Linux. Hopefully Forensics related. So this new dilemma I had was to download a website for offline browsing. I went on the hunt for an offline file browser for Linux&#8230;. I found that I [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I joined Hostgator.com, I&#8217;ve been learning a lot of Linux in the hopes that I switch my career into Linux. Hopefully Forensics related.</p>
<p>So this new dilemma I had was to download a website for offline browsing. I went on the hunt for an offline file browser for Linux&#8230;. I found that I could use wget to mirror a whole website.</p>
<p>For example, I want to make a copy of <a href="http://www.blackberrysimunlockcode.com">blackberrysimunlockcode.com</a>, Here&#8217;s how:</p>
<p><code> wget -m http://blackberrysimunlockcode.com </code></p>
<p>Here the -m option is telling wget to mirror the website. This is the basic command. But say I need some advanced options. What do I do?</p>
<p>I was trying to get all the script files off of a website to save for later learning and all it was downloading was the index.html and robots.txt<br />
The robots.txt file was blocking user agent wget. To confirm this I used the debug option in wget:</p>
<p><code> wget -m -d http://blackberrysimunlockcode.com </code></p>
<p>You&#8217;ll get something like:</p>
<p>Not following http://blackberrysimunlockcode.com/privacy.shtml because robots.txt forbids it.</p>
<p>or</p>
<p>Rejecting path sh/eg/talk.sh.txt because of rule `sh&#8217;</p>
<p>or </p>
<p>no-follow in index.html</p>
<p>I tried using the option &#8211;user-agent &#8220;Mozilla&#8221;  &#8230;.. no luck</p>
<p>I tried adding the following in .wgetrc :</p>
<p>## Local settings (for a user to set in his $HOME/.wgetrc).  It is<br />
## *highly* undesirable to put these settings in the global file, since<br />
## they are potentially dangerous to &#8220;normal&#8221; users.<br />
##<br />
## Even when setting up your own ~/.wgetrc, you should know what you<br />
## are doing before doing so.<br />
##</p>
<p>header = Accept-Language: en-us,en;q=0.5<br />
header = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br />
header = Accept-Encoding: gzip,deflate<br />
header = Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
header = Keep-Alive: 300<br />
user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6<br />
referer = http://www.google.com</p>
<p>&#8230;Still no luck.</p>
<p>The trick is to use option -e robots=off</p>
<p>So my new command became:</p>
<p><code> wget -m -k -e robots=off -w 2 --random-wait -U "Mozilla" -np http://blackberrysimunlockcode.com </code></p>
<p>Heres what the options do:</p>
<p>-m mirrors website<br />
-k fix links so you don&#8217;t get directed to www.blackberrysimunlockcode.com/sh/eg instead of /sh/eg (relative vs absolute)<br />
-e executes command robots=off<br />
-w 2 sets wait time as 2 seconds so you don&#8217;t overload server and get ip blocked<br />
&#8211;random-wait can be random in 2 secon increments<br />
-U sets user agent<br />
-np no parent, so if the current subdirectory/page links to parent pages, it might crawl whole website</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1052&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Hosting Review</title>
		<link>http://hydtechblog.com/2011/02/03/free-wordpress-hosting/</link>
		<comments>http://hydtechblog.com/2011/02/03/free-wordpress-hosting/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 20:15:40 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[AAMP server]]></category>
		<category><![CDATA[Android based hosting]]></category>
		<category><![CDATA[free wordpress hosting]]></category>
		<category><![CDATA[wordpress host]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1018</guid>
		<description><![CDATA[Free WordPress Hosting for 3 months with Code: FREE3 They provide 1GB space and 10GB Bandwidth. Host WordPress with an easy 1-click wordpress install setup with Softaculous. They are a linux based hosting provider, most probably CentOs.The customer support is 24/7 and excellent. Check them out. I was wondering, does an Android OS based webhosting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://fiberlightning.com/webhosting.php">Free WordPress Hosting</a> for 3 months with Code: FREE3</p>
<p>They provide 1GB space and 10GB Bandwidth. <a href="http://fiberlightning.com">Host WordPress with an easy 1-click wordpress install setup</a> with Softaculous. They are a linux based hosting provider, most probably CentOs.The customer support is 24<a href="http://www.hydtechblog.com/">/</a>7 and excellent. Check them out.  </p>
<p>I was wondering, does an <a href="http://fiberlightning.com">Android OS based webhosting</a> exist? I haven&#8217;t seen one yet but it would be interesting if someone starts that. So that would be like running an <a href="http://androidjunkie.net/">AAMP server</a>, right?</p>
<p>keywords: <a href="http://fiberlightning.com">Free WordPress Host</a>, <a href="http://fiberlightning.com">Linux Webhosting</a>, <a href="http://fiberlightning.com">Shared Hosting Plan</a>, <a href="http://fiberlightning.com">WordPress Hosting Review</a>, <a href="http://fiberlightning.com">WordPress with Fantastico</a></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1018&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/02/03/free-wordpress-hosting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatic website backup without SSH enabled over FTP</title>
		<link>http://hydtechblog.com/2009/12/03/automatic-website-backup-without-ssh-enabled/</link>
		<comments>http://hydtechblog.com/2009/12/03/automatic-website-backup-without-ssh-enabled/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 22:34:42 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[BackTrack]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Lenovo S10]]></category>
		<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=597</guid>
		<description><![CDATA[Last time I backed up my website with rsync and ssh, but on my new host they disabled SSH. Rsync does not work over ftp. I do not want to do incremental backups with delta files like is done with rdiff-backup or duplicity. I need to have an exact mirror of my site. But remember [...]]]></description>
			<content:encoded><![CDATA[<p>Last time I backed up my website with rsync and ssh, but on my new host they disabled SSH.  Rsync does not work over ftp.  I do not want to do incremental backups with delta files like is done with rdiff-backup or duplicity. I need to have an exact mirror of my site.  But remember that your sql databases won&#8217;t be backed up.</p>
<p>Curlftpfs is the key! In this tutorial I will show you how to backup from one server to a backup location which can be your hard drive, another web host, dropbox folder, Box.net via webdav, etc.</p>
<p>Download curlftpfs, rsync and ncftp:<br />
<code>sudo apt-get install curlftpfs ncftp rsync</code></p>
<p>make directories to mount your ftp server:<br />
<code>sudo mkdir /media/hydtechblog</code><br />
<code>sudo mkdir /media/hydtechbackupserver</code></p>
<p>edit fstab to mount the ftp servers using curlftpfs:<br />
<code>sudo gedit /etc/fstab</code></p>
<p>add the lines and modify them according to your server:<br />
curlftpfs#username:password@hydtechblog.com /media/hydtechblog fuse rw,allow_other,uid=root 0 0<br />
curlftpfs#username:password@hydtechbackupserver /media/hydtechbackupserver fuse rw,allow_other,uid=root 0 0</p>
<p>One thing to remember is that these two will not mount automatically because when the computer restarts, the fstab is done while you are not connected to the network.  To fix this we can just add the mount commands in our crontab.</p>
<p>Edit crontab:<br />
<code>sudo crontab -e</code><br />
enter the following lines and modify accordingly:<br />
00 09 * * * mount /media/hydtechblog<br />
00 09 * * * mount /media/hydtechbackup<br />
01 09 * * * rsync -avz &#8211;rsync-path=/usr/bin/rsync /media/hydtechblog/public_html /media/hydtechbackup/public_html</p>
<p>ctrl + o to write and ctrl + x to save</p>
<p>This will tell cron to mount the folders at 9:00 am and start rsync at 9:01 am.  You can replace the backup location to another folder on your hard drive or your dropbox or ubuntu one folder.  You can also mount box.net with webdav and use this method.</p>
<p>For encrypted incremental backups checkout duplicity, it also works with webdav and ftp.</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=597&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2009/12/03/automatic-website-backup-without-ssh-enabled/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Backing up my wordpress blog and website using Ubuntu</title>
		<link>http://hydtechblog.com/2009/11/20/backing-up-my-wordpress-blog-and-website-using-ubuntu/</link>
		<comments>http://hydtechblog.com/2009/11/20/backing-up-my-wordpress-blog-and-website-using-ubuntu/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 05:14:42 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[ubuntu one]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=583</guid>
		<description><![CDATA[I&#8217;ve been noticing that my webhost server keeps going down for a few hours every day and it scares me that I&#8217;ll lose all my data. So, I started looking for automatic backup solutions and this is the best way I could come up with. Backing up the wordpress database: I&#8217;ve tried the following plugins [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been noticing that my webhost server keeps going down for a few hours every day and it scares me that I&#8217;ll lose all my data.  So, I started looking for automatic backup solutions and this is the best way I could come up with.</p>
<p>Backing up the wordpress database:</p>
<p>I&#8217;ve tried the following plugins</p>
<p>1. WordPressbackup.com<br />
This plugin backs up my data to their server automatically. only backs up the database though. must register for a free account at wordpressbackup.com.  The backups occur once every few days.</p>
<p>2. Bei-fen<br />
This plugin backs up my data including images and files to a location on my server</p>
<p>3. DBC Backup<br />
Does a cron backup automatically at any location on my server at any time interval I set it for.  Only backs up the database.</p>
<p>4. WP-DB-Backup<br />
Can schedule the database to automatically backup to your server or automatically email them.</p>
<p>5. SMEStorage Backup<br />
Based on WP-DB-Backup. Must register for a free account at http://www.smetube.com/smestorage/ and you can backup your data to a cloud storage service like Amazon S3 or Box.net.  You can even have the backups sent to your email.</p>
<p>Backing up my whole website from my webhost to my computer:</p>
<p>I use a tool call rsync in linux to automatically sync my public_html directory on my webserver to a backup folder on my Computer which is synced automatically with Dropbox.  You can also use Ubuntu One.  For this tutorial your web host must have ssh enabled.  If you can&#8217;t get ssh, then <a href="http://hydtechblog.com/2009/12/03/automatic-website-backup-without-ssh-enabled/">backup your wordpress website over ftp with curlftpfs on Linux</a>.</p>
<p>Follow these steps:</p>
<p>1. Sign up for an Ubuntu One account or a <a href="https://www.dropbox.com/referrals/NTkwNzkzMTk">DropBox account</a> and download/install the desktop client. You can get a 2GB account for free.</p>
<p>2. Download the necessary files<br />
<code>sudo apt-get rsync ssh</code></p>
<p>3. Set up autologin with ssh so you won&#8217;t have to enter your password each time.<br />
<code>sudo ssh-keygen -t dsa</code><br />
press enter each time without changing anything.  this will make a id_dsa.pub key in you .ssh folder.<br />
copy the ssh key to your server using scp<br />
<code>scp /home/user/.ssh/id_dsa.pub user@yourserver.com:</code><br />
login to your server using ssh<br />
<code>ssh user@yourserver.com</code><br />
enter password and append the key to authorized_keys<br />
<code>cat id_dsa.pub &gt;&gt; .ssh/authorized_keys</code><br />
remove the key from the home directory on your server<br />
<code>rm id_dsa.pub</code></p>
<p>4. Set up a cron job to sync the public_html folder to your dropbox folder<br />
<code>crontab -e</code> (do not sudo)<br />
open with editor like nano<br />
enter something similar to the following line<br />
<code>* */5 * * * rsync -avz --rsync-path=/usr/bin/rsync -e ssh user@yourserver.com:home/useronserver/public_html /media/sdawhatever/locationof/dropbox/backup/</code><br />
(this is telling cron to sync every 5 hours, for more help with cron check wiki)<br />
press ctrl+O to save file, enter to save, ctrl + X to exit.</p>
<p>thats it, your done!</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=583&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2009/11/20/backing-up-my-wordpress-blog-and-website-using-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

