<?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>BloggingPro &#187; Backups</title>
	<atom:link href="http://www.bloggingpro.com/archives/category/backups/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggingpro.com</link>
	<description>News, plugins and themes for blogging applications</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:37:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Blogging Pitfalls: Unlimited Hosting</title>
		<link>http://www.bloggingpro.com/archives/2010/10/01/blogging-pitfalls-unlimited-hosting/</link>
		<comments>http://www.bloggingpro.com/archives/2010/10/01/blogging-pitfalls-unlimited-hosting/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 00:27:37 +0000</pubDate>
		<dc:creator>Jonathan Bailey</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[Blogging Pitfalls]]></category>
		<category><![CDATA[data center service]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[managed data center service]]></category>
		<category><![CDATA[storage space]]></category>
		<category><![CDATA[unlimited hosting]]></category>
		<category><![CDATA[web host]]></category>

		<guid isPermaLink="false">http://www.bloggingpro.com/?p=19797</guid>
		<description><![CDATA[It&#8217;s a promise we&#8217;ve all heard before. Web hosting companies all over are offering &#8220;unlimited&#8221; hosting for mere dollars per month. On the surface, it seems like a great deal. For a low monthly price you get to stop worrying about bandwidth and server space caps and focus on running your site. You can host [...]]]></description>
			<content:encoded><![CDATA[<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  src="http://www.bloggingpro.com/wp-content/uploads/2010/08/chain-break-240x158.jpg" alt="" title="chain-break" width="240" height="158" class="alignleft size-medium wp-image-19799" /></p>
<p>It&#8217;s a promise we&#8217;ve all heard before. Web hosting companies all over are offering &#8220;unlimited&#8221; hosting for mere dollars per month.</p>
<p>On the surface, it seems like a great deal. For a low monthly price you get to stop worrying about bandwidth and server space caps and focus on running your site. You can host as many domains, get as much traffic and store as many files as you want.</p>
<p>However, unlimited hosting is much more myth than reality. It just means that the host doesn&#8217;t place &#8220;hard&#8221; caps on storage and transfer and instead has replaced it with soft ones that could come back to bite you at almost any time.</p>
<p>Fortunately, it is a relatively avoidable pitfall if one is willing to be realistic about the limitations of such hosting and take precautions to avoid abusing it.</p>
<p><span id="more-19797"></span></p>
<h3>The Pitfall</h3>
<p>Though unlimited hosting is a tempting offer for a variety of reasons, it is an offer that we should be able to recognize as somewhat misleading right off the bat. After all, if unlimited hosting truly were unlimited, then Google, Microsoft and other companies could save millions on datacenters and just spend a few dollars per month at a regular host. </p>
<p>The truth about unlimited hosting is that it is indeed very limited. If you read the fine print on any unlimited contract, you&#8217;ll find that a variety of restrictions are placed on the account, including, in many cases, bans on providing streaming media, image hosting or other bandwidth/storage-intense activities.</p>
<p>Even if there are no such caps, the host always has a clause in their TOS that allows them to disconnect, temporarily or even permanently, those who use too much resources and cause problems for other accounts on the same server or network.</p>
<p>In short, your use of the server is only &#8220;unlimited&#8221; as long as it doesn&#8217;t cause a problem and, if it does, you may find that your site goes dark.</p>
<h3>The Danger</h3>
<p>The danger of unlimited hosting is illustrated very well by what recently happened to the <a href="http://frogpants.com/">Frogpants podcast network</a>. The network, which was hosted on an unlimited account at Bluehost, went dark for a day after <a href="http://randydeluxe.com/just-yappin/an-open-letter-to-bluehost/">Bluehost cut their account</a> for using too much of their resources. </p>
<p>While it was poorly handled by Bluehost, they should have offered warning before cutting the account, it illustrates the problem. The network, which includes several very popular podcasts, simply used up more of the host&#8217;s resources than they could afford to provide with the account that they were using and their host shut down the sites.</p>
<p>Frogpants was able to recover quickly, after being offered hosting at a different company and given the chance to recover its files, but it was down for over a day and other sites are not so lucky. Many sites that suffer sudden terminations aren&#8217;t given adequate opportunity to move and don&#8217;t have another company waiting to scoop them up.</p>
<p>Without adequate backups, this can be a very deadly pitfall for a blog and one that is well worth avoiding.</p>
<h3>How to Avoid It</h3>
<p>Avoiding this pitfall completely may seem to be fairly simple, but it really isn&#8217;t. This is especially true considering that most shared web hosts offer unlimited hosting as their primary account type and most low-end hosting accounts claim to be unlimited. </p>
<p>That being said, there are several things you can do to avoid this problem and having your account disconnected:</p>
<ol>
<li><strong>Avoid &#8220;Unlimited Hosting:</strong> This one seems simple enough, find a service with a hard cap and stick with it. The limits might be lower than with an unlimited host, but at least you can be sure what the limits are.</li>
<li><strong>Read the TOS Carefully:</strong> If you do choose or have to use an unlimited host, read the TOS carefully. Most likely, the terms place a limit on what you can and can not do with your account dealing with media streaming, image hosting and FTP access.</li>
<li><strong>Don&#8217;t Host Media:</strong> Media, including both audio and video, are the biggest bandwidth and space hogs on a server. You can use other services, such as YouTube and Talkshoe, to offload your media content and make your site much more lean.</li>
<li><strong>Be Realistic:</strong> If your site grows beyond what one would expect to be a typical use for that level of a hosting account, upgrade to a larger account. Not only will it prevent a possible termination, but also make your site faster.</li>
<li><strong>Warn of Traffic Spikes:</strong> If you get warning of a traffic spike, such as a story making its way to the front page of Digg, warn your host so they can prepare. They may be able to move your site to a lower congestion part of the network or a server with smaller load. That way, you won&#8217;t create problems and you will be working with them to resolve issues.</li>
</ol>
<p>To be clear, this is actually a separate issue from the downtime many sites see when they are hit with a traffic spike. Hosts often temporarily disable accounts or individual sites during such spikes as their memory and CPU usage reaches dangerous levels. This is almost unavoidable on shared hosting accounts. </p>
<p>Unfortunately, these steps won&#8217;t do much to mitigate against those temporary outages but will go to great lengths to mitigate against the far less common, though far more worrisome, account closures that often happen when an unlimited account is overused.</p>
<h3>Bottom Line</h3>
<p>In the end, account terminations due to overuse of &#8220;unlimited&#8221; hosting plans are actually rare. Only a small number of accounts will see any kind of action taken against them and most of the time the response is much more tame than termination. </p>
<p>That being said though, it does happen and it is worth addressing since most of the steps are simply good hosting practices on any account.</p>
<p>In short, if you are smart about your hosting- you should work with a reputable provider and <a href="http://www.ntt.com/worldwide/service/datacenter.html">managed data center service</a>, you will most likely find that it will serve you well. Try to get more than your money&#8217;s worth out and you will probably be facing an unplanned outage in the near future. Likely an extended one.</p>

<div id="oio-banner-9" style="width:560px; float:left;">
<h2 class="widgettitle"><a href="http://www.blogsearchengine.com/submit-blog/" title="Promote Your Blog">Get backlinks to your Blog!</a></h2>	

<p><a href="http://www.blogsearchengine.com/submit-blog/"><img src="http://splashpress.com/ads/blogsearchengine-banners-social-300.jpg" alt="Promote Your Blog" width="250" /></a></p>
<p>If you are looking to promote your blog and get high quality backlinks from a PR6 2003 domain then Blogsearchengine.com is for you. For as little as $14.99 you can submit your blog and have a review written and published there with a backlink to your website or blog, we accept all niche!</p>
</div>
<hr class="oio-clear-left" />
]]></content:encoded>
			<wfw:commentRss>http://www.bloggingpro.com/archives/2010/10/01/blogging-pitfalls-unlimited-hosting/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>VaultPress from WordPress: The Good, the Bad, and the Beta</title>
		<link>http://www.blogherald.com/2010/07/13/vaultpress-from-wordpress-the-good-the-bad-and-the-beta/</link>
		<comments>http://www.blogherald.com/2010/07/13/vaultpress-from-wordpress-the-good-the-bad-and-the-beta/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 11:38:23 +0000</pubDate>
		<dc:creator>Cassie Emelia</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[vaultpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bloggingpro.com/?p=19497</guid>
		<description><![CDATA[In June Automattic (the company behind WordPress.com for you non-geeks) began granting users access to their latest and greatest beta VaultPress. Unlike other services of Automattic, VaultPress is geared strictly towards self hosting WordPress blogs (aka WordPress.org) as a data backup service that protects a bloggers data in the even that their hosting company dies, [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-16932" href="http://www.bloggingpro.com/archives/2010/04/16/the-beauty-of-blogs/16930-revision/"><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="size-full wp-image-16932 alignleft" title="vaultpress" src="http://www.blogherald.com/wp-content/uploads/2010/07/vaultpress.png" alt="" width="273" height="83" /></a>In June Automattic (the company behind WordPress.com for you non-geeks) began granting users access to their latest and greatest beta VaultPress.</p>
<p>Unlike <a href="http://www.bloggingpro.com/archives/2010/07/06/4-wordpress-tools-every-blogspot-lover-needs/">other services</a> of Automattic, <a href="http://vaultpress.com">VaultPress</a> is geared strictly towards self hosting WordPress blogs (aka WordPress.org) as a data backup service that protects a bloggers data in the even that their <a href="http://www.blogherald.com/2009/01/02/journalspace-blogging-platform-dies-why-you-must-keep-your-own-backups/">hosting company dies</a>, kidnaps their site or (worse case scenario) is attacked <a href="http://www.blogherald.com/2010/04/06/cloaking-hack-puts-spam-in-your-wordpress-search-engine-results/">by hackers</a>.</p>
<p>Despite being in a <a href="http://blog.vaultpress.com/2010/03/30/announcing/">limited beta</a>, WordPress is charging brave souls $15 a month per blog (which works out to be $180 a year) to entrust their blog&#8217;s entire content to the VaultPress crew.</p>
<p>For those of you wondering if you should give Automattic your cold hard cash or choose an alternative, here is this authors take on VaultPress (both the good as well as the bad).<span id="more-19497"></span></p>

<div id="oio-banner-9" style="width:560px; float:left;">
<h2 class="widgettitle"><a href="http://www.blogsearchengine.com/submit-blog/" title="Promote Your Blog">Get backlinks to your Blog!</a></h2>	

<p><a href="http://www.blogsearchengine.com/submit-blog/"><img src="http://splashpress.com/ads/promote_your_blog.jpg" alt="Promote Your Blog" width="250" /></a></p>
<p>If you are looking to promote your blog and get high quality backlinks from a PR6 2003 domain then Blogsearchengine.com is for you. For as little as $14.99 you can submit your blog and have a review written and published there with a backlink to your website or blog, we accept all niche!</p>
</div>
<hr class="oio-clear-left" />
]]></content:encoded>
			<wfw:commentRss>http://www.blogherald.com/2010/07/13/vaultpress-from-wordpress-the-good-the-bad-and-the-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging Pitfalls: Failure to Backup</title>
		<link>http://www.bloggingpro.com/archives/2010/05/26/blogging-pitfalls-failure-to-backup/</link>
		<comments>http://www.bloggingpro.com/archives/2010/05/26/blogging-pitfalls-failure-to-backup/#comments</comments>
		<pubDate>Wed, 26 May 2010 10:30:43 +0000</pubDate>
		<dc:creator>Jonathan Bailey</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[backupify]]></category>
		<category><![CDATA[Blogging Pitfalls]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[hostgator]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[site auto backup]]></category>

		<guid isPermaLink="false">http://www.bloggingpro.com/?p=18220</guid>
		<description><![CDATA[Everyone knows that you&#8217;re supposed to backup your data but how many of us actually do it and, of those who do, how many do it right? The problem is that far too many bloggers ignore this very crucial security step. Whether it is putting too much trust in their host, not understanding how to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bloggingpro.com/archives/2010/05/26/blogging-pitfalls-failure-to-backup/pitfall/" rel="attachment wp-att-18270"><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  src="http://www.bloggingpro.com/wp-content/uploads/2010/05/pitfall-300x260.jpg" alt="" title="pitfall" width="300" height="260" class="alignleft size-medium wp-image-18270" /></a></p>
<p>Everyone knows that you&#8217;re supposed to backup your data but how many of us actually do it and, of those who do, how many do it right?</p>
<p>The problem is that far too many bloggers ignore this very crucial security step. Whether it is putting too much trust in their host, not understanding how to backup properly or simply not wanting to put forth the effort, many simply don&#8217;t backup their sites and, sadly, often lose months or years worth of work when something goes wrong.</p>
<p>The worst part is that it is a pitfall that can be easily avoided and, thanks to various tools, can be completely mitigated either for free or at very low-cost.</p>
<p>In short, there is no excuse to not backup your site, but there is a lot of reason to worry if you don&#8217;t.<span id="more-18220"></span></p>
<h3>The Pitfall</h3>
<p>It is far too easy to forget about backups, until we need them. The dirty truth about technology is that things break and bad things happen. Though such occurrences are (usually) blessedly rare, the damage they can do can not be ignored. </p>
<p>Typically, there are three reasons for ignoring or performing inadequate backups of one&#8217;s site.</p>
<ol>
<li><strong>Trust in the Host:</strong> Most Web hosts tout their backup procedures and many bloggers feel this is adequate.</li>
<li><strong>Lack of Understanding:</strong> Many simply don&#8217;t understand what they need to backup or how to do it, causing them to either skip on making backups or do them incorrectly.</li>
<li><strong>Laziness:</strong> Backups are work and its work that doesn&#8217;t usually pay off until something bad happens. As such, many do not think it to be worthwhile. </li>
</ol>
<p>Unfortunately for bloggers all of these excuses are poor ones. Host backups are usually for restoring their machines in the face of a disaster and are not aimed at restoring individual accounts. If a hard drive dies they can restore their backups, if your account gets hacked or you break your site, they might not be able to. Also, often times, host backups get hosed at the same time the server does, especially when they are stored at the same physical location. Simply put, Web host backups are never enough by themselves.</p>
<p>Lack of understanding and laziness are not valid excuses either. Though it is easy to see why backing up may be confusing, it&#8217;s easier to understand how to backup and restore than it is to try to rebuild a site without one. The techniques and tools are much simpler when a proper backup exists. Likewise, the amount of energy and financial cost it takes to perform good backups pales in comparison to what it takes to rebuild without one.</p>
<p>In short, by not having backups, you aren&#8217;t saving time, money or headache, all you are doing is shifting those things to a later date, when you will have to pay it back at a very high rate of interest.</p>
<h3>The Danger</h3>
<p><a href="http://www.plagiarismtoday.com/2008/06/13/epic-fail/">This happened to me once</a>. I visited my Web site only to be greeted with a nasty server error. After nearly a day of tortured waiting, I found out that my server was completely hosed and the host&#8217;s backups had failed. My only option was to rebuild the server from the ground up.</p>
<p>Fortunately, I was in luck. I had just recently switched to the new host and my old site still had relatively up to date backups. I simply moved everything back to the old server, updated its database and pointed the domain there. Within a few hours, I was back online with minimal data loss.</p>
<p>However, if I hadn&#8217;t had that, I might have been in serious trouble. Though I had good database backups, but my backups of the images and other static files were not adequate. I would have been in a very bad place.</p>
<p>If good fortune had not smiled on me, at best I would have been staring at weeks worth of work rebuilding my site and, at worst, I would have lost many weeks, possibly months of data. Others, with even less robust backup plans, could have lost everything.</p>
<p>In my case, that would have included over three years of blogging, all wiped out in seconds by a hard drive failure at my host. I&#8217;m not sure my online presence would have ever recovered.</p>
<h3>How to Avoid It</h3>
<p>The way to avoid this pitfall is extremely simple, have good backups. Specifically, you need to back up two different things:</p>
<ol>
<li><strong>Your Database:</strong> Your content, settings and other blog information, for the vast majority of blogs, is stored in your database. </li>
<li><strong>Your Files:</strong> A lot of content is not in your database including your theme, plugins, images and other media files that are stored as files on your server.</li>
</ol>
<p>How often you should back up these elements depends on your site. If you have a very active blog, you should probably back it up daily. A less active one can probably be backed up weekly. In all cases you should have several iterations of your blog stored at any time to guard against bad backups or any corruption not being swiftly detected.</p>
<p>As far as how to do it, there are actually many different ways. If you&#8217;re more technical and want to do it yourself, Franky wrote an excellent guide on how to <a href="http://www.bloggingpro.com/archives/2009/12/21/automate-wordpress-database-and-files-backup/">make database and file backups using cron jobs last year</a>. However, for those who want an easier way and are willing to use a third-party service, there are two great options. </p>
<ol>
<li><strong><a href="http://www.backupify.com/services">Backupify</a>:</strong> Backupify works with both WordPress and Blogger blogs to create daily backups of your site and store them remotely and securely on their servers. Best of all, a basic account is free and you can also backup other services, such as Twitter, Flickr and Gmail accounts. Very simple to use.</li>
<li><strong><a href="http://www.siteautobackup.com">Site Auto Backup</a>:</strong> Created by Hostgator, Site Auto Backup makes it easy and cheap to backup your site. If your host uses CPanel, which many if not most do, SAB will use your built-in backup feature to backup your files and databases. This makes it easy to transfer your site to another host in an emergency. If your host doesn&#8217;t use CPanel, you can configure to backup via FTP and MySQL. A 1 GB account, which should be adequate for most blogs, cost $2 per month.</li>
</ol>
<p>However, no matter what service you use or if you do it yourself, you need to make these backups and keep them in a safe place. Should something happen, you&#8217;ll be able to restore your site quickly and easily with a minimal amount of data loss.</p>
<p>It&#8217;s a small effort to make to protect all of the hard work you&#8217;ve put into your blog.</p>
<h3>Bottom Line</h3>
<p>In the end, the important thing to remember is that technology is fallible. Hard drives fail, servers die, natural disasters happen and mistakes are made. Your data can be wiped out at any moment and, without a backup, you could find yourself losing a large portion of your work.</p>
<p>You have the choice of either spending a little time and energy on setting up a good backup plan now, or waiting until a disaster happens and spending many times that trying to recover. </p>
<p>You owe it to yourself, your readers and your blog to make sure your backups are solid and ready to roll when needed. Doing anything less is only an invitation for disaster to strike. </p>

<div id="oio-banner-9" style="width:560px; float:left;">
<h2 class="widgettitle"><a href="http://www.blogsearchengine.com/submit-blog/" title="Promote Your Blog">Get backlinks to your Blog!</a></h2>	

<p><a href="http://www.blogsearchengine.com/submit-blog/"><img src="http://splashpress.com/ads/blogsearchengine-banners-design-300.jpg" alt="Promote Your Blog" width="250" /></a></p>
<p>If you are looking to promote your blog and get high quality backlinks from a PR6 2003 domain then Blogsearchengine.com is for you. For as little as $14.99 you can submit your blog and have a review written and published there with a backlink to your website or blog, we accept all niche!</p>
</div>
<hr class="oio-clear-left" />
]]></content:encoded>
			<wfw:commentRss>http://www.bloggingpro.com/archives/2010/05/26/blogging-pitfalls-failure-to-backup/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Automate WordPress Database and Files Backup</title>
		<link>http://www.bloggingpro.com/archives/2009/12/21/automate-wordpress-database-and-files-backup/</link>
		<comments>http://www.bloggingpro.com/archives/2009/12/21/automate-wordpress-database-and-files-backup/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 18:17:56 +0000</pubDate>
		<dc:creator>Franky Branckaute</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.bloggingpro.com/?p=3778</guid>
		<description><![CDATA[Regularly backing up your database and files is one of the most important things to do when running a website. One never knows what could happen and the words have become infamous: I was sure I had a backup. Most database plugins for WordPress offer the option to weekly backup your database and even email [...]]]></description>
			<content:encoded><![CDATA[<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-3779" title="backup" src="http://www.bloggingpro.com/wp-content/uploads/2009/12/backup-small.jpg" alt="" width="220" height="134" />Regularly backing up your database and files is one of the most important things to do when running a website. One never knows what could happen and the words have become infamous:</p>
<blockquote><p>I was sure I had a backup.</p></blockquote>
<p>Most database plugins for WordPress offer the option to weekly backup your database and even email it to you but if you have a popular site, you might want to prefer a more frequent backup routine. Imagine how many posts and comments Gawker would lose if they only kept weekly backups and suffered problems the 6th day after their last backup.</p>
<p>Another problem with all database plugins is that they will not backup your files. With server storage space being really cheap nowadays, you can easily have several backup procedures in place, even if you host many pictures on your blog.</p>
<p>Personally I have <em>three different, totally automated</em> backup routines, using <a href="http://en.wikipedia.org/wiki/cron">cron</a> jobs:</p>
<ol>
<li>Daily backup</li>
<li>Weekly backup</li>
<li>Monthly  backup</li>
</ol>
<p>The reason why I also use weekly and monthly backups is because if you have a corrupted database, probably your daily backups will be corrupted and unusable. This can happen on sites you do not use on a daily basis.<br />
Daily backups are overwritten every 7 days, weekly and monthly backups are stored with attached timestamp.</p>
<p>Because most <a href="http://www.webhostingsearch.com/web-hosting-companies.php">web hosting companies</a> offer cPanel in their package, this tutorial is based on cPanel but the syntax is the same for Plesk and other backends.</p>
<h4>What Are Cron Jobs</h4>
<p>From Wikipedia:</p>
<blockquote><p>Cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule.</p></blockquote>
<h3>Backing up your database.</h3>
<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-3788" title="cron-jobs-icon" src="http://www.bloggingpro.com/wp-content/uploads/2009/12/cron-jobs-icon.png" alt="" width="81" height="81" />In your cPanel (<code>http://yoururl/cpanel</code>) under the header <em>Advanced Tools</em>, you will find a link <em>Cron Jobs</em>. Click this link  or click the icon on the right if your cPanel is setup with icons.<br />
On the next page choose <em>Advanced (Unix Style)</em>. There is no real difference between both options, the needed attention level is the same and in both simple and advanced you have to fill in the correct command.</p>
<p><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-3790" title="Setup Cron Jobs interface" src="http://www.bloggingpro.com/wp-content/uploads/2009/12/cron-jobs-setup.png" alt="" width="580" height="334" /></p>
<p><span id="more-3778"></span> The screenshot shows the daily cron jobs I have setup for my own blog (minus sensitive information of course).</p>
<h4>The Command Line</h4>
<p>The structure of the command line for the cronjob is following</p>
<pre class="brush: plain; title: ; notranslate">mysqldump -udbusername -pdbpassword db_name | gzip &gt; /home/cpanelusername/yourfolder/mysql_backup.gz</pre>
<h5>The different switches explained</h5>
<ul>
<li><code>mysqldump</code><br />
This is the command to backup the database.</li>
<li><code>-udbusername</code><br />
This is a double switch: the first part <code>-u</code> identifies the user to the database. Replace <code>dbusername</code> with your database username (if you have used Fantastico to setup your blog and don&#8217;t know those data, retrieve them from your wp.config file)</li>
<li><code>-pdbpassword</code><br />
Again a double switch, with <code>-p</code> being the trigger to call the database password. Replace <code>dbpassword</code> with your password (if you have used Fantastico to setup your blog and don&#8217;t know those data, retrieve them from your wp.config file).</li>
<li><code>db_name</code><br />
Here we add the name of the database we want to backup (If you have used Fantastico to setup your blog and don&#8217;t know those data, retrieve them from your wp.config file)</li>
<li><code>| gzip</code><br />
Triggers the compression for the backup. This is not needed. If you don&#8217;t want to compress the backup, just skip this switch.</li>
<li><code>/home/cpanelusername/yourfolder/mysql_backup.gz</code><br />
This is where we will store the backup and how it will be named. If you have opted not to compress the mysql backup, change the extension <strong>gz</strong> into <code>sql</code>. Of course you can name your backup and folder(s) differently.<br />
Feel free to be creative. I am <span style="text-decoration: line-through;">boring</span> conservative and save my backups in the folder <code>/home/mycpanelusername/etc/dbase</code> (Do not save your backups in a non-public folder, that is one level higher than your public_html/www/ folder. Use the cPanel File Manager to create this folder, or finally get a <a title="FileZilla" rel="external" href="http://filezilla-project.org/">decent and free FTP-client</a>). <code>cpanelusername</code> is the nick you use to login into your cPanel.</li>
</ul>
<h4>When do we run the script</h4>
<p>Last thing to define is when to run the script. Cron Jobs follow an easy structure for this.</p>
<ul>
<li><code>Minute</code><br />
What minute of the time period. Values from 0 to 59</li>
<li><code>Hour</code><br />
What hour. Values from 0 to 23</li>
<li><code>Day</code><br />
What day. Values from 0 to 31 (remember the shorter months)</li>
<li><code>Month</code><br />
Which month, 0 to 12, Gregorian Calendar.</li>
<li><code>Weekday</code><br />
Guess&#8230; 0 to 7, 0 and 7 being Sunday.</li>
</ul>
<p>Some examples for dates.</p>
<ul>
<li><code>1 * * * *</code> : Every minute after the hour, daily. <code>*</code> works as wild card, EVERY unit.</li>
<li><code>12 4 * * 3</code> : 04.12AM every Wednesday.</li>
<li><code>6 22 15 2 *</code> : February, 15th at 10.06PM.</li>
<li><code>1 0 * * 1</code> : Every Monday at 0.01AM.</li>
</ul>
<p>As can be seen in last example (every Monday), it is easy to create another job for every day (remember to give your file another name for every day as well: fe. <code>mysql_backup-mon.gz</code> and do this for every day of the week).</p>
<p>There also is an option to date stamp the backups but this might not work on every cPanel install and also is the best way to clutter your web space because probably you&#8217;ll forget to delete the old files anyway. This will overwrite your backup every time.</p>
<h4>Adding a timestamp to the file name</h4>
<p>Now we know how to create a daily backup cron job, it is easy to make a weekly backup and add the time and date to the file name.<br />
In this example we are going to let the procedure run every Sunday at 19.45 server time and the backup will be named: weekly.</p>
<pre class="brush: plain; title: ; notranslate">mysqldump -udbusername -pdbpassword db_name | gzip &gt; /home/cpanelusername/yourfolder/mysql-$(date +%Y-%m-%d-%H.%M.%S).gz</pre>
<p>The needed time values are: <code>45 19 * * 7</code>. My weekly backup which ran yesterday is named: mysql-2009-12-20-19.45.28.tgz</p>
<p>To run a monthly cron job on the 15th of every month at 06.22, use the same command as for the weekly backup but for time you have to use <code>22 6 15 * *</code>.</p>
<h3>Emailing the backup</h3>
<p>It is good procedure to store the backups somewhere else as well. You can easily email backup files. Be aware that daily or weekly backups can quickly take up lots of space in an email account and that there is a limit to file size for most email providers. To email a backup simply precede the command with <code>MAILTO=yourbackupemailaddress </code> (There is a space after your email address).</p>
<h3>Backing up your files</h3>
<p>Now we know how to use cron to backup your database it actually is very simple to backup files. Probably you do not need a frequent routine for these files and if you do, the only important folder is probably the <code>wp-content</code> folder as this is where your uploads, plugins and themes are stored.</p>
<p>First we are going to create another folder <code>files</code> for this backup. Navigate in your cPanel File Manager or FTP client to your root folder and chose again the folder <code>etc</code>. This is where we also created a folder for our databases. Now create a new folder named <code>files</code>.</p>
<p>To backup our <code>wp-content</code> folder weekly we are going to create a file called <code>file-backup.sh</code> and store this file in our home folder (your root folder).</p>
<pre class="brush: plain; title: ; notranslate">#/bin/bash
/bin/tar czPf /home/cpanelusername/etc/files/wp-content-weekly.tar.gz /home/cpanelusername/public_html/wp-content/</pre>
<p>This file will now create a backup named <em>wp-content-weekly.tar.gz</em> of your <em>wp-content</em> folder in the directory <em>etc/files</em>.</p>
<p>Go back to your Cron Jobs in cPanel now and now we need to call this file weekly. Use the following command to schedule your new cron job: <code>/home/cpanelusername/file-backup.sh</code>. To run this command every Sunday again, at 13.45 this time use <code>45 13 * * 7</code> for the time. This will weekly overwrite the backup, to save every week another backup with timestamp add <code>-`date "+%Y%m%d%H%M"`</code> to the filename in the new file we created, eg.</p>
<pre class="brush: plain; title: ; notranslate">#/bin/bash
/bin/tar czPf /home/cpanelusername/etc/files/wp-content-weekly-`date &quot;+%Y%m%d%H%M&quot;`.tar.gz /home/cpanelusername/public_html/wp-content/</pre>
<p>Remember that if you have many large files you could run out of web space after some weeks if you do not regularly back them up on your computer and delete old files.</p>
<p><strong><span style="text-decoration: underline;">Photo credit:</span></strong> <a href="http://www.flickr.com/photos/daryl_mitchell/1199598508/">Daryl Mitchell</a>.</p>
<p>Note: I originally wrote the first part of this tutorial more than 2 years ago on <a title="Automated Files and Database Backup Cron" href="http://ifranky.com/2007/09/mysql-automati-backup-cron/">iFranky</a>.</p>

<div id="oio-banner-9" style="width:560px; float:left;">
<h2 class="widgettitle"><a href="http://www.blogsearchengine.com/submit-blog/" title="Promote Your Blog">Get backlinks to your Blog!</a></h2>	

<p><a href="http://www.blogsearchengine.com/submit-blog/"><img src="http://splashpress.com/ads/blogsearchengine-banners-social-300.jpg" alt="Promote Your Blog" width="250" /></a></p>
<p>If you are looking to promote your blog and get high quality backlinks from a PR6 2003 domain then Blogsearchengine.com is for you. For as little as $14.99 you can submit your blog and have a review written and published there with a backlink to your website or blog, we accept all niche!</p>
</div>
<hr class="oio-clear-left" />
]]></content:encoded>
			<wfw:commentRss>http://www.bloggingpro.com/archives/2009/12/21/automate-wordpress-database-and-files-backup/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Your very own cloud :)</title>
		<link>http://www.bloggingpro.com/archives/2008/09/26/your-very-own-cloud/</link>
		<comments>http://www.bloggingpro.com/archives/2008/09/26/your-very-own-cloud/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 06:00:39 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Backups]]></category>

		<guid isPermaLink="false">http://www.bloggingpro.com/?p=2516</guid>
		<description><![CDATA[I&#8217;m filing this post under &#8220;backup&#8221; because we&#8217;ve been told many times over to backup your drive like a month or so. Please please do it now if you haven&#8217;t. OMG, am I sounding like your dentist (!), well, he&#8217;s right when he tells you to brush your teeth at least 3 times a day&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m filing this post under &#8220;backup&#8221; because we&#8217;ve been told many times over to backup your drive like a month or so.  Please please do it now if you haven&#8217;t.  OMG, am I sounding like your dentist (!), well, he&#8217;s right when he tells you to brush your teeth at least 3 times a day&#8230; and floss!!!  har har har.</p>
<p>Ok, &#8217;nuff about teeth, backup these days are equally important though.  If you&#8217;ve been situated where there was &#8220;hair pulling&#8221; and &#8220;table banging&#8221; because you failed to backup, here&#8217;s a tool that may make you avoid that horrific episode.</p>
<p>The Imation Apollo Pro WX Hard Drive.  </p>
<p><img src="http://www.ubergizmo.com/photos/2008/9/imation-apollo-wireless-hdd.jpg" alt="" /></p>
<p>It&#8217;s a USB wireless hard drive (comes in 250GB to 1TB storage capacity) that you can hide anywhere within 30 feet AND STILL be able to access as if you&#8217;ve got your own &#8220;data cloud&#8221; at home.  Comes pre-packed with data security features that ensures you private and sole access to it.  No worries about the neighbors trying to peek in and create havoc with your files.</p>
<p>Right now, it works with the Dell Latitude and XPS models AND with Kensington&#8217;s four-port Wireless USB Docking Station.  Soon enough, I&#8217;m sure it will expand its compatibility to a lot of PCs and notebooks.</p>
<p>It will be available Q4 of 2008.  No price listed yet.</p>

<div id="oio-banner-9" style="width:560px; float:left;">
<h2 class="widgettitle"><a href="http://www.blogsearchengine.com/submit-blog/" title="Promote Your Blog">Get backlinks to your Blog!</a></h2>	

<p><a href="http://www.blogsearchengine.com/submit-blog/"><img src="http://splashpress.com/ads/blogsearchengine-banners-design-300.jpg" alt="Promote Your Blog" width="250" /></a></p>
<p>If you are looking to promote your blog and get high quality backlinks from a PR6 2003 domain then Blogsearchengine.com is for you. For as little as $14.99 you can submit your blog and have a review written and published there with a backlink to your website or blog, we accept all niche!</p>
</div>
<hr class="oio-clear-left" />
]]></content:encoded>
			<wfw:commentRss>http://www.bloggingpro.com/archives/2008/09/26/your-very-own-cloud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amazon S3 &#8211; Simple Storage Solution</title>
		<link>http://www.bloggingpro.com/archives/2007/05/10/amazon-s3-simple-storage-solution/</link>
		<comments>http://www.bloggingpro.com/archives/2007/05/10/amazon-s3-simple-storage-solution/#comments</comments>
		<pubDate>Thu, 10 May 2007 19:30:03 +0000</pubDate>
		<dc:creator>David Peralty</dc:creator>
				<category><![CDATA[Backups]]></category>

		<guid isPermaLink="false">http://www.bloggingpro.com/archives/2007/05/10/amazon-s3-simple-storage-solution/</guid>
		<description><![CDATA[Robert Nyman talks about Amazon&#8217;s S3 service, which provides pretty much anyone with a great online storage system and talks about their upcoming pricing changes, which will make it even more affordable for some people. Basically, what this means is that I pay about 20 &#8211; 24$ a year for a safe and reliable backup [...]]]></description>
			<content:encoded><![CDATA[<p>Robert Nyman talks about Amazon&#8217;s S3 service, which provides pretty much anyone with a great online storage system and talks about their upcoming pricing changes, which will make it even more affordable for some people.</p>
<blockquote><p>Basically, what this means is that I pay about 20 &#8211; 24$ a year for a safe and reliable backup of about 10 GB of data. Not too shabby, eh? If youâ€™re looking for safe and very cheap backup, I would really recommend Amazon S3. No need to worry about malfunctioning external disk drives, burning backup CDs/DVDs all the time or other issues. Transfer the files to Amazon and youâ€™re safe!</p></blockquote>
<p>There are also recommendations for various tools you can use to access the S3 service. I, for one, am excited to give the service a try to back up all my personal photos, coding projects and design work. Check out <a href="http://www.robertnyman.com/2007/05/09/amazon-s3-amazon-simple-storage-service/">Ryan&#8217;s post</a> for more details.</p>

<div id="oio-banner-9" style="width:560px; float:left;">
<h2 class="widgettitle"><a href="http://www.blogsearchengine.com/submit-blog/" title="Promote Your Blog">Get backlinks to your Blog!</a></h2>	

<p><a href="http://www.blogsearchengine.com/submit-blog/"><img src="http://splashpress.com/ads/blogsearchengine-banners-social-300.jpg" alt="Promote Your Blog" width="250" /></a></p>
<p>If you are looking to promote your blog and get high quality backlinks from a PR6 2003 domain then Blogsearchengine.com is for you. For as little as $14.99 you can submit your blog and have a review written and published there with a backlink to your website or blog, we accept all niche!</p>
</div>
<hr class="oio-clear-left" />
]]></content:encoded>
			<wfw:commentRss>http://www.bloggingpro.com/archives/2007/05/10/amazon-s3-simple-storage-solution/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

