Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

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.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Apr 09, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Restore a Database to a SQL Virtual Machine

    Using the acmobile.bak file from the lab GitHub repo, restore a full backup of the acmobile 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
    
  2. 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.

  3. 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!

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans