lorcalhost / BTB-manager-telegram

A feature packed but easy-to-use Telegram bot for remotely managing Binance Trade Bot instances
MIT License
390 stars 155 forks source link

Save database #206

Open nath67 opened 2 years ago

nath67 commented 2 years ago

Hello,

How to restore it on reboot or to save the database when running it in a container? I'm losing it when I restart the container.

A new database is made on reboot and get this error : APIError(code=-1013): Invalid quantity.

titulebolide commented 2 years ago

Hi, sorry for the late reply, i was a total noob w/ docker at the time. Docker is mainly stateless, but the docker custom script try to mitigate this. Are you using the docker script or doing this by hand? Please note that the docker method is currently unmaintained as i am still near a noob and I don't see any real advantage of using docker over virtualenv