› MySQL 5.5 Community Server
› MySQL 5.6 Community Server
› Percona Configuration Wizard
› XtraBackup 搭建主从复制
Great Sites on MySQL
› Percona
› MySQL Performance Blog
› Severalnines
推荐管理工具
› Sequel Pro
› phpMyAdmin
推荐书目
› MySQL Cookbook
MySQL 相关项目
› MariaDB
› Drizzle
参考文档
› http://mysql-python.sourceforge.net/MySQLdb.html
ffeefly
V2EX  ›  MySQL

对于 mysql 备份 binlog 或者是 xtrabackup 备份文件,怎么基于时间点获取备份可恢复的库、表?

  •  
  •   ffeefly · Sep 23, 2020 · 2783 views
    This topic created in 2193 days ago, the information mentioned may be changed or developed.
    新人求带
    7 replies  •  2020-09-24 11:10:12 +08:00
    pmispig
        1
    pmispig  
       Sep 23, 2020
    首先你要有一个全量备份,然后再基于 binlog 一直应用到某个时间点就好了
    ffeefly
        2
    ffeefly  
    OP
       Sep 23, 2020
    现在想做一个基于时间点的单库单表恢复,有点无从下手
    ffeefly
        3
    ffeefly  
    OP
       Sep 23, 2020
    @pmispig 这个只能全量恢复,做不到单表的时间点恢复
    ben1024
        4
    ben1024  
       Sep 23, 2020
    全量备份是在运行一段时间,如果期初的阶段全量为零亦可,
    binlog 可以指定表和时间范围,
    解析 binlog 就看自己采用的工具了
    singerll
        5
    singerll  
       Sep 23, 2020 via Android
    有个 mysql 的闪回方案,具体没用过,看出参考下
    ffeefly
        6
    ffeefly  
    OP
       Sep 24, 2020
    @ben1024 多谢老哥提点,我研究研究
    ffeefly
        7
    ffeefly  
    OP
       Sep 24, 2020
    @singerll 多谢提点,再看美团提供的闪回工具
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2658 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 09:05 · PVG 17:05 · LAX 02:05 · JFK 05:05
    ♥ Do have faith in what you're doing.