Windows Lab 10 - Backup

Introduction

In this lab we're going to see how to easily restore data using Shadow Copies and how to backup the full server using Windows Server Backup. In order to do the full backup we'll add storage to our server to store the backup. We'll also restore data from the full backup.

Add Backup Storage to Server01

While the servers are off we're going to add storage to Server01. We're going to add a 500GB drive that we'll format later when the server's running.

In VirtualBox Manager open the settings for Server01.

Click Storage tab then the drive icon with the plus on it to add storage.

Click Create to create a new virtual drive.

Click Continue.

Click Continue.

Change the hard drive size to 500GB and click Create.

You should see the new drive ready to be attached to the server. Click Choose.

Click Ok

Enable Shadow Copy

We're going to enable the Shadow Copy feature on our C drive and take the first snapshot of our drive.

Startup Server01 and Server02 and log into Server01 as administrator. Open Windows Explorer, click This PC on the left, select Local Disk C: then click the Properties button in the ribbon.

Click the Shadow Copies tab in the properties window then click Enable.

Click Yes on the message that explains the schedule.

You'll see an initial snapshot was taken. Click Ok.

Restore Data Using Shadow Copy

We're going to create some data on Client01, take a snapshot, delete the data and restore it from the snapshot.

Turn on Client01 and log in as yourself. Click the Windows button and select Notepad.

Type in some text to the document and hit CTRL+S to save it. Save it to the Documents folder as Important File.

Switch back to Server01, open the properties of the C: drive and switch to the Shadow Copies tab. Click Create Now to create a new snapshot containing our file.

You should now have a new snapshot listed.

Let's overwrite our document with something new. Uh oh we overwrote the file, now we need to restore it.

We're going to restore to the previous version of the file. Click on the Important File then click the drop down in the ribbon and click Properties.

Click the Previous Versions tab, select the Important File and click the Restore button.

Click Restore.

Click Ok. The file has been restored.

Open the Important File. You'll see the original content of the file has been restored.

Install Windows Server Backup

We're also going to backup the entire server using Window Server Backup. Before we can do this we need to install the feature on our server.

On Server01 open Server Manager and click Manage - Add Roles and Features.

Click Next.

Click Next.

Select Server01.gotohull.com then click Next.

We don't want to install a Role so click Next.

Scroll down in the list of features and select Window Server Backup. Click Next.

Click Install.

When the install completes click Close.

Format Backup Storage

Before we can backup the server we need aa location to store the backup. Earlier in the lab we installed 500GB of storage into Server01. Now we're going to format it and prepare it for use as our backup location.

Open Disk Management by right clicking on the Windows button and selecting Disk Management.

When Disk Management opens it'll detect the new drive and ask you how you want to initialize it. We're going to make it a GPT (GUID Partition Table) disk. Select GPT and click Ok.

We should see the newly added storage as Disk 1 in Disk Management. Select Disk 1, then click the Action menu - All Tasks - New Simple Volume.

This wizard will format the drive and assign it a letter so it's usable by the server. Click Next.

We want to use the entire disk for the new volume so click Next.

We'll take the default drive letter of E:, click Next.

Name the volume Backup and click Next.

Click Finish. We now have an empty 500GB E drive ready to store our full backup.

Perform Full System Backup

We're ready to backup the server, we have the software installed and a drive available to hold the backup data.

In Server Manager click the Tools dropdown and select Windows Server Backup.

We're going to do a single backup at this time. Click Backup Once on the right side. You may have to click Local Backup on the left first.

The Backup wizard will open guiding us through the backup process, click Next.

We want to do a Custom backup, if we do a Full server backup it will include the E drive. We can store the backup on a drive we're backing up so we'll want to select everything except the E: drive. Select Custom.

Click Add Items to choose what to backup.

Select everything besides the E: drive. Click Ok.

We've selected everything we want to backup, click Next.

We want to store the backup on the local E drive so keep the default option of Local drives and click Next.

By default the wizard should select the Backup E drive if it doesn't select it and click Next.

Click Backup on the Confirmation page and the backup will start. Once complete hit Close.

Restore Data from Full Backup

We want to test the backup so we're going to delete our Important File and restore it from the backup.

On Client01 delete the Important File.

We want to make sure it's really gone so empty the Recycle Bin.

Click Yes to permanently delete the file.

Oh no!!! Our Important File is gone!!!

Switch back to Server01 to restore the file. Open Windows Server Backup and click Recover on the right side.

In the Recovery Wizard, click Next to restore data from a location on this server. We're going to restore data from the local E: drive.

The last backup should be selected, click Next.

We want to restore a file so make sure Files and Folders is selected and click Next.

When choosing what to recover open Server01 - Local disk (C:) - Shared Data - Home.

In Home find your home folder then select "Important File.txt" and click Next.

The default options on this page are what we want, click Next.

Click Recover to restore the file.

Once it's done hit Close.

Back on Client01 you should see the Important File has returned. Open it up.

It contains the missing work!

Once complete you can shut down and take snapshots of all three virtual machines named Lab 10 Complete.

Questions

Answer the lab questions.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10