Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过中间数据文件,支持数据备份、恢复、迁移 #138

Open
3 of 7 tasks
heqingpan opened this issue Sep 26, 2024 · 4 comments
Open
3 of 7 tasks

通过中间数据文件,支持数据备份、恢复、迁移 #138

heqingpan opened this issue Sep 26, 2024 · 4 comments

Comments

@heqingpan
Copy link
Collaborator

r-nacos运行时使用自定义的分布式文件存储,用户比较难以用程序或脚本记取、迁移、加工r-nacos中的数据。

为了支持用户更方便的管理、使用r-nacos中数据,计划通过语言无关的中间数据文件做数据载体,间接支持r-nacos系统数据和通用数据库数据双向迁移。

  1. 定义中间数据文件格式;
  2. 支持把r-nacos系统数据导出到中间数据文件;
  3. 支持把中间数据文件导入到r-nacos系统中;
  4. 支持把中间数据转化到sqlite数据库 (可能通过工具支持,待定);
  5. 支持把约定的sqlite数据库表数据转化成中间数据文件(可能通过工具支持,待定);
  6. 支持通过nacos open api接口把nacos数据(只含配置、命名空间数据)导出到中间数据文件,即r-nacos支持从nacos系统导入数据;
  7. 支持把nacos mysql数据(包含配置、命名空间、用户数据)导出为中间数据文件,即r-nacos支持从nacos 数据库导入数据(可能通过工具支持,待定);

关联issue #89

@heqingpan
Copy link
Collaborator Author

r-nacos v0.6.0 版本已发布,r-nacos侧的数据备份、恢复、迁移功能已完成。

后续与外部数据转化功能待开发支持。

@cinling
Copy link

cinling commented Oct 12, 2024

比较期待可以平滑从 nacos 转移到 rnacos 的功能

@heqingpan
Copy link
Collaborator Author

把nacos数据导出到r-nacos功能下周开始开发,快的话下周末完成,晚一些的话第二个周末应该也能完成。

@cinling
Copy link

cinling commented Oct 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants