Export (0) Print
Expand All

Data Backup and Recovery

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Archived content - No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

from Chapter 11, Windows NT Administrator's Pocket Consultant by William R. Stanek.

Data is the heart of the enterprise, and to protect your organization's data, you need to implement a data backup and recovery plan. Backing up files can protect against accidental loss of user data, database corruption, hardware failures, and even natural disasters. It's your job as an administrator to make sure that backups are performed and that backup tapes are stored in a secure location.

Creating a Backup and Recovery Plan

Think of data backup as an insurance plan. Important files are accidentally deleted all the time. Mission-critical data can become corrupt. Natural disasters can leave your office in ruin. With a solid backup and recovery plan, you can recover from any of these situations. Without one, you're left with nothing to fall back on.

Figuring Out a Backup Plan

Creating and implementing a backup and recovery plan takes time. You'll need to figure out what data needs to be backed up, how often the data should be backed up, and more. To help you create a plan, consider the following:

  • How important is the data on your systems? The importance of data can go a long way in determining if you need to back it up, as well as when and how it should be backed up. For critical data, such as a database, you'll want to have redundant backup sets that extend back for several backup periods. For less important data, such as daily user files, you won't need such an elaborate backup plan, but you'll need to back up the data regularly and ensure that the data can be recovered easily.

  • What type of information does the data contain? Data that doesn't seem important to you may be very important to someone else. Thus, the type of information the data contains can help you determine if you need to back up the data—as well as when and how the data should be backed up.

  • How often does the data change? The frequency of change can affect your decision on how often the data should be backed up. For example, data that changes daily should be backed up daily.

  • How quickly do you need to recover the data? Time is an important factor in creating a backup plan. For critical systems, you may need to get the system back online swiftly and to do this, you may need to alter your backup plan.

  • Do you have the equipment to perform backups? If you don't have backup hardware, you can't perform backups. To perform timely backups, you may need several backup devices and several sets of backup media. Backup hardware includes tape drives, optical drives, and removable disk drives. Generally, tape drives are less expensive but slower than other types of drives.

  • Who will be responsible for the backup and recovery plan? Ideally, someone should be a primary contact for the organization's backup and recovery plan. This person may also be responsible for performing the actual backup and recovery of data.

  • What is the best time to schedule backups? You'll want to schedule backups when system use is as low as possible. This will speed the backup process. However, you can't always schedule backups for off-peak hours. So you'll need to carefully plan when key systems are backed up.

  • Do you need to store backups off-site? Storing copies of backup tapes off-site is essential to the recovery of your systems in the case of a natural disaster. In your off-site storage location, you should also include copies of the software you may need to install to reestablish operational systems.

The Basic Types of Backup

As you'll find when you work with data backup and recovery, there are many techniques for backing up files. The techniques you use will depend on the type of data you are backing up, how convenient you want the recovery process to be, and more.

If you view the properties of a file or directory in Explorer, you'll note an attribute called Archive. This attribute often is used to determine whether a file or directory should be backed up. If the attribute is on, the file or directory may need to be backed up. The basic types of backups you can perform include:

  • Normal/full backups All files that have been selected are backed up, regardless of the setting of the archive attribute. When a file is backed up, the archive attribute is cleared. If the file is later modified, this attribute is set, which indicates that the file needs to be backed up.

  • Copy backups All files that have been selected are backed up, regardless of the setting of the archive attribute. Unlike a normal backup, the archive attribute on files is not modified. This allows you to perform other types of backups on the files at a later date.

  • Differential backups Designed to create backup copies of files that have changed since the last normal backup. The presence of the archive attribute indicates that the file has been modified and only files with this attribute are backed up. However, the archive attribute on files is not modified. This allows you to perform other types of backups on the files at a later date.

  • Incremental backups Designed to create backups of files that have changed since the most recent normal or incremental backup. The presence of the archive attribute indicates that the file has been modified and only files with this attribute are backed up. When a file is backed up, the archive attribute is cleared. If the file is later modified, this attribute is set, which indicates that the file needs to be backed up.

  • Daily backups Designed to back up files using the modification date on the file itself. If a file has been modified on the same day as the backup, the file will be backed up. This technique does not change the archive attribute of files.

In your backup plan, you'll probably want to perform full backups on a weekly basis and supplement this with daily, differential, or incremental backups. You may also want to create an extended backup set for monthly and quarterly backups that include additional files that aren't being backed up regularly.

Tip You'll often find that weeks or months can go by before anyone notices that a file or data source is missing. This doesn't mean the file isn't important. Some types of data aren't used often but are needed just the same. So don't forget that you may also want to create extra sets of backups for monthly or quarterly periods, or both, to ensure that you can recover historical data over time.

Differential and Incremental Backups

The difference between differential and incremental backups is extremely important. To understand the distinction between them, examine Table 11-1. As it shows, with differential backups you back up all files that have changed since the last full backup (which means the size of the differential backup grows over time). With incremental backups, you only back up files that have changed since the most recent full or incremental backup (which means the size of the incremental backup is usually much smaller than a full backup).

Table 11-1 Incremental and Differential Backup Techniques

Day of Week

Weekly Full Backup with Daily Differential Backup

Weekly Full Backup with Daily Incremental Backup

Sunday

A full backup is performed.

A full backup is performed.

Monday

A differential backup contains all changes since Sunday.

An incremental backup contains changes since Sunday.

Tuesday

A differential backup contains all changes since Sunday.

An incremental backup contains changes since Monday.

Wednesday

A differential backup contains all changes since Sunday.

An incremental backup contains changes since Tuesday.

Thursday

A differential backup contains all changes since Sunday.

An incremental backup contains changes since Wednesday.

Friday

A differential backup contains all changes since Sunday.

An incremental backup contains changes since Thursday.

Saturday

A differential backup contains all changes since Sunday.

An incremental backup contains changes since Friday.

Once you determine what data you're going to back up and how often, you can select backup devices and media that support these choices. These are covered in the next section.

Selecting Backup Devices and Media

Many solutions are available for backing up data. Some are fast and expensive. Others are slow but very reliable. The backup solution that's right for your organization depends on many factors, including

  • Capacity The amount of data that you need to back up on a routine basis. Can the backup hardware support the required load given your time and resource constraints?

  • Reliability The reliability of the backup hardware and media. Can you afford to sacrifice reliability to meet budget or time needs?

  • Extensibility The extensibility of the backup solution. Will this solution meet your needs as the organization grows?

  • Speed The speed with which data can be backed up and recovered. Can you afford to sacrifice speed to reduce costs?

  • Cost The cost of the backup solution. Does it fit into your budget?

Common Backup Solutions

Capacity, reliability, extensibility, speed, and cost are the issues driving your backup plan. If you understand how these issues affect your organization, you'll be on track to select an appropriate backup solution. Some of the most commonly used backup solutions include

  • Tape drives Tape drives are the most common backup devices. Tape drives use magnetic tape cartridges to store data. Magnetic tapes are relatively inexpensive but aren't highly reliable. Tapes can break or stretch. They can also lose information over time. The average capacity of tape cartridges ranges from 100 MB to 2 GB. Compared with other backup solutions, tape drives are fairly slow. Still, the key selling point is the low cost.

  • DAT drives DAT (Digital Audio Tape) drives are quickly replacing standard tape drives as the preferred backup devices. DAT drives use 4mm and 8mm tapes to store data. DAT drives and tapes are more expensive than standard tape drives and tapes but offer better speed and more capacity. DAT drives that use 4mm tapes typically can record over 30 MB per minute and have capacities of up to 16 GB. DAT drives that use 8mm tapes typically can record more than 10 MB per minute and have capacities of up to 36 GB (with compression).

  • Auto-loader tape systems Auto-loader tape systems use a magazine of tapes to create extended backup volumes capable of meeting the high-capacity needs of the enterprise. With an auto-loader system, tapes within the magazine are automatically changed as needed during the backup or recovery process. Most auto-loader tape systems use DAT tapes. The typical system uses magazines with between 4 and 12 tapes. The key drawback to these systems is the high cost.

  • Magnetic optical drives Magnetic optical drives combine magnetic tape technology with optical lasers to create a more reliable backup solution than DAT. Magnetic optical drives use 3.5-inch and 5.25-inch disks that look similar to floppies but are much thicker. Typically, magnetic optical disks have capacities of between 1 GB and 4 GB.

  • Tape jukeboxes Tape jukeboxes are similar to auto-loader tape systems. Jukeboxes use magnetic optical disks rather than DAT tapes to offer high-capacity solutions. These systems load and unload disks stored internally for backup and recovery operations. The key drawback to tape jukeboxes is the high cost.

  • Removable disks Removable disks, such as Iomega Jaz and SyQuest SyJet, are increasingly being used as backup devices. Removable disks offer good speed and ease of use for a single drive or single system backup. However, the disk drives and the removable disks tend to be more expensive than standard tape or DAT drive solutions.

Buying and Using Tapes

Backup device selection is an important step toward implementing a backup and recovery plan. However, it is not the only step. You also need to purchase the tapes or disks, or both, that will allow you to implement your backup and recovery plan. The number of tapes you need depends on

  • How much data you'll be backing up

  • How often you'll be backing up the data

  • How long you'll need to keep additional data sets

The typical way to use backup tapes is to set up a rotation schedule whereby you rotate through two or more sets of tapes. The idea is that you can increase tape longevity by reducing tape usage and at the same time reduce the number of tapes you need to ensure that you have historic data on hand when necessary.

One of the most common tape rotation schedules is the 10-tape rotation. With this rotation schedule, you use 10 tapes divided into two sets of 5 (one for each weekday). As shown in Table 11-2, the first set of tapes is used one week and the second set of tapes is used the next week. From Monday through Thursday, incremental backups are performed. On Fridays, full backups are performed. If you add a third set of tapes, you can rotate one of the tape sets to an off-site storage location on a weekly basis.

Table 11-2 Using Incremental Backups

Day of Week

Tape Set 1

Tape Set 2

Monday

Incremental backup on Tape 1

Incremental backup on Tape 1

Tuesday

Incremental backup on Tape 2

Incremental backup on Tape 2

Wednesday

Incremental backup on Tape 3

Incremental backup on Tape 3

Thursday

Incremental backup on Tape 4

Incremental backup on Tape 4

Friday

Full backup on Tape 5

Full backup on Tape 5

Tip The 10-tape rotation schedule is designed for the 9 to 5 workers of the world. If you are in a 24x7 environment, you'll definitely want extra tapes for Saturday and Sunday. In this case, use a 14-tape rotation with two sets of 7 tapes. Perform incremental backups Monday through Saturday. On Sundays, perform full backups.

Installing Backup Devices

Before you can use a backup device, you must install it. When you install backup devices other than standard tape and DAT drives, you need to tell the operating system about the controller card and drivers that the backup device uses. You do this by using the SCSI Adapters utility in the Control Panel.

When you install standard tape and DAT drives, you install the drivers for the drive and control the drive using the Tape Devices utility in the Control Panel.

Installing a SCSI Adapter and Backup Device Driver

The controller card and drivers for backup devices are installed using the SCSI adapter utility in the Control Panel. This is true even if you are installing an IDE device.

To install the controller and drivers for the backup device, follow these steps:

  1. Double-click on the SCSI Adapters utility in Control Panel. This opens the dialog box shown in Figure 11-1.

  2. Select the Drivers tab, then click on the Add button to display the Install Driver dialog box shown in Figure 11-2.

  3. Scroll through the list of manufacturers to find the manufacturer of your backup device, then choose the appropriate adapter in the SCSI Adapters panel.

    Cc722505.11wnta01(en-us,TechNet.10).gif

    Figure 11-1: The SCSI Adapters dialog box lets you install SCSI devices and drivers.

    Note: If the manufacturer or adapter isn't listed, click on the Have Disk button and follow the prompts. Afterward, select the appropriate adapter. (You can skip this procedure by inserting the driver disk into the floppy disk drive before accessing the Drivers tab.)

  4. Click OK.

  5. If the Microsoft Windows NT Setup dialog box is displayed, select Current. This tells the system to use the current driver installed on your system, which is usually preferable unless you know specifically that the driver on the disk is newer than the currently installed driver.

  6. When Windows NT finishes installing the driver, you'll need to reboot your system. Choose Yes when prompted.

    Cc722505.11wnta02(en-us,TechNet.10).gif

    Figure 11-2: Select the backup device driver in the Install Driver dialog box.

    Cc722505.11wnta03(en-us,TechNet.10).gif

    Figure 11-3: The Tape Devices dialog box lets you install drivers and examine the properties of tape devices.

Installing a Tape Device

You install drivers for a tape device using the Tape Devices utility. If you haven't configured a tape device yet, the Tape Devices utility tells you that it can't find any tape devices. You can remedy this situation by installing the drivers for the tape device as follows:

  1. Double-click on the Tape Devices utility in Control Panel. This opens the dialog box shown in Figure 11-3.

  2. Select the Drivers tab, then click on the Add button to display the Install Driver dialog box shown in Figure 11-4.

  3. Scroll through the list of manufacturers to find the manufacturer of your tape drive, then choose the appropriate device in the Tape Devices panel.

    Note: If the manufacturer or adapter isn't listed, click on the Have Disk button and follow the prompts. Afterward, select the appropriate tape device. (You can skip this procedure by inserting the driver disk into the floppy disk drive before accessing the Drivers tab.)

  4. Click OK.

  5. If the Windows NT Setup dialog box is displayed, select Current. This tells the system to use the current driver installed on your system, which is usually preferable unless you know specifically that the driver on the disk is newer than the currently installed driver.

  6. When Windows NT finishes installing the driver, you'll need to reboot your system. Choose Yes when prompted.

When you finish installing the tape device, you'll be able to use the buttons on the Devices tab. The Properties button lets you view the properties of the drive, such as its drive number. The Detect button lets you detect an installed tape device. This is handy if you recently inserted a tape into the device and you want to check its status.

Cc722505.11wnta04(en-us,TechNet.10).gif

Figure 11-4: Select the tape device driver in the Install Driver dialog box.

from Windows NT Administrator's Pocket Consultant by William R. Stanek. Copyright © 1999 Microsoft Corporation.

Link
Click to order


Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft