{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}
{% trans_default_domain 'Admin.Advparameters.Feature' %}

{% block backup_warning %}
  <div class="alert alert-warning" role="alert">
    <h4>{{ 'Disclaimer before creating a new backup'|trans({}, 'Admin.Advparameters.Notification') }}</h4>
    <ol>
      <li>{{ 'PrestaShop is not responsible for your database, its backups and/or recovery.'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'PrestaShop is open-source software. You are using it at your own risk under the license agreement.'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'You should back up your data on a regular basis (both files and database).'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'This function only backs up your database, not your files.'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'By default, your existing database tables will be dropped during the backup recovery (see "Backup options" below).'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'Always verify the quality and integrity of your backup files!'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'Always verify that your backup files are complete, up-to-date and valid, even if you had a success message appear during the backup process.'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'Always check your data.'|trans({}, 'Admin.Advparameters.Notification') }}</li>
      <li>{{ 'Never restore a backup on a live site.'|trans({}, 'Admin.Advparameters.Notification') }}</li>
    </ol>

    {{ include('@PrestaShop/Admin/Configure/AdvancedParameters/Backup/Blocks/backup_form.html.twig') }}
  </div>
{% endblock %}
