{"id":3290,"date":"2011-04-19T10:00:00","date_gmt":"2011-04-19T10:00:00","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/sql-azure-backup\/"},"modified":"2016-07-28T10:50:23","modified_gmt":"2016-07-28T10:50:23","slug":"sql-azure-backup","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/other\/sql-azure-backup\/","title":{"rendered":"SQL Azure Backup"},"content":{"rendered":"<p>Have some important information stored out there on the cloud? Want a way to get a copy of it down to your local machine? Here you go. A nice neat little backup tool from Red Gate, <a href=\"http:\/\/www.red-gate.com\/products\/dba\/sql-azure-backup\/?utm_source=simpletalk&amp;utm_medium=weblink&amp;utm_content=grantblog&amp;utm_campaign=sqlazurebackup\">SQL Azure Backup<\/a>.<\/p>\n<p>Let me talk about this a bit. First off, you need to know, you will pay data charges for performing these backups. Unlike your local server, you might want to consider whether or not you need a daily backup. If the data you&#8217;re storing up there in the cloud is that vital though, then getting the backup down to somewhere local is vital and therefore worth the charges. <\/p>\n<p>Once you download it, there&#8217;s nothing to install. It just runs on your local machine. Define the connection to your SQL Azure server and local SQL Server as shown:<\/p>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackup.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackup_thumb.png\" width=\"644\" height=\"458\" alt=\"SqlAzureBackup_thumb.png\" \/><\/a><\/p>\n<p>You have to supply access to your SQL Azure system and you can have the app remember where you&#8217;ve been connecting to. Connections to your local box can be either through Windows Authentication or a SQL Login. And, again, you can remember for next time. If the database you want doesn&#8217;t exist, it&#8217;ll create it. If it does exist, you&#8217;re going to need to drop that database so that it can be created. This is not a full blown copy of SQL Compare, so no differentials. Full copy only for now (by the way, <a href=\"http:\/\/www.red-gate.com\/products\/sql-development\/sql-compare\/?utm_source=simpletalk&amp;utm_medium=weblink&amp;utm_content=grantblog&amp;utm_campaign=sqlcompare\">SQL Compare<\/a> already works with SQL Azure, so you can use that for incremental changes).<\/p>\n<p>Clicking Next just opens up an &#8220;are you really sure&#8221; dialog:<\/p>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackup2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackup2_thumb.png\" width=\"644\" height=\"458\" alt=\"SqlAzureBackup2_thumb.png\" \/><\/a><\/p>\n<p>You&#8217;ll see the Azure database you&#8217;re connected with and the SQL Server instance you&#8217;re going to copy a database to. If you need to make adjustments on either, just hit the Back button. Otherwise, hit the Start Backup button and you&#8217;ll see the process unfold like this:<\/p>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackupDuring.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackupDuring_thumb.png\" width=\"644\" height=\"458\" alt=\"SqlAzureBackupDuring_thumb.png\" \/><\/a><\/p>\n<p>You can stop it in the process in the middle if you need to, but, like the warning says, you will get an incomplete database. It might take a little while, depending on the size of your SQL Azure database (which can be up to 10gb), but it will complete and you&#8217;ll see this:<\/p>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackupComplete.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/grantfritchey\/SQLAzure-Backup_B6E3\/SqlAzureBackupComplete_thumb.png\" width=\"644\" height=\"458\" alt=\"SqlAzureBackupComplete_thumb.png\" \/><\/a><\/p>\n<p>At which point you can now go to your local server and see a full fledged copy of your database, backup complete. or not. Now you can run a real backup of the database and put that on the side if you&#8217;re so inclined. Either way, you can hit the Back button and pick another database if you want and keep going.<\/p>\n<p>Never forget, you will pay for data access for this, so it&#8217;s not free, but there isn&#8217;t any other way, yet, to do a backup, so any mechanism in place today is going to suffer from data access charges. If you are concerned about keeping an eye on your charges, don&#8217;t forget about <a href=\"http:\/\/www.cloudtally.com\/?utm_source=simpletalk&amp;utm_medium=weblink&amp;utm_content=granttally&amp;utm_campaign=cloudtally\">Cloud Tally<\/a>.<\/p>\n<p>I&#8217;ve been playing with SQL Azure Backup for weeks and it works really well. Keep watching my blogs. I&#8217;ve got lots more SQL Azure stuff coming, and so does Red Gate evidently.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have some important information stored out there on the cloud? Want a way to get a copy of it down to your local machine? Here you go. A nice neat little backup tool from Red Gate, SQL Azure Backup. Let me talk about this a bit. First off, you need to know, you will pay&#8230;&hellip;<\/p>\n","protected":false},"author":221792,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[],"class_list":["post-3290","post","type-post","status-publish","format-standard","hentry","category-other"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/221792"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=3290"}],"version-history":[{"count":1,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3290\/revisions"}],"predecessor-version":[{"id":25255,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3290\/revisions\/25255"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=3290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=3290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=3290"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=3290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}