sections in this module City College of San Francisco - CS260A
Unix/Linux System Administration

Module: Backups
module list

Backup Issues

Backing up is for insurance. Just like other insurance, you hope you never need it, but when you do, you're very glad it is there. Also just like other insurance, it is worthless if you don't keep it current. To be effective, backups must be performed regularly.

If you ask a computer user "Why should you keep backups?" they will normally respond "in case my system fails". Although this is the perceived reason for performing backups, user error, rather than system failure, is the most common reason to use backups. Before designing a backup plan you must first answer the question "What do I want  protection from?" The answer to this question, together with the realization that, just like other insurance, the amount of protection you receive is proportional to the amount of work or cost you incur, will help you design a backup plan that is appropriate for you.

Design issues

Designing a good backup plan is the second most important factor in producing good backups. The most important factor is performing the backups consistently. This seems obvious. However, any idiot can create a backup plan that will ensure that a recent copy of your data is made. Here's one:

Backup your entire system once each hour, every hour. Save all the backups for a year.

Of course, this is silly. It does not take into account the reasons that many user's backup plans result in nothing more than plans. In particular

In addition, most users of modern computer systems expect problems to occur from time to time. (We will leave financial institutions out of the discussion here.) They also are willing to accept some responsibility for their data, and to accept some amount of risk for it. How much risk they are willing to accept depends on the application and on the expectations that you, as the system administrator, have set. If you publish a reasonable backup plan that is insufficient for their security, they can take additional steps on their own. In short:

When developing a policy, consider the following issues:

Even a personal computer these days may have hundreds of GB of data. (Possibly by the time you read this, it will be some number of terabytes of data.) Backing up all of this data is silly. In case of a catastrophic failure you will reinstall your system. You would then use your backups to restore additional data and any configuration you performed. In the simplest situation you may want to limit the data you backup to user data that is kept beneath each user's home directory.
How much loss can you expect your users to endure? If you can limit your backups to weekly or even daily backups the task can be managed. You should always do a better job than user expect, however. That way you can shine in a crisis, instead of just meeting expectations. In the role of system administrator, perception is everything!
The answer to this question affects the type and format of your backups and where you keep them. An secondary question may be whether the data may need to be restored to somewhere else: another system or another directory. This may affect the way your backups are performed.
This sounds funny, but it is crucial. If you can safely entrust this task to someone else, all the better. Some people enjoy repetitive tasks! System administrators need more of them.
Remember, a backup is a copy. Many types of data are sensitive. If the primary copy of the data has security concerns, so does the backup. Just think about it: all your electronic mail may be sitting on a DVD in a computer room somewhere right next to the station of a computer operator who has very little to do in the middle of the night.

A few other considerations

Preview question: Design a plan to limit the amount of data you must backup.  If your plan is implemented, consider how easy it would be to recreate your system after a total loss. How easy is it to recover a single piece of lost user data?

Prev This page was made entirely with free software on linux:  
Nvu, Kompozer
and Openoffice.org    
Next

Copyright 2008 Greg Boyd - All Rights Reserved.
Document made with Nvu