-
-
Notifications
You must be signed in to change notification settings - Fork 37
Notes Backup with Google Drive
This plugin allows you to backup bible notes to your Google Drive account or restores bible notes from Google Drive.
Bible book, chapter and verse notes are stored in file "note.sqlite", located in folder "marvelData".
The plugins describing here backup the file "note.qilite" to user's Google Drive account, where it can be used for restoration at any time.
Obviously, this feature requires internet connection.
Open "Set Config Flags" window from menu.
Check the item "enablePlugins"
You can access these plugins through the main menu.
It is only visible after you turn on "enablePlugsins" mentioned above.
In case you want to automate notes restoration from google drive each time UBA starts up,
you can simply copy (copy, not move) the file "UniqueBible/plugins/menu/Notes from Google Drive.py" to "UniqueBible/plugins/startup/".
In case you want to automate notes backup to google drive each time UBA shuts down,
you can simply copy (copy, not move) the file "UniqueBible/plugins/menu/Notes to Google Drive.py" to "UniqueBible/plugins/shutdown/".
The file "note.sqlite" saved in your Google Drive account is downloaded back to UBA.
To offer an extra backup, UBA saves a copy of an the current notes as "note.sqlite_backup" before it is replaced by the google drive file being downloaded. In case the restored notes are not what you want, you can go back to an earlier version simply by deleting the restored notes and renaming "note.sqlite_backup" back to "note.sqlite".
Before you can use this plugin, you need to set up once.
Go to: https://developers.google.com/drive/api/v3/quickstart/python
Select "Enable the Drive API"
Select "Next"
Select "Desktop app" and "Create"
Select "Download Client Configurations
Locate the file "credentials.json" from your Download folder and move it to UniqueBible root directory.
Choose your google account
Select "Advanced"
(Do not worry! Our app do NOT collect any of your information.)
(Remarks: You credentials is stored locally on your device. It is used only for communicating with google-drive.)
(UBA does NOT collect your data.)
Select "Go to ..."
Select "Allow"
Select "Allow"