superrichman
V2EX  ›  问与答

大家是如何处理文件同步和备份的?

  •  
  •   superrichman · Dec 10, 2019 · 2648 views
    This topic created in 2388 days ago, the information mentioned may be changed or developed.
    最近发现了 vnote 这个神器, 但是官方没有提供数据同步的功能。我目前尝试了两种解决方案。

    1.自建 gitea, 每次修改完再手动 commit + push, 有点麻烦。有时候在 A 电脑改了东西忘记 push, 跑到 b 电脑上 pull 才发现刚才没 push, 又得跑回 a 去 push。但是好处是误删文件在 git 里马上能发现或者可以直接从 commit 里拿出来。

    2.自建文件同步服务, 定时同步文件到服务器上, 用起来不用管同步, 但是万一碰到误删文件又刚好同步完了或者同步服务意外抽风导致文件同步丢失数据就惨了。我在网上看到过一些像 nextcloud, resilio 等同步工具,都出现过同步出问题数据被删的例子。

    我下一步准备在客户端用定时同步到服务器, 然后服务器建一个定时任务来把同步的文件自动 commit 到本地的 gitea 上。

    不知道大家是怎么处理文件同步和备份的?
    7 replies    2019-12-11 09:37:01 +08:00
    Leonard
        1
    Leonard  
       Dec 10, 2019
    iCloud Drive
    superrichman
        2
    superrichman  
    OP
       Dec 10, 2019 via iPhone
    @Leonard 我自己的体验来看 icloud 同步比较慢。三大系统我都有在用,而 icloud 在 linux 上似乎没有办法同步。还有我之前在 icloud 上丢过文件,不太敢放重要数据上去了。
    TabGre
        3
    TabGre  
       Dec 10, 2019 via iPhone
    dropbox
    TrembleBeforeMe
        4
    TrembleBeforeMe  
       Dec 10, 2019
    坚果云
    liygfg
        5
    liygfg  
       Dec 10, 2019
    OneDrive
    Vanquish5419
        6
    Vanquish5419  
       Dec 10, 2019 via iPhone
    自建 Seafile,增量同步,我 300 多 G 的文件用了两年没出过什么问题
    JRay
        7
    JRay  
       Dec 11, 2019
    NAS
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5623 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 142ms · UTC 02:37 · PVG 10:37 · LAX 19:37 · JFK 22:37
    ♥ Do have faith in what you're doing.