feat: support restore from backup file

This commit is contained in:
ttionya
2020-11-08 13:43:47 +08:00
parent 0b6cb8f16e
commit 1710c92e73
3 changed files with 147 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@ DATA_DB="${DATA_DIR}/db.sqlite3"
DATA_CONFIG="${DATA_DIR}/config.json"
DATA_ATTACHMENTS="${DATA_DIR}/attachments"
BACKUP_DIR="/bitwarden/backup/"
RESTORE_DIR="/bitwarden/restore/"
#################### Function ####################
########################################
# Print colorful message.