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 ?. |
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.
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:
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 |
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. |
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:
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 |
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" |
$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 |