The backup program allows backups to be made of two groups of files.
The first is the "root" group. Backup of this information is required only when changes are made to Linux and the files associated with it. For example, if new users are added to the system.
The second is the "users" group. As new particle runs are added, this information changes and should be backed up. Currently the backup shell script copies all files owned by postgres, csadmin, csoperator, and kitchen to tape.
The restore program is used to copy files from a tape to the disk. When this operation is performed, files are created or modified on the disk as necessary.
The backup and restore programs are shell scripts and are easy to change. As the amount of information contained on the disk drive grows, the shell scripts may have to be changed in order for all of the information to correctly write to and read from tape.
The backup and restore programs both use the program tar to perform their jobs. See the Linux manuals for information on how to use tar.
Use these steps to perform a backup:
Log in as or su to root.
Insert a tape into the tape drive.
Type "backup <arg>". (See below)
The program performs the appropriate function.
Log out/exit.
The backup program is invoked as follows:
Invoke the backup program.
Prepare a new tape to recieve information or erase an old tape.
Backup the root information as explained above.
Backup the user information as explained above.
The restore program is invoked as follows:
Invoke the restore program.
Reload the root information as explained above.
Reload the user information as explained above.