<?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"
	>

<channel>
	<title>Ashraful Islam &#187; linux debian ubuntu</title>
	<atom:link href="http://www.ashnah.com/wordpress/category/linux-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashnah.com/wordpress</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 11 Sep 2008 15:18:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>using tar to back up file with ftp</title>
		<link>http://www.ashnah.com/wordpress/linux-ubuntu/using-tar-to-back-up-file-with-ftp/</link>
		<comments>http://www.ashnah.com/wordpress/linux-ubuntu/using-tar-to-back-up-file-with-ftp/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 15:45:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[linux debian ubuntu]]></category>

		<guid isPermaLink="false">http://www.ashnah.com/wordpress/?p=10</guid>
		<description><![CDATA[If you want to backup and upload to a ftp server you can do the following
using linux tar command
&#62;tar cf test.tar dirname/ 
no compression
&#62;tar cfz test.tar.gz  dirname/
tar and compress with gzip
&#62;tar cfj test.tar.bz dirname/
tar and bunzip commpression.
After you have done above you can ftp the test.tar file to aremote ftp server.
or you can do all the [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to backup and upload to a ftp server you can do the following</p>
<p>using linux tar command</p>
<p>&gt;tar cf test.tar dirname/ </p>
<p>no compression</p>
<p>&gt;tar cfz test.tar.gz  dirname/</p>
<p>tar and compress with gzip</p>
<p>&gt;tar cfj test.tar.bz dirname/</p>
<p>tar and bunzip commpression.</p>
<p>After you have done above you can ftp the test.tar file to aremote ftp server.</p>
<p>or you can do all the above by using a shell script like below</p>
<p>!/bin/sh</p>
<p>tar cf test.tar mydirectory/</p>
<p>HOST=ftp.example.com</p>
<p>USER=test<br />
PASS=test<br />
FILE=test.tar</p>
<p>ftp -n $HOST &lt;&lt;EOF<br />
quote USER $USER</p>
<p>quote PASS $PASS</p>
<p>put $FILE</p>
<p>quit</p>
<p>EOF</p>
<p>exit 0</p>
<p> </p>
<p>Above script will do all the thing.</p>
<p>If you need any further help please contact me. I myself is a linux learner.</p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashnah.com/wordpress/linux-ubuntu/using-tar-to-back-up-file-with-ftp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
