{% for b in backups %} {% for s in servers %} {% if b.server in s.2 %} {% endif %} {% endfor %} {% endfor %}
Servers Remote server Remote folder Backup type Period time Credentials Description
{% set id = 'backup-server-' + b.id|string() %} {{ copy_to_clipboard(id=id, value=b.server) }} {{ input('backup-rserver-'+b.id|string(), value=b.rhost, size='14') }} {{ input('backup-rpath-'+b.id|string(), value=b.rpath) }} {% set values = {'backup':'backup','synchronization':'synchronization'} %} {{ select('backup-type-'+b.id|string(), values=values, selected=b.backup_type, required='required', class='force_close') }} {% set values = {'hourly':'hourly','daily':'daily','weekly':'weekly', 'monthly':'monthly'} %} {{ select('backup-time-'+b.id|string(), values=values, selected=b.time, required='required', class='force_close') }} {% if b.description is not none %} {{ input('backup-description-'+b.id|string(), value=b.description) }} {% else %} {{ input('backup-description-'+b.id|string()) }} {% endif %}

+ Add backup

You can read the description of all parameters here