Late 2024 alternate install walkthrough #307
farski
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Thank you, this was very helpful! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is great and I'm close but I'm sorry I have a newbie question... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In case this is helpful for anyone, I just rebuilt my birdnet box. I had been running birdnet-go for a while, but using the binaries, and on a Pi that had previously been running BirdNET-Pi. I started over, using Docker from the beginning. This is on a Pi 4B. I did things a bit differently than the standard install docs.
These instructions assume some basic Linux and Docker knowledge. I know not everyone installing birdnet-go does computers for a living, so if anything needs to be expanded, please ask – I'm happy to explain.
~/birdnet-go/data
and~/birdnet-go/config
~/birdnet-go/compose.yml
filedocker compose up -d
. Because of therestart
directive incompose.yml
, Docker Compose should keep birdnet-go running, even in the event of a crash or something like that.15 0 * * * cp /home/birdnet/birdnet-go/data/birdnet.db /home/birdnet/birdnet-go/data/birdnet.bak.db && AWS_ACCESS_KEY_ID=tktktk AWS_SECRET_ACCESS_KEY="tktktk" AWS_DEFAULT_REGION=tktk aws s3 cp /home/birdnet/birdnet-go/data/birdnet.bak.db s3://my-backup-bucket/daily/birdnet.bak.db
. You'd need the AWS CLI (I usedsudo apt install awscli
even though that's not what AWS recommends). You'll need to sort out creating a bucket in AWS and setting up the key/secret if you wanted to do this. Or you could do something similar with many other file hosting services, rsycn, sftp, etc. The only tricky bit in here is thataws s3
does an MD5 check to ensure the upload is valid, and the database file may change during the upload. So first this copies the DB to a backup file and pushes that to S3.Beta Was this translation helpful? Give feedback.
All reactions