{% extends "base.html" %} {% from "_macros.html" import help %} {% block title %}Clone {{ job.name }} — BackupWatch{% endblock %} {% block content %} ← {{ job.name }}

Clone job

A new job pre-filled from {{ job.name }}. Change the details below — name, client, schedule and match rules — then create it. Nothing is changed on the original.

{% if err %}{% endif %}
Advanced — interval window
{# Run-on days sit outside the interval block: missed detection applies them to daily schedules too, so a weekday-only or weekly daily job has to be configurable here. #}
Run on

Applies to daily and interval schedules. Leave every day unticked to expect a backup every day; tick days for a weekday-only or weekly job.

{% for val, lbl in day_labels %}{% endfor %}
{% if schedule_timezone %}

Schedule times are read in {{ schedule_timezone }} — the same timezone the missed-backup check uses.

{% endif %}

Match rules {{ help("Copied from the source job so you can adjust them for the new one — e.g. change a subject value from one client's task name to another's. The original AND / OR grouping is carried across unchanged: AND rules must all match, and rules in the same OR group stay one condition that any of its members satisfies. Clear a row's value to drop that rule. Add more rules on the job page after creating.") }}

The original AND / OR groups are preserved — each row keeps the way it combined on {{ job.name }}, so cloning does not quietly flatten an OR group into extra AND conditions. The chip on each row shows how that rule combines.

{# Each row's learned/or_group travels with it in hidden inputs, positionally aligned with the rule_field / rule_operator / rule_value / rule_case lists. They are always submitted, even when the value is cleared to drop the rule, so the server can zip all six lists row-for-row before discarding blank rows. #} {% for r in job.rules %}
{% if r.learned %}OR · any matches{% elif r.or_group %}OR group {{ r.or_group }}{% else %}AND{% endif %}
{% endfor %}
AND

New jobs start observing: they record matching reports and show failures, but send no alerts and raise no missed backups until you activate them in Onboarding.

Cancel
{% include "_sched_toggle.html" %} {% endblock %}