Database backup & restore 数据库备份与恢复

如果您能使用webui轻松地备份和恢复数据库中的所有数据,那会很有帮助,尽管这种情况并不常见。例如,您即将将数据库软件从SQLite切换到MySQL或MongoDB,您可以从互联网上找到的大多数脚本都不会很好地将形状从一个转换为另一个,因此意外地破坏了Koishi实例。

It would be helpful if you could backup & restore all the data in the database with the webui easily, although this would not be frequent. For example, you’re about to switch your database software from SQLite to MySQL or MongoDB, most scripts that you could find from the Internet would not be great to transform the shape from one to other, hence break the Koishi instance unexpectedly.

3 个赞

草 什么机翻

1 个赞

草,什么机翻
koishi果然是外国人做的!

2 个赞

我写了个koishi-plugin-dbm,可以备份数据库啦

2 个赞

哇,你是插件发布的兔子王。

不过看起来你提到的插件只提供命令,并且它要求用户手动配置桌子名。 我想要的是一个开箱即用的自动 GUI 方式来做这些事情,你能为它提供一个 UI 吗?

Wow, you are the rabbit king of the plugin publishing.

Mais it looks like the plugin that you referred to only provides commands, also it requires user to manually configure the table names. What I want is a GUI way to do the such things automatically out of the box, could you provide a UI for it too?

1 个赞

我不会做gui诶uu

2 个赞

刚才更新了,不用配置表名,自动备份所有表

2 个赞

非常好插件,爱来自小石用户

2 个赞