Performing a Full Backup [ Performing System Operation Tasks ] MPE/iX 5.0 Documentation
Performing System Operation Tasks
Performing a Full Backup
A full backup should not be a surprise. Follow a schedule and
communicate it to your users in the WELCOME message.
To prepare for a full backup
About 15 minutes before you want to start the backup, tell everyone to
finish their work and log off. Enter the following message at the
console. (Do not press Return until you have typed the entire message.
Otherwise, everyone gets only part of it.)
1. Use the TELL command. Enter:
TELL @S; BACKUP WILL BEGIN IN 15 MINUTES.
PLEASE FINISH AND LOG OFF;
INFORM YOUR QUIET NEIGHBORS Return
If you did accidentally enter the Return key too soon, just start
all over again. Refer to chapter 5, "Performing System
Functions."
2. Prevent anyone who is not currently using the computer from
logging on. Enter:
LIMIT 0,0
JOBFENCE 14
3. Check the new limits and jobfence by entering:
SHOWJOB STATUS
The values on your console should exactly match the ones here. If
they do not, enter the above commands again.
JOBFENCE= 14; JLIMIT= 0; SLIMIT= 0
4. About 10 minutes before you plan to begin the backup, send
everyone a warning. (Remember, do not press Return until you
enter the entire message.) Regardless of what users are doing,
they receive the warning at their terminals. Enter:
WARN @S; BACKUP WILL BEGIN IN TEN MINUTES.
PLEASE LOG OFF. Return
5. Find out who is still using the computer by entering:
SHOWJOB JOB=@S
The computer responds by listing all sessions. Since you have
already told people about the backup once, and warned them again
just a minute ago, they should log off soon. Periodically use the
SHOWJOB command to see who is still working. Another warning may
be necessary.
6. Suspend any executing jobs. First enter:
SHOWJOB JOB=@J
If you see one or more executing jobs, suspend them before the
backup begins. Use the job numbers that appear in the first
column on your screen with the BREAKJOB command:
BREAKJOB #Jnnn
Replace nnn with a job number from your screen
Repeat the BREAKJOB command for each executing job in the list.
When you are finished, enter:
SHOWJOB JOB=@J
Each job should now be listed as "SUSP," or suspended. If you
missed one, use the BREAKJOB command again to suspend it.
When you finish the backup, you need to restart any suspended
jobs.
To perform a full backup
1. Define the backup device with the FILE command. Enter:
FILE T;DEV=TAPE
Or use the logical device number. For example:
FILE T;DEV=8
2. Enter a STORE command with your options. For example, to store
all files on the system, including HFS files and directories,
enter:
STORE /;*T;SHOW=OFFLINE;PROGRESS-1;DIRECTORY
In addition to copying all system and user files, the STORE command in
the example above prints a list of the stored files on the system
printer, notifies you of its progress every minute, and copies the file
system directory.
To perform a partial backup
1. Define the backup device with the FILE command. Enter:
FILE T;DEV=TAPE
Or use the logical device number. For example:
FILE T;DEV=8
2. Enter a STORE command with your options, substituting the date of
the last full backup for mm/dd/yy. For example:
STORE /;*T;DATE>=6/12/90;DIRECTORY;SHOW=OFFLINE;
The STORE command copies all system and user files modified since the
date of the last full backup, copies the file system directory, and
prints a list on files stored to the system printer.
MPE/iX 5.0 Documentation