<?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>RahulSoni.in &#187; data</title>
	<atom:link href="http://rahulsoni.in/tag/data/feed/" rel="self" type="application/rss+xml" />
	<link>http://rahulsoni.in</link>
	<description></description>
	<lastBuildDate>Sun, 20 Jun 2010 04:18:04 +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>Running Linux SCP and Rsync commands in background</title>
		<link>http://rahulsoni.in/2009/09/running-linux-scp-and-rsync-commands-in-background/</link>
		<comments>http://rahulsoni.in/2009/09/running-linux-scp-and-rsync-commands-in-background/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:35:31 +0000</pubDate>
		<dc:creator>Rahul</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[SCP]]></category>
		<category><![CDATA[transfer]]></category>

		<guid isPermaLink="false">http://rahulsoni.in/?p=51</guid>
		<description><![CDATA[I am using this alot these days to copy terabytes of data from one server to another which require running scp and rsync in background. This can be handy if you do not want to create password less connection between 2 machine which require setting up public/private keys.
It will send the SCP Rsync process in background once you have authenticated the session so that you don't need to keep the terminal active while data is being moved.]]></description>
			<content:encoded><![CDATA[<p>I am using this alot these days to copy terabytes of data from one server to another which require running scp and rsync in background. This can be handy if you do not want to create password less connection between 2 machine which require setting up public/private keys.<br />
It will send the SCP Rsync process in background once you have authenticated the session so that you don&#8217;t need to keep the terminal active while data is being moved.</p>
<p>Please follow these steps and i will be using SCP in the example</p>
<p>1) SSH into server<br />
2) Execute the SCP command to transfer files on remote machine<br />
For example to copy the folder named &#8220;data&#8221; i would be</p>
<p><code>scp -r data root@machine2.com:/home</code></p>
<p>It will ask you for root password of machine2.com, After authentication the process should start</p>
<p>3) Stop the process by using ctrl + z</p>
<p>4) Now run the bg command<br />
<code>root@localhost [~]# bg</code></p>
<p>bg will start the previous SCP process you killed in background</p>
<p>5) Confirm if the process is running by using jobs command<br />
<code>root@localhost [~]# jobs</code></p>
<p>If everything is ok kill the terminal with &#8220;exit&#8221; command and fetch a cup of cofee.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Running+Linux+SCP+and+Rsync+commands+in+background+http://6snyx.th8.us" title="Post to Twitter"><img class="nothumb" src="http://rahulsoni.in/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Running+Linux+SCP+and+Rsync+commands+in+background+http://6snyx.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://rahulsoni.in/2009/09/running-linux-scp-and-rsync-commands-in-background/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
