About template rules

Article:HOWTO22931  |  Created: 2010-01-01  |  Updated: 2011-05-04  |  Article URL http://www.symantec.com/docs/HOWTO22931
Article Type
How To

Product(s)

Environment

Subject


About template rules

Template rules enable you to set up relationships between templates in a policy. For example, you can use template rules to determine which job should be processed first if a start time conflict exists, or to determine which job should start when another job starts, ends, or fails.

When you set a template rule, you must select the rule you want to use and the templates to which the rule will be applied. Backup Exec displays different rules depending on the types of templates that exist in the policy. For example, if a policy contains a duplicate backup template, Backup Exec displays rules for duplicating backup sets. If Backup Exec automatically adds a template rule to a template, you should not delete that rule.

See Setting template rules.

The following template rules are available:

Table: Template Rules

Rule

Description

If start times conflict, <Template A> supersedes <Template B>.

Ensures that if two templates in the same policy have the same start time, <Template A> will run first, and <Template B> will run according to the schedule set for it, after the <Template A> job completes. For example, you set a weekly backup to run every Saturday at 5:00 p.m. and a daily backup to run every day at 5:00 p.m. On Saturday, both the weekly backup and the daily backup are scheduled to run at 5:00 p.m. If you set the weekly backup as <Template A> and the daily backup as <Template B>, the weekly backup will run at 5:00 p.m. on Saturday. The daily backup will not run on Saturday, but it will run on Sunday at 5:00 p.m., according to its schedule.

If start times conflict, <Template A> will start and upon completion, starts <Template B>.

Ensures that if two templates in the same policy have the same start time, <Template A> will start first. After <Template A> completes, <Template B> will start automatically.

After <Template A> starts, also start <Template B>.

Allows you to run two jobs simultaneously.

After <Template A> completes, start <Template B>.

Starts a job automatically after a selected job completes. The second job will start regardless of whether the first job completes successfully. For example, if the first job fails, the second job will run.

If <Template A> successfully completes, start <Template B>.

Starts a job automatically after a selected job successfully completes. The second job will not start if the first job fails.

If <Template A> fails, start <Template B>.

Starts a new job automatically if a selected job fails.

<Template A> must complete at least once before any other templates will be allowed to start.

Ensures that you complete a baseline backup job before any other synthetic backups begin. This rule is used when baseline backups are needed, such as with synthetic backup templates. If you set the baseline backup template as the <Template A> in this rule, you can ensure that no other synthetic backup jobs will run until the baseline backup completes.

Run <Template A> only once.

Ensures that if you set up a baseline backup, it needs to run only once. This rule applies to synthetic backups.

Duplicate all backup sets that were created by <Template A> using <Template B> as scheduled.

Displays only if the policy contains a duplicate backup template and the template has a schedule associated with it. The rule applies to the duplicate backup template. Backup Exec automatically adds this rule to the policy if you set the schedule for the template to Run now and run according to rules for this template or Run according to schedule and run according to rules for this template. With this rule, you can set up the data duplication job to run outside of the backup window.

After <Template A> completes, start <Template B> to duplicate the backup set.

Applies to a duplicate backup template and displays only if the policy contains a duplicate backup template. After you create a duplicate backup template, Backup Exec automatically adds this rule to the policy if you set the schedule for the template to Run only according to rules for this template. Backup Exec replaces <Template A> with the template that you selected as the source for the duplicate backup template, and replaces <Template B> with the duplicate template you created. With this rule, it is likely that the duplication job will run during the backup window. If you do not want to run the duplication during the backup window, use the Duplicate all backup sets that were created by <Template A> using <Template B> as scheduled rule.

After <Template A> completes, start <Template B> to export media.

Applies to export media templates and displays only if the policy contains an export media template. After you create an export media template, Backup Exec automatically adds this rule to the policy. Backup Exec replaces <Template A> with the template that you selected as the source for the export media template, and replaces <Template B> with the export media template you created.


Legacy ID



v19469077_be2010_adm


Article URL http://www.symantec.com/docs/HOWTO22931


Terms of use for this information are found in Legal Notices