If you view the properties of a file or directory in File Explorer, you’ll find an attribute called archive. You often use this attribute to determine whether a file or directory should be backed up. If the attribute is on, the file or directory might need to be backed up. You can perform the following basic types of backups:
■ Normal/full backups All files that have been selected are backed up, regardless of the archive attribute’s setting. When a file is backed up, the archive attribute is cleared. If the file is later modified, this attribute is set, indicating that the file needs to be backed up.
■ Copy backups All files that have been selected are backed up, regardless of the archive attribute’s setting. Unlike in a normal backup, the archive attribute on files isn’t modified. This enables 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 set are backed up. However, the archive attribute on files isn’t modified. This enables 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 set are backed up. When a file is backed up, the archive attribute is cleared. If the file is later modified, this attribute is set, indicating that the file needs to be backed up.
■ Daily backups Designed to back up files by 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 doesn’t change the archive attribute of files.
As part of your backup operations, you’ll probably want to perform full backups on a weekly basis and supplement this with daily, differential, or incremental backups. You might also want to create an extended backup set for monthly and quarterly backups that includes additional files that aren’t being backed up regularly.
TIP You’ll often find that weeks or months go by before anyone notices that a file or data source is missing. This doesn’t mean the file isn’t important. Although some types of data aren’t used often, they’re still needed. So don’t forget that you might also want to create extra sets of backups for monthly or quarterly periods, or for both periods, to ensure that you can recover historical data.
Differential and incremental backups
The difference between differential and incremental backups is extremely important. To understand the distinction, examine Table 11-1. As you will find, with differential backups you back up all the files that have changed since the last full backup (which means that the size of the differential backup grows over time). With incremental backups, you back up only 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. |
After 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 options are covered in the next section.
Selecting backup devices and media
Many tools are available for backing up data. Some are fast and expensive, and others are slow but very reliable. The backup solution that’s right for your organization depends on many factors, including the following:
■ Capacity The amount of data 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 with server or service downtime to reduce costs?
■ Cost The cost of the backup solution. Does it fit 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 the following:
■ 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 24 gigabytes (GB) to 160 GB. Compared with other backup solutions, tape drives are slow. Still, the selling point is the low cost.