Replibyte —— 数据库同步与数据植入工具
Replibyte 是一个速度极快的工具,可以在你的数据库中植入生产数据,同时保证敏感数据的安全。 用法 创建转储 replibyte -c conf.yaml dump create 列出所有转储 replibyte -c conf.yaml dump list type name size when compressed encrypted PostgreSQL dump-1647706359405 154MB Yesterday at 03:00 am true true PostgreSQL dump-1647731334517 152MB 2 days ago at 03:00 am true true PostgreSQL dump-1647734369306 149MB 3 days ago at 03:00 am true true 在本地容器中恢复最新的转储 replibyte -c conf.yaml dump restore local -v latest -i postgres -p 5432 恢复远程数据库中的最新转储 replibyte -c conf.yaml dump restore remote -v latest 先决条件 macOS / Linux / Windows 功能介绍 支持 PostgreSQL、MySQL 和 MongoDB 的数据转储和恢复 用假数据替换敏感数据 适用于大型数据库(>10GB) 数据库子集,缩小生产数据库到一个更合理的大小 在一个命令中启动一个带有 prod 数据的本地数据库 动态数据(解)压缩(Zlib) 实时数据解密/加密(AES-256) 完全无状态(无服务器,无守护程序)和轻量级二进制 使用自定义转换器