<?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>Fortasse &#187; godaddy</title>
	<atom:link href="http://www.fortasse.com/tag/godaddy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fortasse.com</link>
	<description>Action at a distance</description>
	<lastBuildDate>Tue, 31 Jan 2012 03:55:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Save Big with GoDaddy Coupon Codes</title>
		<link>http://www.fortasse.com/featured/save-big-on-godaddy/</link>
		<comments>http://www.fortasse.com/featured/save-big-on-godaddy/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 09:35:53 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tech Insider]]></category>
		<category><![CDATA[codes]]></category>
		<category><![CDATA[coupon]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Save]]></category>

		<guid isPermaLink="false">http://www.fortasse.com/?p=1250</guid>
		<description><![CDATA[Save big money right now on GoDaddy services with these awesome deals!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fortasse.com/wp-content/uploads/2012/01/order.png"><img class="alignright size-full wp-image-1251" title="Order Screen" src="http://www.fortasse.com/wp-content/uploads/2012/01/order.png" alt="" width="225" height="274" /></a></p>
<h3>GoDaddy Wants to Save You Money</h3>
<p>Like any business, GoDaddy frequently tries to attract new customers and keep old ones by offering special discounted rates for many of its services. Since my renewal dates were coming up and I wanted to buy additional domains, I decided to browse the web for awesome savings on hosting and domains purchases. I was blown away by the number of coupon codes I found and was left wondering, &#8220;Why didn&#8217;t I do this earlier?!&#8221; After picking myself up off the floor, I began comparing the various coupons available.</p>
<p>While there are many coupons available, as far as I know you can only use one coupon code per order and the codes can only be used once per customer. In addition to this, it is worthwhile to have pen and paper available (or a calculator) to compare the offerings. Some codes offer a set discount, such as $1.00, while others reduce the cost by a percentage. What is best for you is going to depend on the grand total as well as the products you are ordering. For example, you cannot use a hosting coupon code for domain purchases and vice versa. To keep this short, without further adieu I present you with the following codes, courtesy of GoDaddy.com and livecodes.blogspot.com.</p>
<h3>Godaddy Coupon Codes</h3>
<ul>
<li> Register any domain for just $1.00: biggame1</li>
<li>Up to three domains for $4.95 each (can do multiple years!): gfnf2tu01</li>
<li>20% off all hosting plans: cjcchp20</li>
<li>27% off orders: gdx124a</li>
<li>Save more than 50% off SSL certificates: cjcssl12t2</li>
</ul>
<p>&nbsp;</p>
<p>There are many more codes around the web and the ones above won&#8217;t last forever! To find out the latest and greatest in coupon codes, come back to this post often, Google or check out the page where I found many of the codes listed here: http://livecodes.blogspot.com/</p>
<p>&nbsp;</p>
<p>Hot Tip: GoDaddy will frequently display available coupon codes in a yellow box on the screen just before the Order Summary page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fortasse.com/featured/save-big-on-godaddy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial: Backup script</title>
		<link>http://www.fortasse.com/tutorials/tutorial-automatic-backup-script/</link>
		<comments>http://www.fortasse.com/tutorials/tutorial-automatic-backup-script/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 13:30:35 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[back up]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[backup files]]></category>
		<category><![CDATA[CRON]]></category>
		<category><![CDATA[CRON job]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.fortasse.com/?p=275</guid>
		<description><![CDATA[The importance of running a thorough, regularly scheduled back up cannot be overstressed regardless of whether your site is just starting out or has hundreds of viewers per day. Backing up your important files goes a long way towards preventing or easily repairing many headaches that may come along with broken installations or updates, hacking [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fortasse.com/wp-content/uploads/2010/01/terminal1.png"><img class="aligncenter size-full wp-image-319" title="Terminal" src="http://www.fortasse.com/wp-content/uploads/2010/01/terminal1.png" alt="Terminal" width="537" height="248" /></a></p>
<p style="text-align: left;">The importance of running a thorough, regularly scheduled back up cannot be overstressed regardless of whether your site is just starting out or has hundreds of viewers per day. Backing up your important files goes a long way towards preventing or easily repairing many headaches that may come along with broken installations or updates, hacking attempts or if you simply want to move to another domain or hosting provider.﻿﻿ After all, an ounce of prevention is worth a pound of cure. In this post, I will show you a basic script you can use as part of your scheduled back up. It will copy your website to a backup folder, zip the contents of the folder and optionally keep a working mirror of your website&#8211;automatically!<span id="more-275"></span></p>
<h3>Why backup?</h3>
<p>The problem with backing files up is that most people just don&#8217;t see the need to do so until something has happened. Unfortunately, by then it&#8217;s usually too late to fix the problem. In reality, if you do not have your website scheduled for a regular daily backup, you are playing a dangerous game Russian roulette with your information. Once a routine backup plan is put into effect, it will give you the peace of mind that comes along with knowing that if problems should occur, you will have&#8230; a back up!</p>
<p>Most hosting providers do back up everything on their servers, but that doesn&#8217;t necessarily mean they do it often. They may backup the operating system and important information to keep the server running on a daily basis, but most don&#8217;t run daily backups of the websites they are hosting. To be honest, it&#8217;s just not worth the disk space for them&#8211;there could literally be hundreds, even a thousand websites being hosting on a shared server. Of those that do run backups, many charge for restoring the back up they have on copy and it may be weeks or a month old at best. To be honest, they maintain back ups for themselves. It&#8217;s your responsibility to back up your own information.</p>
<h3>Paid versus shell scripts</h3>
<p>There are many back up solutions that rely on the software you have installed on your site. A quick search will bring up a plethora of paid and free plugins available for OsCommerce, WordPress, CRE Loaded, Joomla, etc. There is a problem with these plugins, though: most rely on your installation to work or be somewhat functional and they run the risk of breaking if you update the plugin or the software. While they are generally much easier to use, they are not the most effective way to back up your site and some only back up the specific software installation, not any other files you may be hosting.</p>
<p>So, how do you get around this? The answer is very simple: good, old reliable shell scripts. Shell scripts have been around forever and they are without a doubt the most reliable way of backing up your information. They aren&#8217;t as user friendly as web site plugins, but they are free, fast, have a proven track record and there is a wealth of information available about how to use them. They do not rely on anything to be installed except, of course, the operating system your host is running, but that&#8217;s assumed. Since they run locally where your information is stored, they are faster than downloading and backing up your site via FTP. It is nice to have a copy of your site downloaded via FTP on hand in case of a major disaster and I do recommend this as well, but that&#8217;s for another topic.</p>
<h3>Getting started</h3>
<p>Before you do anything, though, you need to make sure you have: SSH (shell access) and the ability to run CRON jobs. Godaddy, for example, requires you to activate SSH by phone before you can run CRON jobs, and since you need both, you should go ahead and get it activated before continuing to read. The back up I will show you has been tested on Godaddy via SSH and their CRON job manager, but should work just as well on any other hosting provider that runs Linux with little or no modification necessary. The first script is designed for WordPress and selectively backs up only WordPress and any files in the immediate root directory. It assumes that you have installed WordPress in the root directory. For example: http://www.yourblog.com NOT http://www.yourblog.com/wordpress. The second script can be used for backing up your entire web site&#8211;it merely backs up everything in the public html directory. Again, you can easily modify these scripts to suit your needs. You need only to change the directory or directories that you wish to back up in the scripts.</p>
<h3>Plan of action</h3>
<ol>
<li>Create a directory in your root called<em> &#8216;backups&#8217;</em></li>
<li>Create another directory inside backups called <em>&#8216;dailyback.&#8217;</em></li>
<li>Protect <em>backups</em> with a user name and password using .htaccess and .htpasswd.</li>
<li>Create an empty file inside <em>backups</em> with a <em>plain text editor</em> (no Microsoft Word et al&#8211;Notepad or gedit are good enough!) call it <strong>backup.sh</strong> since this is a shell script we&#8217;re creating.</li>
<li>Into the contents of this file, copy and paste the following script (if you have problems copying and pasting the script, you can download the whole script at the bottom of this page):</li>
</ol>
<p><code> #!/bin/bash<br />
#Compliments of www.fortasse.com<br />
#Displays a greeting and backs up files<br />
#Begin Script<br />
TERM=linux<br />
export TERM<br />
NOWDATE=`date +%m%d%y` # Sets the date variable format for zipped file: MMddyy<br />
clear # clears terminal window<br />
echo<br />
echo "Hi, $USER!"<br />
echo<br />
echo "Beginning backup of files @ `date`"<br />
echo "Backing up wp-content..."<br />
#Copy wp-content<br />
cp -r $HOME/html/wp-content $HOME/html/backups/dailyback<br />
echo "Done!"<br />
echo<br />
#Copy wp-admin<br />
echo "Backing up wp-admin..."<br />
cp -r $HOME/html/wp-admin $HOME/html/backups/dailyback<br />
echo "Done!"<br />
echo<br />
echo "Backing up wp-includes..."<br />
#Copy wp-includes<br />
cp -r $HOME/html/wp-includes $HOME/html/backups/dailyback<br />
echo "Done!"<br />
echo<br />
echo "Backing up files in WordPress the root folder /html/ ..."<br />
#Copy miscellaneous files in /html/ only<br />
cp $HOME/html/*.* $HOME/html/backups/dailyback<br />
echo "Done!"<br />
echo<br />
echo "Zipping directory structure..."<br />
tar -cvzf $HOME/html/backups/$NOWDATE.tar.gz $HOME/html/backups/dailyback/*<br />
echo "Backup complete!"<br />
#Uncomment the following lines if you DO NOT want to keep a mirror of your site:<br />
#echo "Cleansing backup folder..."<br />
#rm -r $HOME/html/admin/dailyback/*<br />
</code></p>
<p>You will need to do a couple of things before you can run this. If you&#8217;re on Godaddy, you shouldn&#8217;t need to make any changes to the script. If you&#8217;re not on Godaddy, you might need to change the /html/ folder to /public_html/ or whatever it is that your host uses. Make any other changes you need to the directory structure and uncomment the last two lines if you don&#8217;t want to keep a working mirror of your WordPress blog. Upload it to your web site and test it out by opening an SSH connection and going to the directory you uploaded it to and type:<br />
<code>cd ~/html/backups<br />
sh backup.sh</code></p>
<p>Technically, you don&#8217;t need to do all of that copying. You could simply remove almost everything but the last line and tell the script what directory you want to backup. However, I prefer to keep both a working copy (aka mirror) and a zip at all times. It&#8217;s a lot faster to simply copy the mirror back over if something broke than to have to unzip and restore the archive. Let&#8217;s look at an example of a barebones script that simply zips everything in the public html folder:</p>
<p><code>#!/bin/bash<br />
#Compliments of www.fortasse.com<br />
#Displays a greeting and backs up files<br />
#Begin Script<br />
TERM=linux<br />
export TERM<br />
NOWDATE=`date +%m%d%y` # Sets the date variable format for zipped file: MMddyy<br />
clear # clears terminal window<br />
echo<br />
echo "Hi, $USER!"<br />
echo<br />
echo "Beginning backup of files @ `date`"<br />
echo<br />
echo "Zipping directory structure..."<br />
#Remove the v in -cvzf below if you don't want to see the output<br />
tar -cvzf $HOME/html/backups/$NOWDATE.tar.gz $HOME/html/*<br />
echo "Backup complete!"<br />
</code></p>
<p>In this case, <em>everything</em> in the public html folder was zipped and the corresponding zip file placed in the <em>~/html/backups/ </em>directory. This is really effective if you don&#8217;t want to selectively back up certain files or directories. I run several backups on my server, at different rates and times and for specific files or directories. Not every web site hosted on my account will necessarily go down at the same time. Therefore, making individual back ups of different installations and/or web sites allows me to have a much finer degree of control over my backups. If I zipped the entire site in one file, I would have to worry about over-writing new content on other unaffected web sites contained in the same root when I expand the zip file. That would be another nightmare altogether!</p>
<h3>Backing up your database with MySQLDump</h3>
<p>Backing up your database is also very important. If your database goes, in most cases you&#8217;ll having nothing. Zilch. Zero. No posts, no users, no links, no tags. You get the point. Thankfully, this is fairly easy to do using a shell script.</p>
<h3>Do it!</h3>
<ol>
<li>Create a directory called <em>&#8216;database&#8217;</em> inside the the <em>/html/backups</em> directory.</li>
<li>Copy and paste the following code into the bottom of the <strong>backup.sh </strong>script.</li>
</ol>
<p><code>echo "Backing up WordPress database"<br />
mysqldump -h YOUR.DBSERVER.COM -uUSERNAME -pPASSWORD DATABASENAME &gt; $HOME/html/backups/database/$NOWDATE.sql<br />
gzip -9 $HOME/html/backups/database/$NOWDATE.sql<br />
echo<br />
echo "Job finished!"</code></p>
<p>Replace <em>YOUR.DBSERVER.COM</em> with wherever your database is stored. It might be locally stored on the machine, or it could be located on a remote server in the case of Godaddy. Replace <em>USERNAME</em> with your username, <em>PASSWORD</em> with your actual password and <em>DATABASENAME</em> with the name of the database you want to backup. Keep the spaces, all dashes and everything else you see intact. -p and <em>PASSWORD</em> are supposed to be connected. Do not make a space between them, or it may not work. Like the file back up script, this will back up the database, zip it and put it in an archive with a time stamped file name.</p>
<h3>Final steps</h3>
<p>You will need to set this script to run through your hosts CRON Job manager. In Godaddy, this is a very simple task. You need to upload the file, open up your Hosting Control Center, go to Cron Jobs and select the file and time you wish to run the shell script. <strong>NOTE: You may get a &#8216;Permission Denied Error!&#8217; In this case, try setting the permissions of the backup.sh file to 755.</strong> For other hosting companies, you may or may not have to use CRON Tab or some other CRON job manager. The commands are simple, but call your hosting company if you have any questions. In either case, <em>you should set up the job to send you an e-mail upon completion</em>. At least for the first few days, to make sure the script is working properly. Caveat: If you left to verbose (-v option) on for tar, you may get a very large e-mail.</p>
<h3>Summary</h3>
<p>So to briefly summarize everything, the first script copies specific directories, creates a mirror and zips the mirrored backup and places it in a backup directory. The file name is the time stamp of the backup date. The second script backs up everything in your public html file (all websites, subdomains, and anything else) and zips it up and does not create a mirror image of your site. The third will backup your SQL database and zip it in a nice little file using gzip. Simple enough, huh?</p>
<p>If all went as planned, you should have a working back up script for your website. I recommend using the script at least daily for the best protection. Enjoy!<br />
<br>
<br>
<br>






<div class="download-info single">


<div class="side-section">
		        		<p><br><iframe src="http://rcm.amazon.com/e/cm?t=fortasse-20&o=1&p=8&l=ez&f=ifr&f=ifr" width="120" height="240" scrolling="no" marginwidth="0" marginheight="0" border="0" frameborder="0" style="border:none;"></iframe>
</p><div class="extra"></div>
<p><a href="http://www.fortasse.com/wp-content/plugins/download-monitor/download.php?id=2" class="download-button">Download</a></p>		        	</div>



<div class="main-section">



<br>
<h1>Download: Backup Script</h1>







<table class="download-meta" cellspacing="0" style="width:100%">

<thead><tr><th scope="col">Attribute</th><th style="text-align:right" scope="col">Value</th></tr></thead><tbody>

<tr><th scope="row">Version</th><td style="text-align:right">1.2</td></tr><tr><th scope="row">Date posted</th><td style="text-align:right">Nov 18, 2010</td></tr>

<tr><th scope="row">Downloaded</th><td style="text-align:right">18 times</td></tr><tr><th scope="row">Tags</th><td style="text-align:right">backup script, linux, godaddy</td></tr>

<tr><th scope="row">File format</th><td style="text-align:right">.7z extension</td></tr>




</tbody></table>


<div class="download-desc">
<h3 class="download-desc-heading">Description</h3>
<p><p>Multiple hosting service compliant backup script, exclusively designed to work with Godaddy in mind.</p>
</p>

<p>You must be registered to download! If you are not, please <a href="http://www.fortasse.com/wp-login.php?action=register">Sign Up</a> now!</p>






<p></div></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fortasse.com/tutorials/tutorial-automatic-backup-script/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Godaddy, WordPress &amp; Broken Permalinks</title>
		<link>http://www.fortasse.com/miscellaneous/godaddy-wordpress-broken-permalinks-2/</link>
		<comments>http://www.fortasse.com/miscellaneous/godaddy-wordpress-broken-permalinks-2/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 21:32:35 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Interesting Tidbits]]></category>
		<category><![CDATA[broken permalinks]]></category>
		<category><![CDATA[fix permalinks]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[permalink]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[word press]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.fortasse.com/?p=102</guid>
		<description><![CDATA[One of the irritating and little-published issues about using WordPress with Godaddy hosting services is that for some reason, the default 404 behavior appears to affect whether or not your user-defined permalinks will show up. While this may be a non-issue if you aren&#8217;t interested in using SEO and human firendly links, it is certainly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fortasse.com/wp-content/uploads/2010/01/wordpress404-e1263449208792.jpg"><img class="alignleft size-medium wp-image-74" title="404" src="http://www.fortasse.com/wp-content/uploads/2010/01/wordpress404-e1263449208792.jpg" alt="404" width="300" height="139" /></a>One of the irritating and little-published issues about using WordPress with Godaddy hosting services is that for some reason, the default 404 behavior appears to affect whether or not your user-defined permalinks will show up. While this may be a non-issue if you aren&#8217;t interested in using SEO and human firendly links, it is certainly something that should be better documented.<span id="more-102"></span> The reason I say this is because, while changing my permalink settings to a &#8216;prettier&#8217; and more human and SEO friendly format, I found 404 errors all over my page. Just lovely, I thought!</p>
<p>Now before you get to talking about <a title="Godaddy" href="http://www.godaddy.com" target="_blank">Godaddy</a> hosting services, I must say that the number one reason I have stayed with them through the years is quite simply because they have <em>fantastic</em> customer service. I&#8217;ve chatted with their reps for hours on the phone (seriously) at all times of the day. They&#8217;ve often gone as far as to give me their personal e-mail address to address any additional questions I might have after the phone call. This isn&#8217;t the &#8216;wait 7 hours for a response&#8217; address, but a real, live person&#8217;s e-mail address who, in my case, checked their inbox quite often.</p>
<p>In any case, it was from a simple call to them at 2:00 in the morning and a post on this <a href="http://zacvineyard.com/blog/2008/10/24/wordpress-godaddy-and-permalinks/" target="_blank">blog</a> that I found out this little fact about one of Godaddy&#8217;s WordPress issues. Needless to say, every hosting provider has issues and this is far from being a large one. What is disconcerting is that it was not very easy to find out <em>why</em> my new permalinked posts would not show up.</p>
<p>While it could be potentially disastrous for someone as they search frantically throughout the internet for a possible fix so they can update their existing permalinks or change the structure of their current permalinks, rest assured that all it takes in this case is a little time and patience along with some small changes inside your Hosting Control Center.</p>
<p>Simply goto Settings &gt; 404 Error Behaviour &gt; Select &#8216;Use Homepage&#8217; instead of using the default Godaddy 404 page. In my case, it was instantly fixed, because I was not caching pages. If you are, you might need to delete the cache on your browser and/or purge any enabled caching inside your WordPress admin panel. The reason for this is apparently because using this setting will allow WordPress to intercept the 404 and use it&#8217;s own, built-in 404 page. Note that if you try to enable &#8216;Use custom page&#8217; it will also <em>not</em> work.</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fortasse.com/miscellaneous/godaddy-wordpress-broken-permalinks-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	<a href="http://www.fortasse.com/socalledbuilder.php"><!-- Private Link --></a></channel>
</rss>

