Previous | Contents | Index |
This option will display which disks and what flag settings are in use in a previously generated backup job. Use this in conjunction with option 4 to adjust your backup jobs as needed. In order to display the attributes of the backup, choose option 5, `Display backup attributes' from the `Modify/Create a BACKUP job' menu:
Selection (or ?) (1) : 5 Job name : INCREMENTAL1 |
Information similar to the following will be displayed. This may be modified using option 4 as described above.
Processing an Incremental Backup Backing up disks: DISK$ISE3: Adding information to the VAULT database Not using /VERIFY during backup BCKMGR Backup Procedures V4.0 August 1996 Help information is available for all prompts, just enter a ?. |
12.2.4 Option 6: Change format
Choosing this option allows the user to switch between COMPACT and
EXPANDED job format. The COMPACT format is used with MEDIA V
4.0 jobs. Previous MEDIA users (V 3.0 and before) may want to
convert their EXPANDED format jobs to COMPACT if full compatibility
with V 4.0 is desired.
The COMPACT option creates a centralized multi-job command file, while
the EXPANDED option uses a command file for each job. This enables any
changes to the file to universally affect all jobs, if desired.
Additionally, the EXPANDED command file will not be affected by any
changes within MCL to the Backup job settings or the source disk list.
12.2.5 Option 10: Modify parameter settings
The backup job generation procedure is controlled by a group of parameters. All these parameters can be viewed and changed by using this option. In order to change any of the parameters that control the generation of a BACKUP job select option 6 `Modify Parameter Settings' from the `Modify/Create a BACKUP job'. After making this selection the following display is made.
Current parameter settings(from MEDIA_LIBRARY:BCKMGR_MAINT.PAR;) DEFAULTS Incremental Full Unloading 1. Name root INCREMENTAL BACKUP UNLOAD 2. Interval 1-00:00 7-00:00 30-00:00 3. Generations 7 4 9999 4. Verify No Yes Yes BACKUP features 5. Qualifiers 6. User name 7. Notify mode MAIL 8. Use in a recovery Yes 9. Add history records Yes VAULT features 10. Use VAULT default Yes 11. Batch queue 12. Start time +00:02 13. Create new files No 14. Add /ONLINE data Yes 15. Load another parameter file 16. EXIT Selection (16) : |
The various parameters that can be changed are listed below:
12.2.6 Option 11: Enter rescheduling job into queue
Choosing this option invokes automatic resubmission of a job at regular
intervals. This gives the user the ability to plan backups according to
a designated interval schedule. 5
In order to enter a rescheduling job into a queue, choose option 7, `Enter a rescheduling job into queue' from the `Modify/Create a BACKUP job' menu.
Selection (or ?) (1) : 7 Job name (INCREMENTAL1) : INCREMENTAL1 |
You will then be prompted for an interval and start time as shown below. If the job is successfully rescheduled the start message will be displayed on the screen as shown.
Interval (1-00:00) : 1-00:00 Start time : 1-JAN-1996 17:53 Job INCREMENTAL1_START (queue MWS$BATCH, entry 404) started on MWS$BATCH |
12.2.7 Option 12: Add to SCHEDULE database
This option is available only to users with SCHEDULE installed on their system. If SCHEDULE is not installed it will not appear as an option on the menu. |
Choosing this option adds the job to the SCHEDULE database. This gives the user the ability to use the more sophisticated scheduling capabilities available with SCHEDULE. In order to add a job to the SCHEDULE database, choose option 8, `Add to SCHEDULE database' from the `Modify/Create a BACKUP job' menu.
Selection (or ?) (1) : 8 Job name (INCREMENTAL1) : INCREMENTAL1 |
You will next be prompted for SCHEDULE job name, Interval and Start time as shown below. Upon entering this data, you will receive a confirmation message indicating the job has been added to the SCHEDULE database.
SCHEDULE job name ([SCHED]INCREMENTAL1) : [SCHED]INCREMENTAL1 Interval (1-00:00) : 1-00:00 Start time : 1-JAN-1996 15:30 |
5 A more complete and sophisticated backup can be accomplished using MEDIA and the SCHEDULE automated backup system, available as a separate product. |
12.3 Creating jobs using DCL commands
There are two other ways of creating a job from the command line. Either of these can be used to create any job, but you will find that each has its advantages for certain types of jobs.
Adding a job to the BCKMGR database is a simple matter of adding the basic components. The steps to follow are:
12.3.1 BCKMGR CREATE
BCKMGR CREATE is an easy way to create a job entry. If you need to set
a number of modifying parameters about the days, dates or times of
submission, add qualifiers. DCL commands can be added after the job has
been created by using the BCKMGR INSERT or EDIT commands.
BCKMGR CREATE is the basic command for building backup jobs. The real power of this command is in the multiplicity of qualifiers, which set various parameters. The format of BCKMGR CREATE command is:
$ BCKMGR CREATE JOB_NAME/QUALIFIERS |
The most commonly used qualifier is /PROMPT. Which causes an interactive query of all the essential parameters needed for a job definition. The format of the BCKMGR CREATE/PROMPT command is:
$ BCKMGR CREATE JOB_NAME/PROMPT/QUALIFIERS |
You can set the flags for submit options, which affect what the conditions are inside the VMS queue. Possible Submit Options are specified in Table 12-2.
Submit Option | Description |
---|---|
[NO]KEEP | Do not keep log file. The log file is generally kept even without the /LOG qualifier, which displays the log to the user. (KEEP is the default.) |
[NO]PRINT | Print log file. (FLAG=NOPRINT is the default.) |
[NO]RESTART | Job can be restarted if it terminates prematurely. (NORESTART is default.) |
BCKMGR COPY is the simplest way to create a job, but also the most limited, in that there must already be a similar job available to copy. You use BCKMGR COPY to copy the existing job to another name called the target job. BCKMGR COPY copies everything about the source job to the target job: parameters and DCL commands. Then you can make whatever modifications you want to the copy, using the commands MODIFY, INSERT or EDIT, as discussed in the next section.
The format for COPY is:
$ BCKMGR COPY SOURCE_JOB TARGET_JOB/QUALIFIERS |
The only qualifiers allowed are the general BCKMGR qualifiers, /CONFIRM and /LOG.
If a user wants to use the job BACKUP_JOB1 as her template for a similar job and wants to call the new job BACKUP_JOB3, she enters:
$ BCKMGR COPY BACKUP_JOB1 BACKUP_JOB3 |
12.4 Modifying jobs
There are three common commands to alter a job definition or add new
information to it, each with advantages for a given situation:
Command | Description |
---|---|
MODIFY | changes field parameters |
INSERT | replaces any of the command lists defined in the job |
EDIT | modifies any one of the command lists |
The command MODIFY can be used to change any of the fields defined in a job definition. Any of the field parameters discussed under those commands can be changed using MODIFY. MODIFY cannot be used to make changes to the lists of commands in a job definition.
The command format is:
$ BCKMGR MODIFY JOB_NAME/QUALIFIERS |
The general qualifiers, /LOG and /CONFIRM, can be used. These qualifiers have all been discussed in detail under the individual commands for creating job definitions. Review the sections on commands for more information about the individual qualifiers.
For example, a user who has created the job definition BACKUP_JOB3 using BCKMGR COPY from another job may decide to change the number of generations of the job to keep. To change it to six he would enter:
$ BCKMGR MODIFY BACKUP_JOB3/GENERATIONS = 6 |
If he also wants to modify the comment for the job he could enter:
$BCKMGR MODIFY BACKUP_JOB3/COMMENT = "Incremental backup job 12-2-92" |
12.4.2 BCKMGR INSERT
The INSERT command is useful for instances where the field parameters
of the job are acceptable, but the DCL commands need to be changed. The
command will read an input file that you supply and replace the list
that exists in the database with the list in the input file. The input
file can be a command file, if you are changing
the list of commands or a simple list of names in a file.
$BCKMGR INSERT JOB_NAME INPUT_FILE_NAME |
If a user wants to change the commands for the job BACKUP_JOB3, she can build a command file called COMFILE.COM and then type in:
$ BCKMGR INSERT BACKUP_JOB3 COMFILE.COM |
An alternate way to change a list using INSERT is to give the file name SYS$INPUT as your input file name. This lets you type the list in directly from the console. Press CONTROL/Z to exit. For example, to change the list of commands for the job BACKUP_JOB1, type:
$ BCKMGR INSERT BACKUP_JOB1 SYS$INPUT |
Previous | Next | Contents | Index |