forked from kahst/BirdNET-Lite
-
-
Notifications
You must be signed in to change notification settings - Fork 140
Backup and Restore the Database
Patrick McGuire edited this page Apr 8, 2022
·
11 revisions
Detection data is stored in an SQLite database called 'birds.db
in the 'scripts
' directory. At any time, you can download a copy (create a backup) of the database using the "Tools" > "File Manager" tool.
To download the database to your laptop, PC, smartphone, or tablet:
- Go to "Tools"
- "File Manager"
- Click the '
scripts
' directory - Select the database
- And finally, choose to download the database using the buttons to the right
Unfortunately, there is a bug in the "File Manager" that does not properly upload files. The current solution is to either use the command line (Linux and macOS users) or WinSCP (Windows users).
To restore a database from a backed-up birds.db
database:
scp /$HOME/Downloads/birds.db [email protected]:/home/pi/BirdNET-Pi/scripts/birds.db
Windows Users (sorry, no screenshots yet -- I don't have access to a Windows machine. If you do, and are willing to provide screenshots, please let me know and I will be grateful to add them here for other users.
- Download WinSCP.
- Connect to the BirdNET-Pi
- Move the backed-up
birds.db
file so that it replaces thebirds.db
file on the BirdNET-Pi in/home/pi/BirdNET-Pi/scripts/birds.db
.