Skip to content

[Feature] 云备份支持增量更新和查询 #241

@hfuulzy

Description

@hfuulzy

提交前确认 / Pre-submission Checklist

  • 我已查阅 官方文档,确认该功能尚未实现 / I have checked the official docs and confirmed this feature doesn't exist
  • 我已在 GitHub Issues 搜索过,没有找到相同的功能请求 / I have searched GitHub Issues and found no similar request
  • 本次请求只包含一个独立功能,不涉及多个不相关的模块 / This request contains only ONE independent feature, not multiple unrelated modules

问题描述 / Problem Description

当我想要备份或者恢复我的账单数据的时候,我发现,如果我的账单比较丰富,历史包袱比较大(比如近两三年的记账都在),这时每次记账或者每次云端同步的时候都是全量更新,会比较卡,和慢

期望的解决方案 / Desired Solution

当前云存是通过将每个账本记录为json文件,存储到云端的,所以无法避免肯定是要全量更新的
如果换一种存储方式呢?
结合大家对协同管理账本的需求呼声比较高,我觉得在完成这个功能开发的时候,全量更新的问题自然就没了
比如自建API+SQL(适合自己有公网的服务器,或者只在内网同步)
或者直接gitee建仓库,用git的方式来解决冲突(直接免费,更新时git pull,修改时git push)
或者CouchDB + PouchDB(这个是才了解到的,可能是可以复用)

替代方案 / Alternative Solutions

No response

参考示例 / Reference Examples

No response

优先级 / Priority

很重要 / Important

贡献意愿 / Contribution Willingness

  • 我愿意提交 PR 实现此功能 / I'm willing to submit a PR to implement this feature
  • 我可以帮助测试此功能 / I can help test this feature
  • 我可以提供更详细的需求说明 / I can provide more detailed requirements

补充信息 / Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions