HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations HP Archive Backup System for OpenVMS Guide to Operations

h71000.www7.hp.com
from h71000.www7.hp.com More from this publisher
06.11.2014 Views

Saving and Restoring Data 3.7 Schedules You can specify the actual day in the week that you want the schedule to run by name. Here are some examples: Table 3–7 Day Specifications Dates SUN MON-FRI MON, WED, FRI FRI-MON, WED Explanation Sunday Only Monday through Friday Only Monday, Wednesday and Friday Only Friday, Saturday, Sunday, Wednesday If you don’t specify a day attribute, the default is every day of the week. Finally, you can specify the actual months in the year that you want the schedule to run by name. Here are some examples: Table 3–8 Month Specifications Dates MAR APR-SEP JAN, APR, JUL, OCT JAN-DEC Explanation March Only April through September Only January, April, July, October Only All months If you don’t specify a month attribute, the default is every month of the year. The dates, days and months attributes work together so that all must qualify for the schedule to be run. Therefore if you specify days SUN, but months of JAN, JUL only, then the schedule only runs on Sundays in January and July. The following table shows some examples of how the days, dates and months attributes work together to produce custom schedules Table 3–9 Combining Dates, Days and Months Custom Schedule Dates Days Months First sunday of every month 1-7 SUN JAN-DEC First day of the quarter 1 SUN-SAT JAN, APR, JUL, OCT First and third saturdays of month 1-7, 15-21 SAT JAN-DEC First of month, every four months 1 SUN-SAT FEB, JUN,OCT Weekdays only 1-31 MON-FRI JAN-DEC Summer weekends only 1-31 SAT-SUN JUN-SEP 3-34 Saving and Restoring Data

3.7.5 Include and Exclude 3.7.6 Times Saving and Restoring Data 3.7 Schedules If there are schedules that cannot be accommodated by this scheme, then you can use the INCLUDE and EXCLUDE attributes as explained below. Although the days, dates and months attributes can produce a very flexible scheduling scheme, there may be specific days that you want to include or exclude regardless of the regular schedule. You can do this using the following attributes: • INCLUDE - Include specific dates that otherwise may not be included using the days, dates and months attributes • EXCLUDE - Exclude specific dates that otherwise may be included using the days, dates and months attributes The dates are specified in the standard OpenVMS format DD-MMM-YYYY, and can range from the current date to up to 10 years in the future. Only dates may be specified, not times. Specifica tion of include and exclude dates override the regular schedule as determined by the dates, days and months attributes. You can also use the include and exclude attributes to augment the days, dates and months in situations that they do not cover what you want. For example, to run on the last day of every month, you can specify DATES 31, DAYS MON-SUN and MONTHS JAN-DEC, then specifically include 28-Feb, 30-Apr, 30-Jun, 30-Sep, 30-Nov. ABS allows you to specify times that you wish your schedule to run. Normally a schedule runs only once per day, but ABS allows you the flexibility to specify up to 100 times per day for a schedule to run. Simply specify times in the times attribute as a comma-separated list. Be careful to not specify so many times that the schedule executions overlap each other. Saving and Restoring Data 3–35

Saving and Res<strong>to</strong>ring Data<br />

3.7 Schedules<br />

You can specify the actual day in the week that you want the schedule <strong>to</strong> run by name. Here are<br />

some examples:<br />

Table 3–7 Day Specifications<br />

Dates<br />

SUN<br />

MON-FRI<br />

MON, WED, FRI<br />

FRI-MON, WED<br />

Explanation<br />

Sunday Only<br />

Monday through Friday Only<br />

Monday, Wednesday and Friday Only<br />

Friday, Saturday, Sunday, Wednesday<br />

If you don’t specify a day attribute, the default is every day of the week.<br />

Finally, you can specify the actual months in the year that you want the schedule <strong>to</strong> run by name.<br />

Here are some examples:<br />

Table 3–8 Month Specifications<br />

Dates<br />

MAR<br />

APR-SEP<br />

JAN, APR, JUL, OCT<br />

JAN-DEC<br />

Explanation<br />

March Only<br />

April through September Only<br />

January, April, July, Oc<strong>to</strong>ber Only<br />

All months<br />

If you don’t specify a month attribute, the default is every month of the year.<br />

The dates, days and months attributes work <strong>to</strong>gether so that all must qualify <strong>for</strong> the schedule <strong>to</strong><br />

be run. There<strong>for</strong>e if you specify days SUN, but months of JAN, JUL only, then the schedule only<br />

runs on Sundays in January and July.<br />

The following table shows some examples of how the days, dates and months attributes work<br />

<strong>to</strong>gether <strong>to</strong> produce cus<strong>to</strong>m schedules<br />

Table 3–9 Combining Dates, Days and Months<br />

Cus<strong>to</strong>m Schedule Dates Days Months<br />

First sunday of every month 1-7 SUN JAN-DEC<br />

First day of the quarter 1 SUN-SAT JAN, APR,<br />

JUL, OCT<br />

First and third saturdays of month 1-7, 15-21 SAT JAN-DEC<br />

First of month, every four months 1 SUN-SAT FEB, JUN,OCT<br />

Weekdays only 1-31 MON-FRI JAN-DEC<br />

Summer weekends only 1-31 SAT-SUN JUN-SEP<br />

3-34 Saving and Res<strong>to</strong>ring Data

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!