<?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>Webologist &#187; database backup</title>
	<atom:link href="http://www.webologist.co.uk/tag/database-backup/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webologist.co.uk</link>
	<description>Internet News, Web Design, Development, Hosting and Optimisation</description>
	<lastBuildDate>Fri, 10 Sep 2010 13:50:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4407</generator>
		<item>
		<title>WordPress Database Backup Made Easy with WP-DBManager 2.30</title>
		<link>http://www.webologist.co.uk/2008/06/wordpress-database-backup-made-easy.html</link>
		<comments>http://www.webologist.co.uk/2008/06/wordpress-database-backup-made-easy.html#comments</comments>
		<pubDate>Fri, 20 Jun 2008 14:19:00 +0000</pubDate>
		<dc:creator>Webologist</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[auto backup]]></category>
		<category><![CDATA[database backup]]></category>
		<category><![CDATA[mysqlm]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://webologist.co.uk/?p=89</guid>
		<description><![CDATA[My main concern regarding the running of a MySQL database driven website is that servers to die, and having a backup is essential. However, without an automated backup solution, you are likely to find that when you most need it, your backup is old. Fortunately a plugin has been written for WordPress which not only allows you to manually backup your database from your site control panel, but also allows you to set up an automated backup that is emailed to a destination of choice. So you could if you desired, back up your database to a gmail account, where it should be safer than a home pc or the same web server that your website is hosted on. I am still testing WP-DBManager 2.30 now, but have set it to automatically backup my database every 12 hours, then GZip it and email to myself. The auto backup can be set in minutes, hours, days, weeks or months, so depending on how active your site is there should be a backup solution for you. Hopefully testing will prove positive. In addition to backing up the WordPress MySQL database, WP-DBManager 2.30 also allows you to restore a database, manage existing backups, [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds1--><p>My main concern regarding the running of a MySQL database driven website is that servers to die, and having a backup is essential. However, without an automated backup solution, you are likely to find that when you most need it, your backup is old.</p>
<p>Fortunately a plugin has been written for WordPress which not only allows you to manually backup your database from your site control panel, but also allows you to set up an automated backup that is emailed to a destination of choice. So you could if you desired, back up your database to a gmail account, where it should be safer than a home pc or the same web server that your website is hosted on.</p>
<p>I am still testing <a href="http://wordpress.org/extend/plugins/wp-dbmanager/">WP-DBManager 2.30</a> now, but have set it to automatically backup my database every 12 hours, then GZip it and email to myself. The auto backup can be set in minutes, hours, days, weeks or months, so depending on how active your site is there should be a backup solution for you.  Hopefully testing will prove positive.</p>
<p>In addition to backing up the WordPress MySQL database, WP-DBManager 2.30 also allows you to restore a database, manage existing backups, run SQL queries, repair the database and drop or empty tables. Emptying a table could be useful if you find that you suddenly have thousands of unwanted spam messages. Just empty the whole comments table, and the message will all go. Drastic, but if you have a backup, you could then just import the comments, rather than importing the entire database.</p>
<p>Finally <a href="http://wordpress.org/extend/plugins/wp-dbmanager/">WP-DBManager 2.30</a> has the function to optimise the database to ensure smooth running and fast responses.</p>
<p>If I find any problems with this plugin I will report it here, but so far it looks like a very useful plugin for any WordPress bloggers.</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.webologist.co.uk/2008/06/wordpress-database-backup-made-easy.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Restoring a Drupal MySQL Database using phpmyadmin</title>
		<link>http://www.webologist.co.uk/2008/05/restoring-drupal-mysql-database-using.html</link>
		<comments>http://www.webologist.co.uk/2008/05/restoring-drupal-mysql-database-using.html#comments</comments>
		<pubDate>Tue, 20 May 2008 10:33:00 +0000</pubDate>
		<dc:creator>Webologist</dc:creator>
				<category><![CDATA[Web Administration]]></category>
		<category><![CDATA[database backup]]></category>
		<category><![CDATA[drupal backup]]></category>
		<category><![CDATA[drupal testing]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://webologist.co.uk/?p=83</guid>
		<description><![CDATA[If you have used the Backup module on Drupal to backup up your site, then inside to the tar.gz file which contains all the web files, there will also be a slq.gz file which is a compressed version of your database. One way to import this is using phpmyadmin. Simple go to the database you have created, and chose import, speificy the file, and hit &#8220;go&#8221;. However, there are often problems with phpmyadmin when importing larger files, i.e. it fails. If the import is successful, then it should report something like: Import has been successfully finished, 630 queries executed. However it has been known that for some larger files for php to fail. One thing that is often required is to increase the maximum upload file size in the php.ini configuration file. I have set my php upload file size to 26Mb, which is currently enough still; the last database that I uploaded using phpmyadmin was less than 2Mb. However, some popular, older site can have very large databases. For these, it may be better to use the mysql command line to import. I will go further into that later, once I have mastered the process myself. For now, assuming [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds1--><p>If you have used the <a href="http://drupal.org/project/backup">Backup module</a> on Drupal to backup up your site, then inside to the tar.gz file which contains all the web files, there will also be a slq.gz file which is a compressed version of your database.</p>
<p>One way to import this is using phpmyadmin. Simple go to the database you have created, and chose import, speificy the file, and hit &#8220;go&#8221;. However, there are often problems with phpmyadmin when importing larger files, i.e. it fails. If the import is successful, then it should report something like:</p>
<p><span style="font-weight: bold;">Import has been successfully finished, 630 queries executed.</span></p>
<p>However it has been known that for some larger files for php to fail. One thing that is often required is to increase the maximum upload file size in the php.ini configuration file. I have set my php upload file size to 26Mb, which is currently enough still; the last database that I uploaded using phpmyadmin was less than 2Mb. However, some popular, older site can have very large databases. For these, it may be better to use the mysql command line to import. I will go further into that later, once I have mastered the process myself.</p>
<p>For now, assuming that you have successfully inported the Drupal database using phpmyadmin, you should now have a copy of your Drupal installation. With this. you can install new modules, test, play, and upgrade, all without risk to harming your live version.</p>
<p>The main reason that I set out to make a copy of my Drupal installation was to then upgrade it, and check everything is working. There have been security warnings regarding older version of Drupal (5.2 is prone to MySQL attacks) and therefore I want to upgrade to 5.7. However, I did this for a new site (I actually built it using an old 5.2 download, then upgraded) but the forums failed to work afterwards. Something to do with MySQL settings / tables. I cannot afford my forums to die on my main Drupal site, so therefore, I need to practice too.</p>
<p>In the meantime, it is nice to know that I have a method to totally renew my Drupal installation incase of hackers bringing the site down. Sometimes once a hacker has got their hands on you database it is not easy, or even impossible, to fix. Often the only option is to drop the database and rebuild from backup., so ensure no other rogue code is hiding, causing havoc.</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.webologist.co.uk/2008/05/restoring-drupal-mysql-database-using.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL now set up and running on my homeserver</title>
		<link>http://www.webologist.co.uk/2007/10/mysql-now-set-up-and-running-on-my.html</link>
		<comments>http://www.webologist.co.uk/2007/10/mysql-now-set-up-and-running-on-my.html#comments</comments>
		<pubDate>Sat, 20 Oct 2007 22:18:00 +0000</pubDate>
		<dc:creator>Webologist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[database backup]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://webologist.co.uk/?p=59</guid>
		<description><![CDATA[Today I set up MySQL and managed to transfer a Pligg CMS over from my paid hosting to my home server. Had a few problems to start with, as I was trying to use phpmyadmin (also installed today) to import the .sql file, but this was resulting in errors. I attempting to increase the max timeout, upload file size and some other parameters, but it kept failing. However, a quick call to my pal over Skype got me sorted out. He actually logged on to my server over SSH to take control, and taught me along the way how to do it all from the command line. He got into the Mysql prompt with: mysql -u user -p and then used this to import the database: mysql -u user -p database &#60; database.sql I had already copied the exported the database from my paid hosting account using phpmyadmin, and created the .sql file. So the above commands simply allow a use to enter the mysql prompt (password for the relevant database is required) and then imports the .sql file into the database. Worked a treat. Once again, like I mentioned before about installing applications, this process was much quicker with [...]]]></description>
			<content:encoded><![CDATA[<!--CusAds1--><p>Today I set up MySQL and managed to transfer a Pligg CMS over from my paid hosting to my home server. Had a few problems to start with, as I was trying to use phpmyadmin (also installed today) to import the .sql file, but this was resulting in errors. I attempting to increase the max timeout, upload file size and some other parameters, but it kept failing. However, a quick call to my pal over Skype got me sorted out. He actually logged on to my server over SSH to take control, and taught me along the way how to do it all from the command line.</p>
<p>He got into the Mysql prompt with:</p>
<p>mysql -u user -p</p>
<p>and then used this to import the database:</p>
<p>mysql -u user -p database &lt; database.sql</p>
<p>I had already copied the exported the database from my paid hosting account using phpmyadmin, and created the .sql file. So the above commands simply allow a use to enter the mysql prompt (password for the relevant database is required) and then imports the .sql file into the database. Worked a treat. Once again, like I mentioned before about installing applications, this process was much quicker with the terminal than using the browser / php tools. In fact, when trying to back up a database using phpmyadmin I would often find that it seems to crash the browser &#8211; maybe it runs out of memory, not sure, but I now know the correct way to do it.</p>
<p>I also backup up my .sql database tonight with this command:</p>
<p>mysqldump -u user -p database &gt; databasebackup</p>
<p>Again the -p means that the password is requested before the command is completed. Next step is to work out how to restore a database in the command prompt. That can wait until later though.</p>
<p>I seem to have one problem at the moment that requires fixing. On installing the CMS application on my home server, I did get an error message. It was something about the f_name I think. I notice now that I cannot configure the CMS, although I can post articles and comments etc. So that needs to be looked at. There are a few things not working on my server, but nothing major yet!</p>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.webologist.co.uk/2007/10/mysql-now-set-up-and-running-on-my.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
