{% extends "base.html" %} {% block title %}{{ t('Backups') }}{% endblock %} {% block content %}

{{ t('Backups') }}

{{ t('Each backup is one file with the whole database and every uploaded document.') }}

{{ t('Automatic daily backups: run this on the server every night (cron or Windows Task Scheduler)') }}:

python manage.py daily

{{ t('It also creates the recurring documents that are due and sends approval reminders.') }} {{ t('The newest') }} {{ keep }} {{ t('backups are kept in') }} {{ folder }}. {{ t('Copy them to another disk or cloud storage too — a backup on the same server does not protect against losing the server.') }}

{% for b in rows %} {% else %}{% endfor %}
{{ t('File') }}{{ t('Made') }}{{ t('Size') }}
{{ b.name }}{{ b.at }}{{ '%.1f'|format(b.size / 1048576) }} MB {{ t('Download') }}
{{ t('No backups yet.') }}

{{ t('Restoring a backup') }}

  1. {{ t('Stop the application.') }}
  2. {{ t('Unzip the backup.') }}
  3. {{ t('Put lubwise.db and the uploads folder back in the instance folder (keep the old ones aside).') }}
  4. {{ t('Start the application.') }}
{% endblock %}