Nachtzuster / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 5, 4B 3B+ 0W2 and more. Built on the TFLite version of BirdNET.
https://birdnetpi.com
Other
133 stars 20 forks source link

Backup #119

Open Nachtzuster opened 3 months ago

lloydbayley commented 3 months ago

Just tested this. Seemed to work well, however, on restore, the birds.db has the wrong permissions. Should be 666 but restored as 644. Found this by trying to delete a recording after restoring. Gave a read only error. Manually changed to 666 and things worked again. I'm pulling an all-nighter to try to fix my sleeping patterns so I won't attempt any difficult code fixes just now!

lloydbayley commented 3 months ago

Ok. Adding a -p to the restore tar command seems to fix it! Although, with lack of sleep, I may not be able to be trusted!

alexbelgium commented 3 months ago

Looks a really nice feature, thanks !