How to Backup Windows Server 2008This document discusses the two most common methods used to backup a Windows Server and walks you through setting up two backup programs, Backup for Workgroups and Windows Server Backup. The best practice for backing up a Windows Server 2008 computer is to use two backup approaches. The two most common approaches are:
File Based Backup is intended to provide flexibility that is lacking in most image based backups. The file based backup process runs through the drives and looks for files that change. Since this process only backs up the files that change, the backups run more frequently and normally complete the backup process very quickly. File based backup programs tend to have flexible schedulers and more restore options than disk image programs. Disk Image Backup is great for making drive copies. The disk images are usually performed to make an image of a drive in a Windows server with the goal that if the drive were to fail, it can be quickly restored to a replacement drive. The disk image approach effectively makes a copy of an entire disk drive as a whole, in other words, it replicates the drive. Restorations performed with disk image software are generally whole drive restorations. Some programs allow you to restore the entire drive or to restore selective files, but the goal is complete drive backup and complete drive restore. Because disk image software looks at drive backup from the entire drive's point of view, many people run a disk image backup infrequently as compared to file based backup. Brief Comparison of File and Disk Image Backup Methods - Both backup methods ultimately backup the entire server and both can restore a complete server. Disk Image backup can usually recreate a disk drive faster than file based backup, but file based backup is generally more flexible. Most disk image software is designed to restore an entire hard drive. If you only need to restore a few files they can be limiting. For example Windows Server Backup can only restore files in a single folder, it does not allow you to pick files from several locations to restore. File based backup programs offer more restoration options that may be very helpful when you are in a crisis. For example, Backup for Workgroups offers different restore options based on what type of problem needs resolving. If you need a complete disaster recovery, that is one button. But if you just need to restore the Exchange Mailbox store, that process is a selectable task to perform. Should you delete a file or folder, Backup for Workgroups scans the server and it will tell you what files were recently deleted, which makes the selection process simple. These features typically do not exist in image based backup software. So the best solution is to use both backup methods - you get the best of both worlds. Storage Considerations - The next item to consider is the storage equipment you are going to use and whether you want your data stored onsite or offsite.
The best solution is a blended solution. The blended solution starts with onsite backup and facilitates offsite backup, which you can setup with Backup for Workgroups. This document will show you how to setup both an image based backup and a file based backup of your Windows Server that uses onsite storage as the primary backup and offsite storage as the secondary backup. Step 1 - Hardware Setup for your Windows Server 2008 Step 2 - Configure File Based Backup Software - How to setup Backup for Workgroups Comparison of Backup for Workgroups and Windows Server Backup Hardware Setup for your Windows Server 2008Since we are following a best practice recommendation to use both disk image backup and file based backup software, we will need to dedicate one storage drive for each backup method. You may be tempted to use one storage drive to hold the backup data for both backup methods, but that is not advisable because should the backup drive fail, you would lose all of your backup data. Also when you use the built in image backup in Windows, it will take complete control of the backup drive in such a way that no other application can use the backup drive! As a result, it makes sense to use two backup drives, one for disk images and one for file based backups. With inexpensive hard drives readily available, this is a low cost solution. To begin, we are starting with a Dell PowerEdge Server. We have already installed Windows Server 2008 R2 on this computer.
Next, we opened the computer case. The server originally had one 1TB drive and we have decided to add 2 additional 1 TB drives as marked by the arrows below, showing that we now have 3 drives.
In the picture above, you can see 3 arrows pointing to the three drives in this server. The top drive (Drive 0) is the original drive that contains Windows Server 2008. The middle drive will be dedicated to the drive image software and the bottom drive will be dedicated to the file based backup software - Backup for Workgroups. The benefit of placing your backup storage drives inside the Windows Server is AVAILABILITY. Internal drives are always available so that if we need to perform a restore, the backup data is immediately available and accessible. This can be very important if you remotely administer the Windows Server. Making your backup data immediately available can save a trip to the server. Another advantage to internal disk storage is SPEED. The backup process can run at full disk drive speeds. This can be critical should you need to restore a large amount of data. When you compare the speed of internal drives to Internet/Cloud storage drives, you can restore large amounts of data quickly from LOCAL drives as opposed to spending days or weeks retrieving files from Internet or Cloud-based hosted storage. Now that we have our backup storage drives in place, we are ready to close the computer case and install and configure the backup software. Configure File Based Backup Software - How to Setup Backup for WorkgroupsFile based backup programs have the greatest flexibility when it comes to backing up and restoring files on a Windows Server. In our example, we will use Backup for Workgroups to backup the Windows Server 2008 computer. Backup for Workgroups is a disk based backup program, it will backup the files on the Windows Server and store the backup data to disk based storage. By using an internal hard drive for backup storage, you will have the fastest backup time. Also, using an internal drive keeps the backup data always available. If you should need to restore a file, the backup files are immediately available, you do not need to physically go to the server to restore files, and you can perform file and folder based restores using standard Remote Desktop access. Backup for Workgroups also supports onsite and offsite storage where you can backup to the local hard drive and then mirror to an external drive that can be stored offsite. We will start our setup by backing up to an internal drive and then adding the external mirror. The internal drive provides us with the advantages of backup SPEED and data AVAILABILITY and the external mirror provides us with REDUNDANCY and OFF-SITE data storage. Step 1 - Format the backup driveIn this example, we are using a Dell PowerEdge server. The original server had one drive that has been setup with the Windows Server 2008 operating system on Drive C:. We added 2 additional hard drives. One of the additional drives will be dedicated to Backup for Workgroups and other additional drive will be dedicated to the Windows built in backup software. With the relatively low prices of drive, this is a very cost effective solution. Before we download and install Backup for Workgroups, we will format the backup drive that will be used to hold the backup data. At the Windows Server, open the Server Manager. When you open the Server Manager, expand Storage in the left hand panel and select Disk Management.
Server Manager will show the 3 hard drives listed as Disk 0, Disk 1 and Disk 2. The first disk is the drive that is holding the operating system. The second disk we will use for the built in Windows Backup so we will ignore that disk at this time. The third drive we will dedicate to Backup for Workgroups.
Since our drives are brand new, they will need to be formatted, right click on the section labeled "Unallocated" for Disk 2 and choose "New Simple Volume...". Windows will display a wizard to walk you through the process of formatting the drive:
Press Next to start the wizard.
The New simple volume wizard will show the size of the drive and allows you to include the entire drive or a portion of the drive. Since we want to dedicate the entire drive to holding backup data, choose the default size, which is the entire drive. Press Next to continue.
The New Simple Volume wizard will now ask if you would like to assign a drive letter to the drive when it is formatted. We recommend assigning a drive letter that is high in the alphabet such as drive X:. This helps visually separate the drive from the operating system drive. After selecting the drive letter you want to use, press Next.
Now the New Simple Volume wizard will ask for several pieces of information. The first is the File System, you will want to use NTFS. NTFS allows for the storage of large files, where the older format FAT32 was limited to files up to 4GB. The allocation size can be anything you want, default is the most common. Backup for Workgroups does not use the volume label, this a comment to you. You should use a volume label that you would recognize in the future as a backup drive. You can change this at anytime and it will have no effect on your backup. Lastly you will want to Check / Tick the option to "Perform a quick format". For drives of 1 TB or larger a standard format can take hours. Press Next to continue.
The New Simple Volume Wizard is now ready to format the drive. Press Finish to exit the Wizard and the formatting process will begin.
After Windows formats the new drive you will be returned back to the Server Manager. From our screen shot we can see the new drive is formatted NTFS with the drive letter X:. You are now ready to install Backup for Workgroups. Step 2 - Download the Backup for Workgroups Setup ProgramYou are ready to download the Backup for Workgroups setup program. Click on the Download Now button below. Enter your contact information then return to this page to continue. Step 3 - Run the Backup for Workgroups Setup ProgramYou are now ready to run the setup program. 1. Run the bfwsetup program.
2. Press the button to agree to the license agreement. The setup program will now install Backup for Workgroups. When the installation process is complete, the welcome screen appears.
3. At the Welcome screen choose the top item to indicate that you want to backup this computer. Backup for Workgroups will setup one backup client account for this Windows Server. Press Next. 4. On the Backup Storage Location dialog, you inform Backup for Workgroups of the location of the backup storage device.
Backup for Workgroups will default to selecting the largest drive on your computer that has most free space. The setup program should automatically select the drive we added to the computer because in our example, it is the drive with the most free space. As seen above, Backup for Workgroups is going to store your backup data on the X: drive, under the "BFW Backup Data" directory. If the Setup program does not automatically select the correct storage location, then use the drop down box to select the drive. If your choose to use an external drive instead of an internal drive and that external drive does not show up in the drop-down list, make sure the drive is powered on, formatted in NTFS, and assigned a drive letter and is accessible to Windows. Then, press the Refresh button to tell the Setup program to rescan your computer for the available drives. 5. Press Finish to complete the setup. Now the Backup for Workgroups main program screen appears, as seen below.
Backup for Workgroups has a built in backup set that is defined to backup all local drives on the Windows server at 11:00 pm. Backup for Workgroups also has a built in open file add-on that allows the backup process to backup locked files on the server, this includes Exchange, SQL Server, and Domain Controller Active Directory databases. You can press the "Backup Now..." button to start your baseline backup now, or you can let the default, scheduled backup execute at 11pm. Please note that your computer must be powered on at 11pm in order to perform the backup. If this time is inconvenient or you prefer another time, you can go to Tools>Manage Backup Sets to change the run time on the All Local Drives backup set. We have decided to go ahead and perform the backup now of our Windows Server. Press the Backup Now button... Backup for Workgroups will backup the Windows Server and store the backup files on the X: Storage drive. This first run of the backup is commonly called the "baseline backup."
When this backup completes, Backup for Workgroups shows the results of the backup process.
As you can see the backup of the Windows Server took 9 minutes and backed up at the rate of about 1GB per minute. We bring attention to this backup speed to make note that Backup for Workgroups is a FAST backup program when provided with the optimum backup configuration using internal, local drives for backup storage. Setup offsite storage using a USB drive MirrorYou are have now completed the setup of Backup for Workgroups to backup the Windows Server and store the backup data to one of the computer's internal hard drives. If you would like, you can add an external USB drive to use as a mirror drive. This drive can be stored offsite and periodically brought in and connected to this server. When you connect the USB drive, Backup for Workgroups will bring the mirror drive up-to-date with the primary backup storage drive. The goal of using a USB drive to hold offsite data is for load. Most servers simply have too much data to push through an Internet connection. It is common to find that the size of a typical Exchange Server's Mailbox Store is so large that it would take over 24 hours to push it through an Internet connection. As a result it cannot be backed up offsite using cloud based storage. Using a USB Mirror drive can be very effective on these large files. Backup for Workgroups can backup the Exchange Server data, then replicate the backup data to your USB drive in a matter of minutes or in hours, depending upon network load and size of files. This USB Mirror drive can then be carried offsite and stored.
To facilitate offsite storage, we have selected a USB drive and attached it to the Windows Server. This USB drive will be used as the mirror drive. When you attach the USB drive for the first time, Windows will assign it the next available drive letter. We prefer to specify a drive letter to avoid with other USB devices. To avoid USB drive letter conflicts, let's assign the drive the letter M: for Mirror Drive. At the "Server Management" screen, expand the Storage section and select 'Disk Management." In the center section of the Server Manager Screen, right click on the USB drive and choose "Change Drive Letter and Paths." Select the drive letter M: (or any letter that is high in the alphabet) and save your changes. Finally take a look at the drive and see if it is formatted as NTFS. If the drive is not formatted as NTFS, follow the steps above to format the drive as NTFS. Now, we need to tell Backup for Workgroups to use the USB drive as the Mirror Drive. To do so, open Backup for Workgroups and go to the Storage Panel:
We currently see that Backup for Workgroups is configured to use the X: drive for its primary backup storage, which is seen in the upper portion of this dialog. The lower portion of the storage panel shows the mirror drive(s). Press the Add button to define a mirror storage location.
The drop down list will show all the local drives and it pre-selects the largest drive that is not already in use by Backup for Workgroups, in this case we can see that it selected our USB drive M:. If the default is not the USB drive, then click on the drop down list to select the appropriate drive. If the drive is not in the list, then make sure the USB drive is powered on and accessible by Windows, then press the Refresh button. Now select the USB drive and press Ok.
Backup for Workgroups now shows that the folder X:\BFW Backup Data is used for the primary storage and the folder M:\BFW Mirror Data is the duplicate copy of the backup data. Backup for Workgroups will now replicate the backup storage to the mirror drive. As files change in the primary storage they will be automatically copied to the mirror drive. We recommend that once the mirror drive is up to date, remove the USB drive and store it offsite. Periodically bring the mirror drive in and attach the drive to the server. Backup for Workgroups will keep a watch on the drive and when it sees the drive has returned it will scan the primary storage drive and the mirror drive and it will copy the files that are out of sync to bring the mirror up to date. Since the process only copies changed files the mirror will be in sync within a few hours.
Step 3 - Configure Disk Image Backup Software -
|
|
Copyright © 1999-2011. All rights reserved. Lockstep Systems, Inc. * P.O. Box 4662, Scottsdale, AZ 85261 * 1-480-596-9432 |