<?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>namit.org &#187; sftp</title>
	<atom:link href="http://namit.org/tag/sftp/feed/" rel="self" type="application/rss+xml" />
	<link>http://namit.org</link>
	<description>namit&#039;s blog</description>
	<lastBuildDate>Wed, 21 Oct 2009 15:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>backup data using winscp sftp/ssh</title>
		<link>http://namit.org/2008/04/backup-data-using-winscp-sftpssh/</link>
		<comments>http://namit.org/2008/04/backup-data-using-winscp-sftpssh/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 19:30:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://namit.org/?p=57</guid>
		<description><![CDATA[Setup linux server to take ssh connections so you can transfer files to directory on server.
Create these two scripts on your windows box and run them, should backup all files to server and then whenever you run it again it will sync data to server.
backup.bat
@echo off
SET dateNtime=&#8221;%date:~3,2%-%date:~6,6%&#8221;
&#8220;c:\Program files\winscp\winscp.com&#8221; /script=script.txt
script.txt
option exclude &#8220;*.mp3; *.mp4; *.lnk; *.exe; *.msi; [...]]]></description>
			<content:encoded><![CDATA[<p>Setup linux server to take ssh connections so you can transfer files to directory on server.</p>
<p>Create these two scripts on your windows box and run them, should backup all files to server and then whenever you run it again it will sync data to server.</p>
<p><strong>backup.bat</strong></p>
<p>@echo off<br />
SET dateNtime=&#8221;%date:~3,2%-%date:~6,6%&#8221;<br />
&#8220;c:\Program files\winscp\winscp.com&#8221; /script=script.txt</p>
<p><strong>script.txt</strong></p>
<p>option exclude &#8220;*.mp3; *.mp4; *.lnk; *.exe; *.msi; My Pictures; My Music; My Videos; @college; .metadata;&#8221;<br />
option batch on<br />
option confirm off<br />
# Connect &#8211; format: user:password@host<br />
open USER:PASSWORD@SERVER<br />
# Force binary mode transfer<br />
option transfer binary<br />
# Upload files to remote directory<br />
synchronize remote  C:\FILES /home/USER/recent<br />
# Disconnect<br />
close<br />
# Exit WinSCP<br />
exit</p>
<p>Should be able to also setup schedule in windows to run every day at certain time (you must have password entered when creating this schedule)</p>
<p>hope ya like</p>
]]></content:encoded>
			<wfw:commentRss>http://namit.org/2008/04/backup-data-using-winscp-sftpssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
