


<?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>Chris Meyer - Mentions &#187; Webdevelopment</title>
	<atom:link href="http://chrismeyer.org/wordpress/category/webdevelopment/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrismeyer.org/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 09 Aug 2010 20:53:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Dreamhost How to Use Cronjobs to Email Backup MySQL Databases</title>
		<link>http://chrismeyer.org/wordpress/2010/07/dreamhost-how-to-use-cronjobs-to-email-backup-mysql-databases/</link>
		<comments>http://chrismeyer.org/wordpress/2010/07/dreamhost-how-to-use-cronjobs-to-email-backup-mysql-databases/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 17:16:06 +0000</pubDate>
		<dc:creator>Waterppk</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>

		<guid isPermaLink="false">http://chrismeyer.org/wordpress/?p=325</guid>
		<description><![CDATA[I&#8217;ve been using Dreamhost for a while (works great btw), I had been backing things up manually but I thought it was about time to start automated mysql backups. Looking around online I found these instructions but they simply say to modify the instructions and add this mutt command mutt you@domain.com -a /home/username/backups/archives/mysql_backup.$suffix.tar -s "MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Dreamhost for a while (works great btw), I had been backing things up manually but I thought it was about time to start automated mysql backups.  Looking around online I <a href="http://wiki.dreamhost.com/index.php/Automatic_Backup#Mysql_Database_Backup">found these instructions</a> but they simply say to modify the instructions and add this mutt command</p>
<p><code>mutt you@domain.com -a /home/username/backups/archives/mysql_backup.$suffix.tar -s "MySQL Backup"</code></p>
<p>to get e-mail backups working.  In reality, this command will merely open up mutt and create a new message but it will not automatically send it without additional input.  Buried online I found someone else who said to simply:</p>
<p><code>mutt you@domain.com -s "MySQL Backup" &lt; /home/username/backups/archives/mysql_backup.$suffix.tar</code></p>
<p>which does automatically e-mail you, but it just dumps the file into the e-mail body without attaching it as a document.  What that statement is really doing is piping in body text and completing the e-mail prompts magically, which isn&#8217;t what I wanted to do.  The solution is to:</p>
<p><code>mutt you@domain.com -a /home/username/backups/archives/mysql_backup.$suffix.tar -s "MySQL Backup" &lt; emailbody.txt</code></p>
<p>What this gives you is an attachment of your file, and then it pipes in an e-mail body (put it in the same location that this script is running from) and sends the message.  You would also use echo statements to &#8220;type&#8221; whatever additional input you wanted in mutt and script the rest of the message completion [untested but it conceptually should work, YMMV]</p>
<p>Full Script:<br />
<code><br />
#!/bin/bash<br />
cd /home/username/backups/<br />
mkdir mysql<br />
suffix=$(date +%y%m%d)<br />
mysqldump --opt -uUser -ppass -h mysqlA.domain.com db_nameA &gt; mysql/db_nameA.$suffix.sql<br />
mysqldump --opt -uUser -ppass -h mysqlB.domain.com db_nameB &gt; mysql/db_nameB.$suffix.sql<br />
tar -cf archives/mysql_backup.$suffix.tar mysql/*<br />
mutt you@domain.com -a /home/username/backups/archives/mysql_backup.$suffix.tar -s "MySQL Backup" &lt; emailbody.txt<br />
rm -r mysql/<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://chrismeyer.org/wordpress/2010/07/dreamhost-how-to-use-cronjobs-to-email-backup-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Googlebot Crawl Rate for Blank Website</title>
		<link>http://chrismeyer.org/wordpress/2009/09/googlebot-crawl-rate-for-blank-website/</link>
		<comments>http://chrismeyer.org/wordpress/2009/09/googlebot-crawl-rate-for-blank-website/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 22:54:22 +0000</pubDate>
		<dc:creator>Waterppk</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[googlebot]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[site crawler]]></category>

		<guid isPermaLink="false">http://chrismeyer.org/wordpress/?p=162</guid>
		<description><![CDATA[I&#8217;ve got a blank site that I&#8217;ve had hosted for a while now and I was adding all of my websites to Google&#8217;s Webmaster tools. Interestingly the site crawl statistics tell us that Google&#8217;s bot will crawl a index.html only site (with no changes over 6 months of crawling) every 4.5 days.  If you take [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a blank site that I&#8217;ve had hosted for a while now and I was adding all of my websites to <a href="http://www.google.com/webmasters/">Google&#8217;s Webmaster tools</a>.  Interestingly the site crawl statistics tell us that Google&#8217;s bot will crawl a <code>index.html</code> only site (with no changes over 6 months of crawling) every 4.5 days.  If you take a look at the graph below, you&#8217;ll see the crawler looked at the page 20 time over 90 days, or every 4.5 days.  You can also see the variety of site response time from my host.</p>
<div id="attachment_163" class="wp-caption aligncenter" style="width: 310px"><a href="http://chrismeyer.org/wordpress/wp-content/uploads/2009/09/google_crawler_stats.jpg" rel="lightbox[162]"><img class="size-medium wp-image-163" title="google_crawler_stats" src="http://chrismeyer.org/wordpress/wp-content/uploads/2009/09/google_crawler_stats-300x232.jpg" alt="Google Crawler Frequency Statistics" width="300" height="232" /></a><p class="wp-caption-text">Google Crawler Frequency Statistics</p></div>
<p>So for those of you paranoid about when Google will crawl your site next to get updates, it shouldn&#8217;t be more than 4.5 days assuming it&#8217;s not a brand new site.  The rest of my sites are crawled daily. . .</p>
]]></content:encoded>
			<wfw:commentRss>http://chrismeyer.org/wordpress/2009/09/googlebot-crawl-rate-for-blank-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Closes Hotmail Account</title>
		<link>http://chrismeyer.org/wordpress/2009/07/microsoft-closes-hotmail-account/</link>
		<comments>http://chrismeyer.org/wordpress/2009/07/microsoft-closes-hotmail-account/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 02:21:59 +0000</pubDate>
		<dc:creator>Waterppk</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Programming Fail]]></category>

		<guid isPermaLink="false">http://chrismeyer.org/wordpress/?p=103</guid>
		<description><![CDATA[I&#8217;ve had a Hotmail account for years, and today I went to sign into it to retrieve and old e-mail address and was met with: Which is interesting in an of itself, you would think that rather than having a link to ANOTHER form, they would have just put the form at the bottom of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a Hotmail account for years, and today I went to sign into it to retrieve and old e-mail address and was met with:</p>
<p><a href="http://chrismeyer.org/wordpress/wp-content/uploads/2009/07/Fullscreen-capture-7122009-90304-PM.jpg" rel="lightbox[103]"><img class="aligncenter size-medium wp-image-104" title="Hotmail Account Closed" src="http://chrismeyer.org/wordpress/wp-content/uploads/2009/07/Fullscreen-capture-7122009-90304-PM-300x204.jpg" alt="Hotmail Account Closed" width="300" height="204" /></a></p>
<p>Which is interesting in an of itself, you would think that rather than having a link to ANOTHER form, they would have just put the form at the bottom of the page, or better yet have a challenge or a captcha (that&#8217;s better than the obviously insufficient one that let the spammers create the account in the first place) to let me reinstate my account after proving I&#8217;m a human.  So instead they send me off to yet another page:</p>
<p><a href="http://chrismeyer.org/wordpress/wp-content/uploads/2009/07/Fullscreen-capture-7122009-90318-PM.jpg" rel="lightbox[103]"><img class="aligncenter size-medium wp-image-105" title="Another Account Closed Message" src="http://chrismeyer.org/wordpress/wp-content/uploads/2009/07/Fullscreen-capture-7122009-90318-PM-300x250.jpg" alt="Another Account Closed Message" width="300" height="250" /></a></p>
<p>Hmm, interesting, the same as the first page, except now they let me know that I probably didn&#8217;t violate their TOS (actually I&#8217;m sure I have doing something, not that they&#8217;re actually noticed).  Additionally, there isn&#8217;t a form to fill out here, in fact there&#8217;s barely even a contact e-mail at the bottom of the page &#8211; <strong>but alas, I can&#8217;t use my e-mail account!!! </strong> Somebody fails here, as <em>they&#8217;ve suspended my e-mail account</em>.  So now what I would have to do is <strong>sign up for e-mail with somebody else!</strong> Great move, drive customers to OTHER service providers so they can send you an e-mail begging for their account back.</p>
<p>I was eventually able to figure out that my account had been sending spam messages, so either the password was too weak and dictionary attack got it, I logged into this account through a bad access point and someone pulled it from the traffic, or I was on a computer with a keylogger/malware that pulled it.  I rarely use the account except for MSN/Live Mesh, when I log into Hotmail I go directly to the page from a browser so I really doubt I got hit by someone phishing with a fake site.</p>
<p>Moral of the story: use strong passwords and change them often, other moral is if you&#8217;re designing a web interface make sure you have a logical system set up for your users, in this case likely there are many programmers at M-soft and somebody never checked the links.</p>
]]></content:encoded>
			<wfw:commentRss>http://chrismeyer.org/wordpress/2009/07/microsoft-closes-hotmail-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
