How to correctly set up Volumes on Zeabur for data persistence? #96
|
Hi, I have moved some of my bots to Zeabur but I don't understand how to set up volumes for the bots so that the data survives random container restarts. I tried doing it, but it's not working. |
Answered by
AgustinSRG
Jan 29, 2026
Replies: 1 comment 1 reply
|
The bot stores information in the following folders (Note: they are relative to the bot folder):
So you should create volumes for these 3 folders, so they are not wiped on restart. Also, if you are using the Docker image, the folders are the following: |
1 reply
Answer selected by
TurboRx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The bot stores information in the following folders (Note: they are relative to the bot folder):
./config- Stores configuration (the most important one)./data- Stores data like the Pokedex, the leaderboards, etc../logs- Stores logsSo you should create volumes for these 3 folders, so they are not wiped on restart.
Also, if you are using the Docker image, the folders are the following:
/bot/config,/bot/dataand/bot/logs.