<?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>Microsoft Azure consulting &gt; Metasys Software Pvt Ltd.</title>
	<atom:link href="https://www.metasyssoftware.com/tag/microsoft-azure-consulting/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.metasyssoftware.com</link>
	<description>Unique People, Unique Solutions</description>
	<lastBuildDate>Thu, 06 Jun 2024 11:29:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.metasyssoftware.com/wp-content/uploads/2023/10/metasys-svg-.png</url>
	<title>Microsoft Azure consulting &gt; Metasys Software Pvt Ltd.</title>
	<link>https://www.metasyssoftware.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setting up a Microsoft Azure cloud backup for an SQL database</title>
		<link>https://www.metasyssoftware.com/microsoft-technologies/setting-up-a-microsoft-azure-cloud-backup-for-an-sql-database/</link>
					<comments>https://www.metasyssoftware.com/microsoft-technologies/setting-up-a-microsoft-azure-cloud-backup-for-an-sql-database/#respond</comments>
		
		<dc:creator><![CDATA[meta_prasad]]></dc:creator>
		<pubDate>Thu, 07 May 2020 08:16:23 +0000</pubDate>
				<category><![CDATA[Microsoft Technologies]]></category>
		<category><![CDATA[SQL database]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[SQL jobs]]></category>
		<category><![CDATA[SQL data consultant jobs]]></category>
		<category><![CDATA[Azure cloud]]></category>
		<category><![CDATA[SQL Server Web Development developers]]></category>
		<category><![CDATA[cloud migration services]]></category>
		<category><![CDATA[Microsoft Azure consulting]]></category>
		<category><![CDATA[Cloud computing professionals]]></category>
		<category><![CDATA[Cloud computing experts]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.metasyssoftware.com/?p=3054</guid>

					<description><![CDATA[<p>This article provides step by step instructions on how to backup an SQL database on the Microsoft Azure cloud using [&#8230;]</p>
The post <a href="https://www.metasyssoftware.com/microsoft-technologies/setting-up-a-microsoft-azure-cloud-backup-for-an-sql-database/">Setting up a Microsoft Azure cloud backup for an SQL database</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">This article provides step by step instructions on how to backup an SQL database on the Microsoft Azure cloud using SQL jobs. The SQL server provides built-in functionality for backups to the Azure cloud. This includes restoration of a previous version of the database in two ways, either the latest download, or using a specific URL link to a backup file stored on the cloud. </span></p>
<p><span style="font-weight: 400;">The following procedure assumes that a storage with a container has already been created in the Microsoft Azure Portal. The backup can be implemented with the following steps.</span></p>
<p><b>Step 1:</b><span style="font-weight: 400;"> Create a new SQL job as shown in the following screenshot:</span></p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-3055 size-full" title="Image 1 SQL Job" src="https://www.metasyssoftware.com/wp-content/uploads/Image-1-SQL-Job-.jpg" alt="Image 1 SQL Job" width="940" height="847" /></p>
<p><b>Step 2:</b> <span style="font-weight: 400;">Create credentials in the Security section for connecting to the Azure cloud as shown below:</span><b> </b></p>
<p><img decoding="async" class="alignnone wp-image-3056 size-full" title="Image 2 Credentials" src="https://www.metasyssoftware.com/wp-content/uploads/Image-2-Credentials.png" alt="Image 2 Credentials" width="940" height="544" /></p>
<p><span style="font-weight: 400;">The “Identity” field should be filled in with the  </span><b>Microsoft Azure storage name</b><span style="font-weight: 400;">.  The password is the </span><b>primary key</b><span style="font-weight: 400;"> used in creating </span><b>Manage Access Keys</b><span style="font-weight: 400;"> on Azure cloud.  </span></p>
<p><b>Step 3:</b> <span style="font-weight: 400;">Use</span> <span style="font-weight: 400;">the following code in the </span><b>SQL job step Transact-SQL Script (T-SQL)</b><span style="font-weight: 400;"> and select the desired database to be backed up to Azure cloud.</span></p>
<p><span style="font-weight: 400;">DECLARE @path VARCHAR(500)</span></p>
<p><span style="font-weight: 400;">DECLARE @name VARCHAR(500)</span></p>
<p><span style="font-weight: 400;">DECLARE @filename VARCHAR(256)</span></p>
<p><span style="font-weight: 400;">DECLARE @time DATETIME</span></p>
<p><span style="font-weight: 400;">DECLARE @year VARCHAR(4)</span></p>
<p><span style="font-weight: 400;">DECLARE @month VARCHAR(2)</span></p>
<p><span style="font-weight: 400;">DECLARE @day VARCHAR(2)</span></p>
<p><span style="font-weight: 400;">DECLARE @hour VARCHAR(2)</span></p>
<p><span style="font-weight: 400;">DECLARE @minute VARCHAR(2)</span></p>
<p><span style="font-weight: 400;">DECLARE @second VARCHAR(2)</span></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">SELECT @time = GETDATE()</span></p>
<p><span style="font-weight: 400;">SELECT @year   = (SELECT CONVERT(VARCHAR(4), DATEPART(yy, @time)))</span></p>
<p><span style="font-weight: 400;">SELECT @month  = (SELECT CONVERT(VARCHAR(2), FORMAT(DATEPART(mm,@time),&#8217;00&#8217;)))</span></p>
<p><span style="font-weight: 400;">SELECT @day    = (SELECT CONVERT(VARCHAR(2), FORMAT(DATEPART(dd,@time),&#8217;00&#8217;)))</span></p>
<p><span style="font-weight: 400;">SELECT @hour   = (SELECT CONVERT(VARCHAR(2), FORMAT(DATEPART(hh,@time),&#8217;00&#8217;)))</span></p>
<p><span style="font-weight: 400;">SELECT @minute = (SELECT CONVERT(VARCHAR(2), FORMAT(DATEPART(mi,@time),&#8217;00&#8217;)))</span></p>
<p><span style="font-weight: 400;">SELECT @second = (SELECT CONVERT(VARCHAR(2), FORMAT(DATEPART(ss,@time),&#8217;00&#8217;)))</span></p>
<p><span style="font-weight: 400;">set @name = &#8216;</span><b>[Database Name&#8230;]</b><span style="font-weight: 400;">&#8216;;</span></p>
<p><span style="font-weight: 400;">       SET @fileName =  @name + &#8216;_backup_&#8217; + @year + @month + @day + &#8216;_&#8217; + @hour + @minute + @second + &#8216;.BAK&#8217;  </span></p>
<p><span style="font-weight: 400;">   set @path = N&#8217;https://</span><b>[Azure Cloud Url path with container name&#8230;]</b><span style="font-weight: 400;">/&#8217; + @fileName;</span></p>
<p><span style="font-weight: 400;">       BACKUP DATABASE [Database Name&#8230;]</span></p>
<p><span style="font-weight: 400;">TO  URL =  @path </span></p>
<p><span style="font-weight: 400;">WITH  CREDENTIAL = N&#8217;</span><b>[Database Name&#8230;]</b><span style="font-weight: 400;">Credential&#8217;  , NOFORMAT, NOINIT,  </span></p>
<p><span style="font-weight: 400;">NAME = N'[Database Name&#8230;]-Full Database Backup&#8217;, NOSKIP, NOREWIND, NOUNLOAD,  STATS = 10</span></p>
<p><span style="font-weight: 400;">GO</span></p>
<p><b>Step 4:</b> <span style="font-weight: 400;">Add the desired schedule (daily, weekly or monthly) in the schedules tab and specify exact time for creating a backup on the Azure cloud. Don’t forget to ‘Enable’ the job after completing the time schedule.</span></p>
<p><span style="font-weight: 400;">We at MetaSys have developed web applications using ASP.NET MVC Framework, SQL Server and web API. For more info on the kind of projects which are handled by us &#8211; </span><a href="https://www.metasyssoftware.com/case-study-dotnet"><span style="font-weight: 400;">https://www.metasyssoftware.com/case-study-dotnet</span></a></p>The post <a href="https://www.metasyssoftware.com/microsoft-technologies/setting-up-a-microsoft-azure-cloud-backup-for-an-sql-database/">Setting up a Microsoft Azure cloud backup for an SQL database</a> appeared first on <a href="https://www.metasyssoftware.com">Metasys Software Pvt Ltd.</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.metasyssoftware.com/microsoft-technologies/setting-up-a-microsoft-azure-cloud-backup-for-an-sql-database/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
