whereabouts
V2EX  ›  问与答

Win 下的 MongoDB 数据库文件夹直接拷贝到 Linux 下用会有什么问题吗

  •  
  •   whereabouts · Sep 21, 2018 · 1667 views
    This topic created in 2808 days ago, the information mentioned may be changed or developed.
    开发机是 Windows 的,生产服务器是 Linux,因故本次需要迁移的 MongoDB 的数据库都存在 Windows 的开发机上面了。不知道直接文件夹拷贝这样的迁移方式后续会不会有什么问题,数据库 1TB 左右。
    2 replies    2018-09-21 17:27:02 +08:00
    1747479654
        1
    1747479654  
       Sep 21, 2018
    直接导出来啊,找个 Studio 3T for MongoDB 可以多数据库在线复制,转移时候比较方便.
    springmarker
        2
    springmarker  
       Sep 21, 2018 via Android
    Mongodump 命令
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   876 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:26 · PVG 06:26 · LAX 15:26 · JFK 18:26
    ♥ Do have faith in what you're doing.