{% load i18n %}

{% if mode == 'edit' %}{% translate "Edit" %}{% else %}{% translate "Create" %}{% endif %} {{ scope|title }} {% translate "Backup Schedule" %}

{% if scope == 'full' %}{% translate "Schedule complete server backups and choose where they will be stored." %}{% elif scope == 'reseller' %}{% translate "Schedule backups for a reseller and its directly owned hosting accounts." %}{% elif scope == 'user' %}{% translate "Schedule backups for one hosting account and choose its storage destinations." %}{% else %}{% translate "Configure the backup frequency and storage destinations." %}{% endif %}
{% include "includes/form_alerts.html" %} {% if scope == 'reseller' %}
{% translate "Reseller backup scope" %}
{% translate "This schedule backs up the selected reseller and its directly owned accounts. It does not recursively back up sub-resellers or accounts owned by those sub-resellers." %}
{% endif %}
{% csrf_token %}
{% translate "Schedule Details" %}
{% translate "Set the schedule identity, scope, format, and execution time." %}
{% if scope == 'reseller' %}
{% if mode == 'edit' %}{% else %}{% endif %}
{% endif %} {% if scope == 'user' %}
{% if mode == 'edit' %}{% else %}{% endif %}
{% endif %}
{% translate "Uses the server's local time." %}
{% include "includes/backup_setting_switch.html" with field="status" title="Schedule enabled" description="Allow this schedule to run automatically." checked=settings.status %} {% include "includes/backup_setting_switch.html" with field="client_upload" title="Client upload" description="Allow this schedule to upload backups to storage pools configured by users or resellers." checked=settings.client_upload %}
{% translate "Recurrence and Destinations" %}
{% translate "Enable one or more frequencies and select at least one destination for each." %}
{% include "includes/backup_schedule_period.html" with period="daily" title="Daily backups" enabled=settings.daily selected=settings.daily_pools %} {% include "includes/backup_schedule_period.html" with period="weekly" title="Weekly backups" enabled=settings.weekly selected=settings.weekly_pools show_weekday=True %} {% include "includes/backup_schedule_period.html" with period="monthly" title="Monthly backups" enabled=settings.monthly selected=settings.monthly_pools show_monthday=True %}
{% translate "Cancel" %}