- Lab
- A Cloud Guru
Perform SQL Database Backup and Recovery in Azure
In this hands-on lab scenario, your organization, Awesome Company, is reducing its on-site footprint and moving as many databases as possible to the cloud. As part of this effort, you have already migrated multiple databases to both Azure SQL Database and Azure SQL Virtual Machines. Unfortunately, during the course of use, some data has been accidentally deleted from these databases. It is up to you as the DBA to recover this lost information and guard against future issues. Performing the actions of this lab will help you become familiar with SQL backup and recovery options in Azure.
Path Info
Table of Contents
-
Challenge
Restore a Database to a SQL Virtual Machine
Using the
acmobile.bak
file from the lab GitHub repo, restore a full backup of theacmobile
database to your SQL virtual machine.The following PowerShell script can be used to download the backup to the required folder:
Invoke-WebRequest -Uri "https://github.com/linuxacademy/content-azure-database-administrator-associate/raw/master/Hands-on%20Labs/acmobile.bak" -OutFile "c:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Backup\acmobile.bak" -UseBasicParsing
-
Challenge
Configure Automatic Backups on the SQL Virtual Machine
To ensure there are backups in place for future incidents, configure automated backups for your SQL virtual machine.
-
Challenge
Recover Lost Information in Azure SQL Database
Use a point-in-time restore to recover a dropped table in the
acweb
database.SQL Database Credentials:
- Username: delmar
- Password: AwesomePassword!
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.