Warn that the SQLite backup feature doesn't produce a complete backup

Also add a link to the wiki page on backups.
This commit is contained in:
Jeremy Lin 2021-04-09 22:30:39 -07:00
parent b268c3dd1c
commit 244bad3a24
1 changed files with 5 additions and 1 deletions

View File

@ -116,7 +116,11 @@
data-target="#g_database">Backup Database</button></div>
<div id="g_database" class="card-body collapse" data-parent="#config-form">
<div class="small mb-3">
NOTE: A local installation of sqlite3 is required for this section to work.
WARNING: This function only creates a backup copy of the SQLite database.
This does not include any configuration or file attachment data that may
also be needed to fully restore a bitwarden_rs instance. For details on
how to perform complete backups, refer to the wiki page on
<a href="https://github.com/dani-garcia/bitwarden_rs/wiki/Backing-up-your-vault">backups</a>.
</div>
<button type="button" class="btn btn-primary" onclick="backupDatabase();">Backup Database</button>
</div>