<?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>Windows Backup &#8211; techspeeder</title>
	<atom:link href="https://techspeeder.com/tag/windows-backup/feed/" rel="self" type="application/rss+xml" />
	<link>https://techspeeder.com</link>
	<description>Troubleshooting Helps and Tips for the Geek</description>
	<lastBuildDate>Fri, 06 Jan 2017 12:44:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.7</generator>
<site xmlns="com-wordpress:feed-additions:1">54126538</site>	<item>
		<title>Configure Email Notification for Windows Server 2012 Windows Backup</title>
		<link>https://techspeeder.com/2015/05/21/configure-email-notification-for-windows-server-2012-windows-backup/</link>
					<comments>https://techspeeder.com/2015/05/21/configure-email-notification-for-windows-server-2012-windows-backup/#comments</comments>
		
		<dc:creator><![CDATA[Merlin Halteman]]></dc:creator>
		<pubDate>Fri, 22 May 2015 02:39:20 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows Backup]]></category>
		<category><![CDATA[Windows Server 2012]]></category>
		<category><![CDATA[Windows Server 2012 R2]]></category>
		<guid isPermaLink="false">http://techspeeder.com/?p=1430</guid>

					<description><![CDATA[I can&#8217;t find&#160;anywhere in the Windows Server 2012 (R2) settings to allow an email notification when a server backup completes successfully. Windows Server 2012 Essentials has a nice feature that you allows you to get email&#160;reports on your backup status.&#160;This helps keep tabs on your server without logging in everytime. I wanted a similar notification [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I can&#8217;t find&nbsp;anywhere in the Windows Server 2012 (R2) settings to allow an email notification when a server backup completes successfully. Windows Server 2012 Essentials has a nice feature that you allows you to get email&nbsp;reports on your backup status.&nbsp;This helps keep tabs on your server without logging in everytime. I wanted a similar notification for when a Windows Server 2012 backed up successfully.</p>
<p>After some research online this is&nbsp;how I found to accomplish this task.</p>
<p><strong>Part One of Tutorial</strong></p>
<p>Lets create a Powershell script. This script will allow us to send email.</p>
<p>Use this Powershell script. Please note your username and password isn&#8217;t encrypted. There are ways to encrypt your password but the following tutorial doesn&#8217;t show you how to.</p>
<p>$EmailFrom = &#8220;notifications@somedomain.com&#8221;<br />
$EmailTo = &#8220;me@earth.com&#8221;<br />
$Subject = &#8220;Notification from XYZ&#8221;<br />
$Body = &#8220;this is a notification from XYZ Notifications..&#8221;<br />
$SMTPServer = &#8220;smtp.gmail.com&#8221;<br />
$SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, 587)<br />
$SMTPClient.EnableSsl = $true<br />
$SMTPClient.Credentials = New-Object System.Net.NetworkCredential(&#8220;username&#8221;, &#8220;password&#8221;);<br />
$SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body)<br />
Just change $EmailTo, and username/password in $SMTPClient. For the credentials don&#8217;t include @gmail.com in your username.</p>
<p>Thanks to&nbsp;<a href="http://stackoverflow.com/questions/1252335/send-mail-via-gmail-with-powershell-v2s-send-mailmessage">Christian Muggli</a>&nbsp;for this script.</p>
<p>Log into your Gmail account and make sure two factor authentication is turned off. Also make sure less secure apps are enabled. Visit this site <a href="https://www.google.com/settings/security/lesssecureapps">https://www.google.com/settings/security/lesssecureapps</a>&nbsp;to find out if it is enabled or not. If it isn&#8217;t enabled you will get this error message.</p>
<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="aligncenter wp-image-1436" src="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/powershell-command-error.jpg?resize=625%2C67" alt="Powershell SMTP Server Error" width="625" height="67" srcset="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/powershell-command-error.jpg?w=1210&amp;ssl=1 1210w, https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/powershell-command-error.jpg?resize=300%2C32&amp;ssl=1 300w, https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/powershell-command-error.jpg?resize=1024%2C110&amp;ssl=1 1024w, https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/powershell-command-error.jpg?resize=624%2C67&amp;ssl=1 624w" sizes="(max-width: 625px) 100vw, 625px" />The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 authentication required.<span id="more-1430"></span></p>
<p>Save the file on the hard drive and make a note where it is saved.</p>
<p><strong>Now for part two of the tutorial.</strong></p>
<p><strong>Step One:</strong> Open <strong>Task Scheduler</strong></p>
<p><strong>Step Two:</strong> Click <strong>Create Task</strong>&nbsp; and Name it <strong>&#8220;Successful Windows Backup&#8221;</strong></p>
<p><strong>Step Three:</strong> Next go under the <strong>Triggers</strong> tab. Click <strong>New Trigger</strong>. Click <strong>Begin the task on an event</strong>.</p>
<p><strong>Step Four:</strong> Drop down the box next to <strong>Log</strong> and select <strong>Microsoft-Windows-Backup/Operational.&nbsp;</strong>Go down to the next box and select <strong>Backup</strong> for <strong>Source</strong>.</p>
<p><strong>Step Five:</strong> Next we will need to find the Event ID of a successful Windows Server 2012 in Event Viewer. The Event ID for a successful backup is <strong>4</strong> on a Windows Server 2012. You can verify this information by going into Event Viewer and underneath this folder string,<strong>&nbsp;Microsoft &gt; Windows &gt; Backup &gt; Operational</strong>. Under operational you will find some logs about backup information. &nbsp;Enter the <strong>Event ID</strong> in the &#8220;event id&#8221; box.<a href="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture1.jpg"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1437" src="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture1.jpg?resize=602%2C515" alt="Task Scheduler Windows Backup" width="602" height="515" srcset="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture1.jpg?w=602&amp;ssl=1 602w, https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture1.jpg?resize=300%2C257&amp;ssl=1 300w" sizes="(max-width: 602px) 100vw, 602px" /></a></p>
<p>Make sure the<strong> Enabled</strong> box is checked and select <strong>OK</strong>.</p>
<p><strong>Step Six:</strong> Now go underneath the <strong>Actions</strong> box and select <strong>New.</strong> Beside <strong>Action</strong> select <strong>Start a program</strong>.<a href="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture2.jpg"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1438" src="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture2.jpg?resize=471%2C512" alt="Task Scheduler Action" width="471" height="512" srcset="https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture2.jpg?w=471&amp;ssl=1 471w, https://i0.wp.com/techspeeder.com/wp-content/uploads/2015/05/Capture2.jpg?resize=276%2C300&amp;ssl=1 276w" sizes="(max-width: 471px) 100vw, 471px" /></a> In the program box enter <strong>powershell.exe.&nbsp;</strong>In the arguments field enter the location of the Powershell script (Last step of part One). In my example, they were stored underneath&nbsp;C:\scripts\mailer.ps1 . Click OK and save the schedule.</p>
<p>This should enable you to receive backup notifications when your Windows Server 2012 does a backup successfully. I also was able to get this script to work on a SBS 2011.</p>
<p>Let me know if this tip helps you by posting in the comments below. If you run into any issues please inform me.</p>
<p>This was posted by techspeeder.</p>
<p>Special thanks to <a href="http://www.bluecompute.co.uk/blogposts/configure-email-notification-for-windows-server-backup/">Blue Compute</a>&nbsp;for making my research easier.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techspeeder.com/2015/05/21/configure-email-notification-for-windows-server-2012-windows-backup/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1430</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: techspeeder.com @ 2026-08-31 12:10:35 by W3 Total Cache
-->