<?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>zedomax.com &#187; syntax</title>
	<atom:link href="http://zedomax.com/blog/tag/syntax/feed/" rel="self" type="application/rss+xml" />
	<link>http://zedomax.com/blog</link>
	<description>Zedomax - The DIY, HOWTO, Mod, Hacks, Gadgets, and Tech Blog!</description>
	<lastBuildDate>Mon, 22 Mar 2010 16:48:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux Hack &#8211; How to Resume SCP Transfers after Interruption!</title>
		<link>http://zedomax.com/blog/2009/09/05/linux-hack-how-to-resume-scp-transfers-after-interruption/</link>
		<comments>http://zedomax.com/blog/2009/09/05/linux-hack-how-to-resume-scp-transfers-after-interruption/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 07:32:17 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[interruption]]></category>
		<category><![CDATA[rsh]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[transferring files]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=21677</guid>
		<description><![CDATA[For those of you who need to &#8220;resume&#8221; SCP file transfers that have been interrupted, there&#8217;s an easy way to resume them using rsync command.
Use this:
alias scpresume="rsync --partial --progress --rsh=ssh"
For Ubuntu or Debian add sudo:
alias scpresume="sudo rsync --partial --progress --rsh=ssh"
This is great since you won&#8217;t have to restart your file transfers if you happened to [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who need to &#8220;resume&#8221; SCP file transfers that have been interrupted, there&#8217;s an easy way to resume them using rsync command.</p>
<p>Use this:</p>
<pre>alias scpresume="rsync --partial --progress --rsh=ssh"</pre>
<p>For Ubuntu or Debian add sudo:</p>
<pre>alias scpresume="sudo rsync --partial --progress --rsh=ssh"</pre>
<p>This is great since you won&#8217;t have to restart your file transfers if you happened to be transferring files around 100GB.</p>
<blockquote><p>Perks include understanding the same <tt>user@host:path</tt> syntax as <tt>scp</tt> as well as being able to resume a broken scp download (Note: I&#8217;m not guaranteeing this, but after downloading 90% of 400MB I was able to pick up the rest using this).</p></blockquote>
<p><a target="_blank" href="http://panela.blog-city.com/resume_scp_after_interrupted_downloads_use_rsync.htm" >via panela</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog" >Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2009/09/05/linux-hack-how-to-resume-scp-transfers-after-interruption/" >Linux Hack &#8211; How to Resume SCP Transfers after Interruption!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/alias/" title="alias" rel="tag">alias</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/fedora-linux-technology-computer/" title="Fedora" rel="tag">Fedora</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/tag/interruption/" title="interruption" rel="tag">interruption</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/rsh/" title="rsh" rel="tag">rsh</a>, <a href="http://zedomax.com/blog/tag/ssh/" title="ssh" rel="tag">ssh</a>, <a href="http://zedomax.com/blog/tag/syntax/" title="syntax" rel="tag">syntax</a>, <a href="http://zedomax.com/blog/tag/transferring-files/" title="transferring files" rel="tag">transferring files</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/" title="DIY Linux Web Server HACK &#8211; Automate your MySQL MySQL database backups (February 10, 2008)">DIY Linux Web Server HACK &#8211; Automate your MySQL MySQL database backups</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/26/wii-hack-wiimote-flightgear-ultimate-flight-simulator/" title="Wii HACK &#8211; Wiimote + FlightGear = Ultimate Flight Simulator? (December 26, 2006)">Wii HACK &#8211; Wiimote + FlightGear = Ultimate Flight Simulator?</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/27/wii-hack-christmas-wii-remote-xmms-hack/" title="Wii HACK &#8211; Christmas Wii-remote xmms hack (December 27, 2006)">Wii HACK &#8211; Christmas Wii-remote xmms hack</a> </li>
	<li><a href="http://zedomax.com/blog/2006/09/11/ubuntu-the-hottest-linux-platform-today/" title="Ubuntu, the hottest linux platform today (September 11, 2006)">Ubuntu, the hottest linux platform today</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/31/ubuntu-610-released/" title="Ubuntu 6.10 released! (October 31, 2006)">Ubuntu 6.10 released!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/31/ubuntu-610-edgy-eft-review/" title="Ubuntu 6.10 Edgy Eft Review (October 31, 2006)">Ubuntu 6.10 Edgy Eft Review</a> </li>
	<li><a href="http://zedomax.com/blog/2007/02/22/ubuntu-610-free-alternative-over-windows-vista/" title="Ubuntu 6.10 &#8211; free alternative over Windows Vista (February 22, 2007)">Ubuntu 6.10 &#8211; free alternative over Windows Vista</a> </li>
	<li><a href="http://zedomax.com/blog/2009/03/08/top-5-geeks-linux-distros/" title="Top 5 Geek&#8217;s Linux Distros! (March 8, 2009)">Top 5 Geek&#8217;s Linux Distros!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/09/05/recap-of-google-chrome-hacks-blog-this-week/" title="Recap of Google Chrome Hacks Blog This Week! (September 5, 2008)">Recap of Google Chrome Hacks Blog This Week!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/26/pet-feeding-automation-video-ubuntu-cat-feeder-revisited/" title="Pet Feeding Automation Video &#8211; ubuntu cat feeder revisited (October 26, 2006)">Pet Feeding Automation Video &#8211; ubuntu cat feeder revisited</a> </li>
	<li><a href="http://zedomax.com/blog/2007/01/26/more-matchstick-rockets-from-mr-blank/" title="More Matchstick rockets from Mr. Blank (January 26, 2007)">More Matchstick rockets from Mr. Blank</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/15/make-your-linux-box-look-like-a-mac/" title="Make your Linux box look like a MAC (December 15, 2006)">Make your Linux box look like a MAC</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/17/make-magazine-vol-08/" title="Make magazine vol 08! (November 17, 2006)">Make magazine vol 08!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/11/list-of-running-applications-and-games-on-wine/" title="List of running Applications and Games on Wine (November 11, 2006)">List of running Applications and Games on Wine</a> </li>
	<li><a href="http://zedomax.com/blog/2007/01/12/list-of-free-linux-games/" title="List of Free Linux Games (January 12, 2007)">List of Free Linux Games</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/31/linux-shortcuts/" title="Linux shortcuts (October 31, 2006)">Linux shortcuts</a> </li>
	<li><a href="http://zedomax.com/blog/2008/07/28/linux-server-hack-how-to-setup-a-shell-script-to-auto-restart-apache-httpd-server/" title="Linux Server Hack &#8211; How to setup a Shell Script to Auto Restart Apache Httpd Server! (July 28, 2008)">Linux Server Hack &#8211; How to setup a Shell Script to Auto Restart Apache Httpd Server!</a> </li>
	<li><a href="http://zedomax.com/blog/2009/08/16/linux-diy-how-to-create-an-ssh-tunnel-and-share-internet-through-another-computer/" title="Linux DIY &#8211; How to Create an SSH Tunnel and Share Internet Through Another Computer! (August 16, 2009)">Linux DIY &#8211; How to Create an SSH Tunnel and Share Internet Through Another Computer!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/31/linux-distro-rankings/" title="Linux Distro rankings (October 31, 2006)">Linux Distro rankings</a> </li>
	<li><a href="http://zedomax.com/blog/2008/10/08/interview-with-inventor-of-linux-linus-torvalds/" title="Interview with Inventor of Linux, Linus Torvalds! (October 8, 2008)">Interview with Inventor of Linux, Linus Torvalds!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2009/09/05/linux-hack-how-to-resume-scp-transfers-after-interruption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoogleDocs Hack &#8211; How to Bring Stock Feeds to GoogleDocs Spreadsheets!</title>
		<link>http://zedomax.com/blog/2008/10/14/googledocs-hack-how-to-bring-stock-feeds-to-googledocs-spreadsheets/</link>
		<comments>http://zedomax.com/blog/2008/10/14/googledocs-hack-how-to-bring-stock-feeds-to-googledocs-spreadsheets/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 01:28:45 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Consumer]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Documents]]></category>
		<category><![CDATA[Educational]]></category>
		<category><![CDATA[Featured Hacks]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Stocks]]></category>
		<category><![CDATA[goog]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[googledocs]]></category>
		<category><![CDATA[historical stock data]]></category>
		<category><![CDATA[internet access]]></category>
		<category><![CDATA[interval]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[microsoft outlook]]></category>
		<category><![CDATA[msft]]></category>
		<category><![CDATA[spreadsheets]]></category>
		<category><![CDATA[stock information]]></category>
		<category><![CDATA[stock market data]]></category>
		<category><![CDATA[stocket market]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=10234</guid>
		<description><![CDATA[
It&#8217;s been months since I dumped Microsoft Outlook for GoogleDocs and I have to say, it&#8217;s rather nice to have all your important data online, retrievable by any computer with internet access rather than having to carry or send/receive any data.
Getting back to the point of this story is the fact that you can actually [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-10235 aligncenter" title="stocks" src="http://zedomax.com/blog/wp-content/uploads/2008/10/stocks.png" alt="" width="500" height="339" /></p>
<p>It&#8217;s been months since I dumped Microsoft Outlook for GoogleDocs and I have to say, it&#8217;s rather nice to have all your important data online, retrievable by any computer with internet access rather than having to carry or send/receive any data.</p>
<p>Getting back to the point of this story is the fact that you can actually feed GoogleDocs spreadsheets stock market data simply using a syntax of code shown here:</p>
<blockquote><p><strong>Retrieving Current Stock Information</strong></p>
<pre>=GoogleFinance("symbol", "attribute")</pre>
<p><strong><br />
Pulling Historical Stock Data<br />
</strong></p>
<pre>=GoogleFinance("symbol", "attribute", "start_date", "end_date", "interval")</pre>
</blockquote>
<p>Yes, this is yet another example how Google is far superior to Microsoft, especially the fact that you can link up stuff from websites.</p>
<p><a target="_blank" href="http://www.hackszine.com/blog/archive/2008/10/howto_track_stocks_in_google_s.html?CMP=OTC-7G2N43923558" >via hackszine</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog" >Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/10/14/googledocs-hack-how-to-bring-stock-feeds-to-googledocs-spreadsheets/" >GoogleDocs Hack &#8211; How to Bring Stock Feeds to GoogleDocs Spreadsheets!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/misc/business/" title="Business" rel="tag">Business</a>, <a href="http://zedomax.com/blog/category/misc/consumer-misc/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/diy/" title="DIY" rel="tag">DIY</a>, <a href="http://zedomax.com/blog/category/misc/business/documents/" title="Documents" rel="tag">Documents</a>, <a href="http://zedomax.com/blog/category/technology/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/featured/featured-hacks/" title="Featured Hacks" rel="tag">Featured Hacks</a>, <a href="http://zedomax.com/blog/tag/goog/" title="goog" rel="tag">goog</a>, <a href="http://zedomax.com/blog/tag/google/" title="Google" rel="tag">Google</a>, <a href="http://zedomax.com/blog/tag/googledocs/" title="googledocs" rel="tag">googledocs</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/historical-stock-data/" title="historical stock data" rel="tag">historical stock data</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/tag/internet-access/" title="internet access" rel="tag">internet access</a>, <a href="http://zedomax.com/blog/tag/interval/" title="interval" rel="tag">interval</a>, <a href="http://zedomax.com/blog/tag/microsoft/" title="microsoft" rel="tag">microsoft</a>, <a href="http://zedomax.com/blog/tag/microsoft-outlook/" title="microsoft outlook" rel="tag">microsoft outlook</a>, <a href="http://zedomax.com/blog/category/misc/" title="Misc" rel="tag">Misc</a>, <a href="http://zedomax.com/blog/tag/msft/" title="msft" rel="tag">msft</a>, <a href="http://zedomax.com/blog/tag/spreadsheets/" title="spreadsheets" rel="tag">spreadsheets</a>, <a href="http://zedomax.com/blog/tag/stock-information/" title="stock information" rel="tag">stock information</a>, <a href="http://zedomax.com/blog/tag/stock-market-data/" title="stock market data" rel="tag">stock market data</a>, <a href="http://zedomax.com/blog/tag/stocket-market/" title="stocket market" rel="tag">stocket market</a>, <a href="http://zedomax.com/blog/category/misc/business/technology-stock-outlook/" title="Stocks" rel="tag">Stocks</a>, <a href="http://zedomax.com/blog/tag/syntax/" title="syntax" rel="tag">syntax</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2007/02/22/zedomax-reaches-over-500000-unique-visitors-thanks-to-youall/" title="Zedomax reaches over 500,000 Unique Visitors thanks to you&#8217;all (February 22, 2007)">Zedomax reaches over 500,000 Unique Visitors thanks to you&#8217;all</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/25/windows-xp-running-on-ps3/" title="Windows XP Running on PS3 (November 25, 2006)">Windows XP Running on PS3</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/13/wii-hack-google-earth-interface-for-wii-remote/" title="WII Hack &#8211; Google Earth interface for Wii remote. (December 13, 2006)">WII Hack &#8211; Google Earth interface for Wii remote.</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/28/video-lockpicking-with-bmw-decoder-tool/" title="Video &#8211; Lockpicking with BMW Decoder Tool (December 28, 2006)">Video &#8211; Lockpicking with BMW Decoder Tool</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/18/touchgraph-google-and-amazon/" title="Touchgraph Google and Amazon (April 18, 2007)">Touchgraph Google and Amazon</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/20/quick-browser-hack-google-and-yahoo-bookmarklets-for-firefox-ie-and-safari/" title="Quick Browser HACK &#8211; Google and Yahoo Bookmarklets for Firefox, IE, and Safari (December 20, 2006)">Quick Browser HACK &#8211; Google and Yahoo Bookmarklets for Firefox, IE, and Safari</a> </li>
	<li><a href="http://zedomax.com/blog/2007/01/29/hack-google-google-pageranks-and-googlebombing/" title="HACK Google &#8211; Google Pageranks and Googlebombing (January 29, 2007)">HACK Google &#8211; Google Pageranks and Googlebombing</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/21/hack-download-free-mp3-music-using-google/" title="HACK &#8211; Download free mp3 music using GOogle! (December 21, 2006)">HACK &#8211; Download free mp3 music using GOogle!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/30/hack-destory-google/" title="HACK &#8211; Destroy Google (December 30, 2006)">HACK &#8211; Destroy Google</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/06/google-voice-local-search/" title="Google Voice Local Search (April 6, 2007)">Google Voice Local Search</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/14/google-patent-search/" title="Google Patent Search (December 14, 2006)">Google Patent Search</a> </li>
	<li><a href="http://zedomax.com/blog/2008/03/21/google-hacks-google-cheat-sheets/" title="Google Hacks &#8211; Google Cheat Sheets! (March 21, 2008)">Google Hacks &#8211; Google Cheat Sheets!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/27/google-hack-use-google-as-proxy-access-forbidden-sites-from-work/" title="Google HACK &#8211; Use Google as proxy, access forbidden sites from work (December 27, 2006)">Google HACK &#8211; Use Google as proxy, access forbidden sites from work</a> </li>
	<li><a href="http://zedomax.com/blog/2007/08/30/google-hack-how-to-find-a-contest-using-googlejust-google-it/" title="GOOGLE HACK &#8211; How to find a contest using google&#8230;(just google it!) (August 30, 2007)">GOOGLE HACK &#8211; How to find a contest using google&#8230;(just google it!)</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/09/google-bought-the-whole-country/" title="Google bought the WHOLE country! (April 9, 2007)">Google bought the WHOLE country!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/20/get-paid-4500-by-google-to-work-on-open-source-projects/" title="Get paid $4,500 by Google to work on open-source projects! (March 20, 2007)">Get paid $4,500 by Google to work on open-source projects!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/12/10/diy-howto-convert-your-doc-files-to-pdf-for-free-using-googledocs/" title="DIY &#8211; HOWTO Convert your Doc files to PDF for free using GoogleDocs (December 10, 2007)">DIY &#8211; HOWTO Convert your Doc files to PDF for free using GoogleDocs</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/04/cnets-james-kim-and-family-missing-have-you-seen-them/" title="CNET&#8217;s James Kim and family missing &#8212; have you seen them? (December 4, 2006)">CNET&#8217;s James Kim and family missing &#8212; have you seen them?</a> </li>
	<li><a href="http://zedomax.com/blog/2007/05/03/09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0-underwear-pins-and-more-t-shirts/" title="09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 Underwear, Pins, and more T-shirts! (May 3, 2007)">09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 Underwear, Pins, and more T-shirts!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/12/17/zedomax-christmas-wreath-now-on-lifehacker/" title="Zedomax Christmas Wreath now on&#8230; Lifehacker! (December 17, 2007)">Zedomax Christmas Wreath now on&#8230; Lifehacker!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/10/14/googledocs-hack-how-to-bring-stock-feeds-to-googledocs-spreadsheets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DIY Linux Web Server HACK &#8211; Automate your MySQL MySQL database backups</title>
		<link>http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/</link>
		<comments>http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 01:24:29 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[DIY Zedomax]]></category>
		<category><![CDATA[Educational]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[automatic_script]]></category>
		<category><![CDATA[backup_files]]></category>
		<category><![CDATA[cron_job]]></category>
		<category><![CDATA[database_name]]></category>
		<category><![CDATA[dedicated_servers]]></category>
		<category><![CDATA[DoItYourself!]]></category>
		<category><![CDATA[home_directory]]></category>
		<category><![CDATA[linux_boxes]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[web_interface]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/</guid>
		<description><![CDATA[Okay, I&#8217;ve been running dedicated servers for couple years now and I used to mess around with Linux boxes back in college.
Here&#8217;s an essential automatic script and a cron job you will need in order to keep your backup automatic.
Yes, if you get a dedicated server, don&#8217;t get their stupid extra $15/month for backing up [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I&#8217;ve been running dedicated servers for couple years now and I used to mess around with Linux boxes back in college.</p>
<p>Here&#8217;s <strong>an essential automatic script and a cron job you will need in order to keep your backup automatic</strong>.</p>
<p>Yes, if you get a dedicated server, don&#8217;t get their stupid extra $15/month for backing up your database.  (All they do is make scripts like this one and charge you for it)</p>
<p>You can follow this example and go spend that money on junk food.</p>
<p>So all you have to do is FTP your backup files.</p>
<p>This is way better than going into your phpMyAdmin and downloading from the web interface since the file is already ready for you to download.</p>
<p>Here&#8217;s how you do it:</p>
<p>1) Make a new file called <strong>backup.sh</strong> in your home directory. 2) Use the following syntax:</p>
<pre>mysqldump -u[USERNAME] -p[PASSWORD] --opt [DATABASE NAME] &gt; /root/backup/DATABASE1.sql</pre>
<p>Here&#8217;s an example <strong>backup.sh</strong> file if you had 2 databases:</p>
<pre>mysqldump -uUser1 -pPassword1 --opt Database1 &gt; /root/backup/Database1.sql
mysqldump -uUser2 -pPassword2 --opt Database2 &gt; /root/backup/Database2.sql
tar cvf /root/backup/sqlbackup.tar /root/backup/*</pre>
<p>You can test your script by typing this:</p>
<pre>sh backup.sh</pre>
<p>(The mysqldump will overwrite the older file if you run this more than once)</p>
<p>3) If everything is working good, now you can put that script to be run once a day in your cron job.</p>
<p>For Fedora Core, you can edit this file /etc/cron.d/sa-update</p>
<p>Add the following line:</p>
<pre>10 3 * * * root sh /root/backup/backup.sh</pre>
<p>This will execute the script once a day at 3:10AM.</p>
<p>Now <strong>simply download one tar ball file</strong> whenever you feel like backing up your database.</p>
<p>You can probably change this a little bit and use it for many other things like backing up all your files too. (which I do)</p>
<p>If you have multiple servers like me, you can also automate your scripts to download backup databases to each server.   That keeps things real redundant in case of server failure.</p>
<p>Brought to you by: <a href="http://zedomax.com/blog" >Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/" >DIY Linux Web Server HACK &#8211; Automate your MySQL MySQL database backups</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/automatic_script/" title="automatic_script" rel="tag">automatic_script</a>, <a href="http://zedomax.com/blog/tag/backup_files/" title="backup_files" rel="tag">backup_files</a>, <a href="http://zedomax.com/blog/category/technology/web-technology/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/tag/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/tag/cron_job/" title="cron_job" rel="tag">cron_job</a>, <a href="http://zedomax.com/blog/tag/database_name/" title="database_name" rel="tag">database_name</a>, <a href="http://zedomax.com/blog/tag/dedicated_servers/" title="dedicated_servers" rel="tag">dedicated_servers</a>, <a href="http://zedomax.com/blog/category/diy/" title="DIY" rel="tag">DIY</a>, <a href="http://zedomax.com/blog/category/diy/diy-zedomax/" title="DIY Zedomax" rel="tag">DIY Zedomax</a>, <a href="http://zedomax.com/blog/tag/diy-zedomax/" title="DIY Zedomax" rel="tag">DIY Zedomax</a>, <a href="http://zedomax.com/blog/tag/doityourself/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/category/technology/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/home_directory/" title="home_directory" rel="tag">home_directory</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux_boxes/" title="linux_boxes" rel="tag">linux_boxes</a>, <a href="http://zedomax.com/blog/category/misc/" title="Misc" rel="tag">Misc</a>, <a href="http://zedomax.com/blog/tag/misc/" title="Misc" rel="tag">Misc</a>, <a href="http://zedomax.com/blog/tag/phpmyadmin/" title="phpmyadmin" rel="tag">phpmyadmin</a>, <a href="http://zedomax.com/blog/tag/syntax/" title="syntax" rel="tag">syntax</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/category/technology/web-technology/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web_interface/" title="web_interface" rel="tag">web_interface</a>, <a href="http://zedomax.com/blog/category/technology/web-technology/blog/wordpress/" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://zedomax.com/blog/tag/wordpress/" title="Wordpress" rel="tag">Wordpress</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2006/12/04/cnets-james-kim-and-family-missing-have-you-seen-them/" title="CNET&#8217;s James Kim and family missing &#8212; have you seen them? (December 4, 2006)">CNET&#8217;s James Kim and family missing &#8212; have you seen them?</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki &#8211; Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki &#8211; Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/" title="DIY Linux DoS HACK &#8211; HOWTO Limit your the max number of TCP connections to your Web Server! (December 3, 2007)">DIY Linux DoS HACK &#8211; HOWTO Limit your the max number of TCP connections to your Web Server!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/12/17/zedomax-christmas-wreath-now-on-lifehacker/" title="Zedomax Christmas Wreath now on&#8230; Lifehacker! (December 17, 2007)">Zedomax Christmas Wreath now on&#8230; Lifehacker!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/25/post-it-pixel-wall/" title="Post-It Pixel Wall (March 25, 2007)">Post-It Pixel Wall</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/15/mac-tv-hack-how-to-run-mac-osx-on-mac-tv/" title="MAC TV Hack &#8211; How to run Mac OSX on MAC TV! (April 15, 2007)">MAC TV Hack &#8211; How to run Mac OSX on MAC TV!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/05/19/live-blogging-zedomax-booth-at-maker-faire/" title="Live Blogging &#8211; Zedomax Booth at Maker Faire (May 19, 2007)">Live Blogging &#8211; Zedomax Booth at Maker Faire</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/29/howtohutcom-for-howtos-and-diys/" title="HowtoHut.com for HOWTOs and DIYs (March 29, 2007)">HowtoHut.com for HOWTOs and DIYs</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/21/how-to-big-nose-effect-in-photoshop/" title="How to: Big Nose Effect in Photoshop (March 21, 2007)">How to: Big Nose Effect in Photoshop</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/28/help-thing/" title="Help Thing! (March 28, 2007)">Help Thing!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/21/hear-fish-talk-whales-sing-how-to-make-low-cost-hydrophone/" title="Hear Fish talk &#038; Whales sing How to make low cost Hydrophone (March 21, 2007)">Hear Fish talk &#038; Whales sing How to make low cost Hydrophone</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/20/get-paid-4500-by-google-to-work-on-open-source-projects/" title="Get paid $4,500 by Google to work on open-source projects! (March 20, 2007)">Get paid $4,500 by Google to work on open-source projects!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/10/15/fixyacom-for-diyers-and-ethically-honest-at-heart-hackers/" title="FixYa.com &#8211; For DIYers and ethically honest at heart HACKers! (October 15, 2007)">FixYa.com &#8211; For DIYers and ethically honest at heart HACKers!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/09/diy-underwater-hack-shark-cam/" title="DIY UNDERWATER HACK &#8211; Shark Cam (April 9, 2007)">DIY UNDERWATER HACK &#8211; Shark Cam</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/01/diy-linuxubuntu-how-to-set-up-a-custom-firewall-using-iptables/" title="DIY Linux/Ubuntu &#8211; How to set up a custom firewall using iptables (April 1, 2007)">DIY Linux/Ubuntu &#8211; How to set up a custom firewall using iptables</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/20/diy-howto-photography/" title="DIY HOWTO &#8211; Photography (March 20, 2007)">DIY HOWTO &#8211; Photography</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/15/diy-hack-how-to-rewiring-an-existing-phone-system-to-be-used-as-an-ethernet-network/" title="DIY HACK &#8211; How to rewiring an existing phone system to be used as an Ethernet network! (March 15, 2007)">DIY HACK &#8211; How to rewiring an existing phone system to be used as an Ethernet network!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/05/07/diy-hack-build-your-own-altoids-digital-thermometer/" title="DIY HACK &#8211; Build your own Altoids Digital Thermometer! (May 7, 2007)">DIY HACK &#8211; Build your own Altoids Digital Thermometer!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/09/diy-hack-avr-ethernet-weather-station/" title="DIY HACK &#8211; AVR Ethernet Weather Station (April 9, 2007)">DIY HACK &#8211; AVR Ethernet Weather Station</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/31/diy-vmware-howtos/" title="DIY &#8211; VMware HOWTOs (March 31, 2007)">DIY &#8211; VMware HOWTOs</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
