Skip to content

Commit

Permalink
Merge pull request dani-garcia#1602 from jjlin/backup-warning
Browse files Browse the repository at this point in the history
Warn that the SQLite backup feature doesn't produce a complete backup
  • Loading branch information
dani-garcia authored Apr 15, 2021
2 parents b268c3d + 244bad3 commit d959915
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/static/templates/admin/settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d959915

Please sign in to comment.