-
-
Notifications
You must be signed in to change notification settings - Fork 140
Backup and Restore the Database
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).Update: I found the bug and will have this fixed soon!
To restore a database from a backed-up birds.db
database:
scp /$HOME/Downloads/birds.db pi@birdnetpi.local:/home/pi/BirdNET-Pi/scripts/birds.db
(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
.