You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know everyone is saying that MySQL is better than SQLite but I do not use its options like writing queries, etc...
Because of the large number of users in my panel and multiple node statics, I'm facing some annoying issues because of my database type.
The backup file is getting big and generating a huge load of logs. Because of the limitation of telegram uploads via bot API, I cannot upload my database to the telegram for backing-up purposes.
I'm facing issues trying to restore my backup. The backup script excludes unnecessary log files from being archived. Because of the issue in restoring the database, I have to include all of the files including the mentioned log files into my custom archive to restore the database successfully. Note that the mentioned archive size is something around 1.2 GB
using much more amount of memory and space storage and being slower than SQLite
P.S. All of the problems mentioned are only specific for MySQL database type. None of them happened when my database was SQLite type
Therefore I need help to convert my database back to sqlite3 format.
The text was updated successfully, but these errors were encountered:
Hi @Ashaxer, I think you should have opened this issue on Marzban's repository. but anyway, you can enhance your MySQL performance with some modifications. like you said, the logs are unnecessary, so you can disable them. (--disable-log-bin)
For taking backup, it might be better to use mysqldump and upload the dump file to Telegram?
However, if you're eager to get back to SQLite, you still can dump mysql data and import it to SQLite. the process is somehow straightforward, and online guides are provided.
I know everyone is saying that MySQL is better than SQLite but I do not use its options like writing queries, etc...
Because of the large number of users in my panel and multiple node statics, I'm facing some annoying issues because of my database type.
P.S. All of the problems mentioned are only specific for MySQL database type. None of them happened when my database was SQLite type
Therefore I need help to convert my database back to sqlite3 format.
The text was updated successfully, but these errors were encountered: