Merge pull request #1602 from jjlin/backup-warning

Warn that the SQLite backup feature doesn't produce a complete backup
This commit is contained in:
Daniel García 2021-04-15 17:38:31 +02:00 committed by GitHub
commit d9599155ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>