About Backups


Assumptions

It is always necessary to make some basic assumptions about how any procedure will actually be implemented. In the case of backups of the CK:P machines the technical staff has made the following assumption:


Backup Background

Considerations:

Backups of CK:P server and client machine data is the responsibility of the individual site. The User Administrator of each site, the CK:P System Administrator, and the CK:P Educational Staff have created a working backup procedure. This was created with the following general policies, considerations and procedures in mind.

Suggested Models:

Two backup models were considered for the PPS CK:P sites. A brief overview of the nature, advantages and disadvantages are present below.

Single-level Model -

In this model the entire server is fully backed up each day (a level 0 dump). There are a small number of tapes (3-7) used for this which are rotated. This scheme is good if a full dump will fit on a single tape.

Multi-level backups -

Each month a level 0 dump is done. Two sets of tapes should be rotated for this.
Each week a level 1 dump is done; five sets of tapes should be rotated for this.
Each day a level 2 dump is done; seven (or five) sets of tapes should be for this

This model contains three levels and is highly recommended by CK:P. If necessary the last level can be omitted and the second level can be extended if necessary, but this is not suggested.

After careful consideration of the needs of each site and the assumptions that had been made a modified multilevel backup plan was implemented. The procedural guidelines for this backup model can be found on the Backup Procedures page.


 

Installing CK:P Backup Software

Before backups can actually be performed at any site it is necessary to have the proper software installed on the unix server. The following is a quick step by step guide to determining if you have the software and how to get it if you don't.

  1. First, make sure the ezdump software is on the server by looking for it. Type:
    ls /usr/local/sbin/ezdump
    .
    If the system responds simply with /usr/local/sbin/ezdump, all is well -- go on to step 2. However, if it says something like:
    ls: /usr/local/sbin/ezdump: No such file or directory
    ,
    you'll need to fetch the software by typing sudo /usr/local/sbin/localupdate. This procedure can take some time. If after the localupdate finishes ezdump is still not installed, contact the CK:P Tech Staff for further assistance.
  2. Create the /etc/dump.conf file. To do this:
    1. Type cd /etc
    2. Edit the dump.conf file -- sudo pico dump.conf.
    3. Author the dump.conf file based on what you want to appear in it. If you need to know the format, take a look at the documentation for the file format.
    4. Please note that the "tape" keyword in dump.conf will have different values depending on what type of machine the server is. If the server is a NetBSD server, the tape value should be nrst0. If it's an Alpha, it should be nrmt0h. here!
  3. Type ezdump -t. If there are no error messages, continue on. If you see something that you think might be an error message, contact the appropriate help desk for assistance.
  4. Now, you can proceed to actually doing the backups by hand, if you like. If you want to have the backup procedure run automatically every night, you can edit the /etc/crontab file. The format for this file can look intimidating at first, but it's pretty straightforward if you check the documentation If you're still feeling nervous, make a copy of the crontab, edit in your changes, and mail it to the tech staff and we can double-check it for you.

 

Return to Backups

 

Revision 1.0:April 26, 1996:CJR