To back up a fileset, do the following:
1. Verify that you are included in the appropriate administrative lists. If necessary, issue the bos lsadmin command to check.
2. If it is not already running, start the Tape Coordinator for the tape drive that you want to use with the operation. (See Starting a Tape Coordinator for information on using the butc command to start a Tape Coordinator.)
3. Optional. At this point, you can issue the bak command at the system prompt to enter interactive mode. (See Using the Interactive Interface for the advantages of interactive mode.) The commands in the following steps assume that regular command mode is used, not interactive mode.
4. Decide which fileset family and dump level to use. If necessary, use the bak lsftfamilies or bak lsdumps command to display information about existing fileset families and dump hierarchies.
5. Check that you have a sufficient number of tapes; if you do not have enough tapes, you will not be able to complete the backup. Also, check that the tapes are not smaller than the tape size listed in the TapeConfig file for the drive. You must also check that the tapes are properly prelabeled (if necessary, use the bak readlabel command to check the labels); you must relabel any tape that
· Is labeled with an incorrect name; tape names have the following format:
fileset_family_name.dump_level.index.
· Has an unexpired date; if a tape has an expiration date associated with it from a previous dump, you will not be able to use the tape unless the date is expired.
If a label is incorrect, use the bak labeltape command to label the tape correctly.
6. Issue the bak dump command to dump the fileset family onto tape:
$ bak dump -family fileset_family_name -level dump_level [-tcid tc_number] [-noaction]
The -noaction option specifies that all filesets that would be included in the indicated dump be displayed without the dump actually being performed. Specify all other options as you would to actually perform the operation.
7. For manually loaded tape drives, place the correct tape in the drive; the backup process begins immediately. If more than one tape is required, you must remain at the console to respond to prompts for subsequent tapes; if you do not respond immediately, a bell rings periodically to draw your attention. (If you are using automated backup equipment, the user-defined configuration file must be set up to handle tape loading. See Configuring the Backup System for details).