Back up and Recovery #752
Replies: 2 comments 1 reply
-
If you can SSH into the Raspberry Pi then you'll be able to recover any files or recordings you want. If you can't SSH in then you can recover them from the SD card. In the future you can use rclone to backup your birds.db, you can find a tutorial online. I back mine up to my Google Drive on a weekly basis. Once you have rclone set up and configured this is the script that will actually do the backups, you'll have to change a few parameters to match your config but it should work well:
You can save that script to a file then add to your crontab to run that script however often you want. Make sure to use absolute paths in your crontab, e.g. |
Beta Was this translation helpful? Give feedback.
-
I wrote a small script for that :
To restore the database, a simple Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
One of my BirdNET-Pis has gone unreachable after an update (white screen).
I think the only thing I can do is a fresh install.
So I have general questions for when this happens.
Is it possible now I have no contact with the SSL access only to recover the database file and/or the recordings?
Looking beyond this issue what is the best approach to backing up - is there any automated way to pull the database off say every 24h?
Many thanks,
Tom
Beta Was this translation helpful? Give feedback.
All reactions