{% extends "layout.html" %}

{% block content %}
<div class="page-header">
    <h1>Backup & Restore</h1>
</div>

<h2>Backup Business Glossary Data</h2>
<form action="{{ url_for('main.do_backup') }}" method="post">
    <input name=_csrf_token type=hidden value="{{ csrf_token() }}">
    <p>Export the Business Glossary data can be to yaml file format.<p>
    <button type="submit" class="btn btn-default">Backup</button>
</form>

{% endblock %}

{% extends "layout.html" %}

{% block content %}
<div class="page-header">
    <h1>Backup & Restore</h1>
</div>

<h2>Backup Business Glossary Data</h2>
<form action="{{ url_for('main.do_backup') }}" method="post">
    <input name=_csrf_token type=hidden value="{{ csrf_token() }}">
    <p>Export the Business Glossary data can be to YAML file format.<p>
    <button type="submit" class="btn btn-default">Backup</button>
</form>

<h2>Restore Business Glossary Data</h2>
<p>To restore or import glossary data in the YAML format you should use the command line interface.</p>
<pre>
<code>
python manage.py load_data <path_to_yaml_file>
</code>
</pre>
{% endblock %}

Enhance backup and restore page
Enhance backup and restore page
