<?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>TechieDan &#187; DOS</title>
	<atom:link href="http://techiedan.com/tag/dos/feed/" rel="self" type="application/rss+xml" />
	<link>http://techiedan.com</link>
	<description>Your Search for The Tech Stuffs</description>
	<lastBuildDate>Thu, 09 Feb 2012 02:59:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dump Data mySQL Command</title>
		<link>http://techiedan.com/2008/02/25/dump-data-mysql-command/</link>
		<comments>http://techiedan.com/2008/02/25/dump-data-mysql-command/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 13:09:46 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://techiedan.com/2008/02/25/dump-data-mysql-command/</guid>
		<description><![CDATA[<p>You&#8217;re stuck in a new place, with no Internet connection and you have no extra additional softwares to install for GUI for mySQL updates and stuffs. Now then suddenly the client asked you to backup his database using the UNIX server. You, as a fresh database administrator suddenly felt lost and don&#8217;t know what to [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re stuck in a new place, with no Internet connection and you have no extra additional softwares to install for GUI for mySQL updates and stuffs. Now then suddenly the client asked you to backup his database using the UNIX server. You, as a fresh database administrator suddenly felt lost and don&#8217;t know what to do.</p>
<p>If only everyone have learnt the basics of command line prompt, one will not have panic like the above scenario. How to backup your mysql database using command line prompt.</p>
<p><strong>Windows Environment for simplicity</strong></p>
<blockquote style="background-color: #ffefd5"><p>C:\&gt; [MYSQL HOME]\bin\ mysqldump -u[user] -p [databasename] &gt; something.ddl</p></blockquote>
<p>Yes, a single line and it&#8217;s all done.</p>
<p><strong>What does this line meant?</strong></p>
<table border="1" width="50%">
<tr>
<td colSpan="2">Legend</td>
</tr>
<tr>
<td>-u</td>
<td>user option</td>
</tr>
<tr>
<td>root</td>
<td>default username</td>
</tr>
<tr>
<td>-p</td>
<td>password option</td>
</tr>
</table>
<p>The rest is pretty understandable<br />
Example if I have a username &#8216;root&#8217; for the database and password &#8216;abc&#8217; with the database name called db and I wanted to save all the data onto a file name data.ddl, this is what I would write below.</p>
<p><img src="http://techiedan.com/wp-content/uploads/2008/02/mysql.gif" alt="mysql backup" /></p>
<p>If you have any questions pertaining this issue, do drop a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2008/02/25/dump-data-mysql-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Folders in DOS</title>
		<link>http://techiedan.com/2008/01/25/copy-folders-in-dos/</link>
		<comments>http://techiedan.com/2008/01/25/copy-folders-in-dos/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 23:59:31 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[xcopy]]></category>

		<guid isPermaLink="false">http://techiedan.com/2008/01/25/copy-folders-in-dos/</guid>
		<description><![CDATA[<p>Your Windows OS (<em>Operating System</em>) is down. Dang&#8230; and you need a data seriously that you don&#8217;t want to bother installing another windows. So how do you do it. Yes, one can <strong>copy files using the DOS command</strong>.
Let&#8217;s say you&#8217;re in the command prompt c:\&#62;</p>



<strong>C:\&#62;</strong> copy *.* a:
(copies all file in the current folder you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Your Windows OS (<em>Operating System</em>) is down. Dang&#8230; and you need a data seriously that you don&#8217;t want to bother installing another windows. So how do you do it. Yes, one can <strong>copy files using the DOS command</strong>.<br />
Let&#8217;s say you&#8217;re in the command prompt c:\&gt;</p>
<table style="background-color: #ffefd5" border="2">
<tbody>
<tr>
<td width="50%" valign="top"><strong>C:\&gt;</strong> copy *.* a:</td>
<td width="50%" valign="top">(copies all file in the current folder you&#8217;re in into a: drive</td>
</tr>
</tbody>
</table>
<p>Now you wanted to copy multiple folders for backup purposes onto another folder. This is the way one should do</p>
<table style="background-color: #ffefd5" border="2">
<tbody>
<tr>
<td width="50%" valign="top"><strong>C:\&gt;</strong> xcopy foldername foldername</td>
<td width="50%" valign="top">copies all the folders and files inside into another folder</td>
</tr>
</tbody>
</table>
<p>Now let&#8217;s say example from folder C:\&gt;techiedan\ and all it&#8217;s subdirectories, I want to copy all this into another folder name C:\&gt;blog\techiedan\.</p>
<table style="background-color: #ffefd5" border="2">
<tbody>
<tr>
<td width="50%" valign="top"><strong>C:\&gt;</strong> xcopy techiedan blog\techiedan /e</td>
<td width="50%" valign="top">copies all the folders and files inside into another folder (use the /e for copying all folders and files)</td>
</tr>
<tr>
<td></td>
<td>use alternatively the /i if you have lots of folders so DOS won&#8217;t keep on asking whether content is a file or folder</td>
</tr>
</tbody>
</table>
<p><img src="http://techiedan.com/wp-content/uploads/2008/01/dos-copy.png" alt="DOS Copy XCopy Screenshot" /></p>
<p>Now you know this, so with this knowledge, you can start writing a schedule or a batch file to run this script at certain period to backup your files. <img src='http://techiedan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2008/01/25/copy-folders-in-dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

