<?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>Amazon S3 &#8211; Tjitjing Blog</title>
	<atom:link href="http://localhost/index.php/category/amazon-s3/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.tjitjing.com/</link>
	<description>This is my blog on technology related stuff and on occation other things too...</description>
	<lastBuildDate>Mon, 20 Apr 2009 18:21:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.16</generator>
	<item>
		<title>Amazon S3 Command Line Copy for Windows</title>
		<link>https://blog.tjitjing.com/index.php/2009/04/amazon-s3-command-line-copy-for-windows.html</link>
					<comments>https://blog.tjitjing.com/index.php/2009/04/amazon-s3-command-line-copy-for-windows.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Mon, 20 Apr 2009 18:21:08 +0000</pubDate>
				<category><![CDATA[Amazon S3]]></category>
		<category><![CDATA[Backup]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=145</guid>

					<description><![CDATA[A couple of months ago I started to use Amazon S3 (Amazon Simple Storage Service) as off site backup for one of my servers. It&#8217;s dirt cheap and so far it works very well (I&#8217;m paying less than $1 per month for my daily uploads and storage!) The server is running Windows Server 2008 and&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2009/04/amazon-s3-command-line-copy-for-windows.html">Continue reading <span class="screen-reader-text">Amazon S3 Command Line Copy for Windows</span></a>]]></description>
										<content:encoded><![CDATA[<p>A couple of months ago I started to use <a href="http://aws.amazon.com/s3/" target="_blank" rel="noopener noreferrer">Amazon S3 (Amazon Simple Storage Service)</a> as off site backup for one of my servers. It&#8217;s <a href="http://aws.amazon.com/s3/#pricing" target="_blank" rel="noopener noreferrer">dirt cheap</a> and so far it works very well (I&#8217;m paying less than $1 per month for my daily uploads and storage!)</p>
<p>The server is running Windows Server 2008 and my backup routine is simply a scheduled bat/cmd file to copy everything to a temp folder, then zipping it to a single file that I move off site (I used to ftp it to another host but you cannot use ftp with S3)</p>
<p>So, <strong>I needed to be able to upload my zip file to Amazon S3 using the command line</strong>. But unfortunately the only S3 copy or backup tools I found for Windows was either graphical and user driven or required Java, Perl or such and I didn&#8217;t really feel like installing any of that stuff on my server just for this simple task.</p>
<p><strong>The solution was to write my own copy routine</strong> in C# (.NET Framework 2.0) which I did using one of the <a href="http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=173" target="_blank" rel="noopener noreferrer">many S3 libraries available</a>, in my case I selected the <a href="http://threesharp.codeplex.com/" target="_blank" rel="noopener noreferrer">Affirma Threesharp C# Library</a>. The result is a very simple copy routine, you can only copy one file at a time, no wild cards etc. I will probably extend it in the future, for example a delete routine so I can also automate deleting old backups (I&#8217;m currently using the <a href="https://addons.mozilla.org/sv-SE/firefox/addon/3247" target="_blank" rel="noopener noreferrer">s3fox plugin for Firefox</a> to check on my backups and do deletes about once a month)<strong><br />
</strong></p>
<blockquote><p>Syntax: s3copy Localpath Bucket Filename AccessKeyId SecretAccessKey</p>
<p>Example: s3copy.exe c:\backup\ mybackupbucket backup.rar MyAccessKeyId MySecretAccessKey</p></blockquote>
<p><strong>It&#8217;s a single exe file. No need to install anything, the dll is contained in the exe.</strong> Feel free to use it if you like!</p>
<blockquote><p><span style="color: #0000ff;"><strong>Click button below download S3Copy.exe from Download.com</strong></span><br />
<a target="_blank" href="http://download.cnet.com/S3copy Amazon S3 Command Line Copy/3000-2242_4-10915715.html?part=dl-6267541&#038;subj=dl&#038;tag=button" rel="noopener noreferrer"><img decoding="async" loading="lazy" src="http://i.i.com.com/cnwk.1d/i/dl/button/dl-button_a.gif" alt="Get it from CNET Download.com!" height="60" width="150" align="center" border="0"></a>
</p></blockquote>
<p><em>[ Edit/10 May 2009: </em><em>Thanks to Brad! </em><em>Corrected post + exe so that Access Key Id and Secret Access Key can be entered (you find your keys at <a href="http://aws.amazon.com/" target="_blank" rel="noopener noreferrer">Amazon&#8217;s AWS: Your Account + Access Identifiers</a>) ]<br />
[Edit/15 June 2009: Moved file download to download.com]</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2009/04/amazon-s3-command-line-copy-for-windows.html/feed</wfw:commentRss>
			<slash:comments>31</slash:comments>
		
		
			</item>
	</channel>
</rss>
