Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Professional Azure SQL Database Administration

You're reading from   Professional Azure SQL Database Administration Equip yourself with the skills to manage and maintain data in the cloud

Arrow left icon
Product type Paperback
Published in Jul 2019
Publisher Packt
ISBN-13 9781789802542
Length 562 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ahmad Osama Ahmad Osama
Author Profile Icon Ahmad Osama
Ahmad Osama
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

About the Book 1. Microsoft Azure SQL Database Primer FREE CHAPTER 2. Migrating a SQL Server Database to an Azure SQL Database 3. Backing Up an Azure SQL Database 4. Restoring an Azure SQL Database 5. Securing an Azure SQL Database 6. Scaling out an Azure SQL Database 7. Azure SQL Database Elastic Pools 8. High Availability and Disaster Recovery 9. Monitoring and Tuning Azure SQL Database 10. Database Features

Manual Backups

Conventional database backup statements don't work in Azure SQL Database. Manual backup consists of exporting the database as a DACPAC (data and schema) or BACPAC (schema) and bcp out the data into csv files.

Manual backups can be performed in the following ways:

  • Export BACPAC to your Azure storage account using the Azure portal
  • Export BACPAC to your Azure storage account using PowerShell
  • Export BACPAC using SQL Server Management Studio
  • Export BACPAC or DACPAC to an on-premises system using sqlpackage.exe

Backing up an Azure SQL Database Using SQL Server Management Studio (SSMS)

In this section, we will back up the Azure SQL toystore database using SSMS:

  1. Open SSMS and press F8 to open Object Explorer if it's not already open.
  2. From Object Explorer, connect to Azure SQL Server. Once done, this is what you will see:
    Figure 3.5: The toystore database in the Object Explorer pane
  3. Right-click the toystore database, select tasks, then select Export...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime