<?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>Backup &#8211; Tjitjing Blog</title>
	<atom:link href="http://localhost/index.php/category/backup/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>Sat, 05 Nov 2011 15:41:34 +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>Backup or Copy Windows Server 2008 Configuration</title>
		<link>https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html</link>
					<comments>https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html#respond</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Sat, 05 Nov 2011 15:41:34 +0000</pubDate>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[Windows Server]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=485</guid>

					<description><![CDATA[In Windows Server 2008 there is a backup tool called Windows Server Backup which however creates huge backup files. I prefer to use a simple command/batch file that copies everything I want to backup, zips it and then uploads it to Amazon S3 (aka &#8220;the cloud&#8221;) I have not been able to find a simple way to&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html">Continue reading <span class="screen-reader-text">Backup or Copy Windows Server 2008 Configuration</span></a>]]></description>
										<content:encoded><![CDATA[<p>In Windows Server 2008 there is a backup tool called <a title="Backup Windows Server" href="http://technet.microsoft.com/en-us/library/cc754097(WS.10).aspx" target="_blank" rel="noopener noreferrer">Windows Server Backup</a> which however creates huge backup files. I prefer to use a simple command/batch file that copies everything I want to backup, zips it and then <a title="Amazon S3 Command Line Copy for Windows" href="http://blog.tjitjing.com/index.php/2009/04/amazon-s3-command-line-copy-for-windows.html" target="_blank" rel="noopener noreferrer">uploads it to Amazon S3</a> (aka &#8220;the cloud&#8221;)</p>
<p>I have not been able to find a simple way to copy all of my Windows Server 2008 settings. Theses are the bits and pieces I have found:</p>
<h2>Copy IIS7 Configuration</h2>
<p>To save IIS 7 (Internet Information Services) configuration, copy the config directory %SYSTEMROOT%\System32\inetsrv\config, example:</p>
<p>[code]xcopy %SYSTEMROOT%\System32\inetsrv\config c:\backup\iisconfig\ /S/E[/code]</p>
<h2>Windows Advanced Firewall Export Configuration</h2>
<p>To export all the current configurations of your firewall to a file:</p>
<p>[code]netsh advfirewall export c:\backup\advfirewall.wfw[/code]</p>
<p>Source: <a title="David Davis" href="http://www.windowsnetworking.com/articles_tutorials/Configure-Windows-2008-Advanced-Firewall-NETSH-CLI.html" target="_blank" rel="noopener noreferrer">David Davis</a></p>
<h2>Export Windows Registry</h2>
<p>To export the Registry, use regedit.exe command line options. Note that export is done in background so you need to allow some time before you are able to access the exported file.</p>
<p>[code]regedit /e c:\backup\regbackup.reg[/code]</p>
<p>Source: <a title="Export registry" href="http://www.speedguide.net/articles/how-to-backup-using-batch-files-1547" target="_blank" rel="noopener noreferrer">Speedguide</a></p>
<h2>Network Settings</h2>
<p>[code]netsh dump &gt; c:\backup\network-settings-netsh-dump.txt[/code]</p>
<p>Source: <a title="backup windows network" href="http://www.windowsnetworking.com/kbase/windowstips/windows2003/admintips/network/usingnetshtobackupandrestorenetworkconfiguration.html" target="_blank" rel="noopener noreferrer">Chris Sanders</a></p>
<p>&nbsp;</p>
<p><strong>Please note that this method cannot and should not to be compared to a full backup method such as Windows Server Backup.</strong></p>
<p>This method will not allow you to do a full recovery. It will mean installing Windows Server and all software from scratch and then recover the data you have backed up. Meaning an unrecoverable hard drive crash would most likely mean more downtime/recovery time.</p>
<p><strong></strong>The reason I like this method is because it takes less space which allows me to use S3 to save my backups. That means I can fully automate it (scheduled batch script and no need to change any media) and it is off-site (meaning if there is a fire where my server is, my backup is still safe). And I prefer the ease of just getting my files from a zip file if I need to check or recover anything. Besides, it&#8217;s dirt cheap, I pay Amazon S3 a few dollars for a month worth of daily 1GB backups.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
