MySQL

                 fire9@me.com
        Blog www.archnotes.net
                   Twitter fire9
bug
(
)
(   ,   )


            (       )
MySQL
&
MySQL
INNODB
                 MySQL
INNODB
Recovery Point
Objective (RPO)
                  Recovery Point
Objective (RPO)
binlog




INNODB
INNODB
lvm


INNODB
lvm
LVM

      A   A
      B   B
      C   C   B
      D   D
LVM snapshot
FLUSH TABLES
FLUSH TABLES WITH READ LOCK
Create the snapshop (lvcreate -s)
(SHOW MASTER/SLAVE STATUS)
UNLOCK TABLES
Mount ...
mysqldump
mysqlhotcopy
LVM snapshots/ZFS snapshots
InnoDB Hot Backup/Xtrabackup
ZRM for MySQL
Questions
Suggestions
   Ideas
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
MySQL Backup & Recovery
Upcoming SlideShare
Loading in …5
×

MySQL Backup & Recovery

2,110
-1

Published on

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,110
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
121
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

MySQL Backup & Recovery

  1. 1. MySQL fire9@me.com Blog www.archnotes.net Twitter fire9
  2. 2. bug
  3. 3. ( )
  4. 4. ( , ) ( ) MySQL
  5. 5. &
  6. 6. MySQL INNODB MySQL
  7. 7. INNODB
  8. 8. Recovery Point Objective (RPO) Recovery Point Objective (RPO)
  9. 9. binlog INNODB
  10. 10. INNODB
  11. 11. lvm INNODB lvm
  12. 12. LVM A A B B C C B D D
  13. 13. LVM snapshot
  14. 14. FLUSH TABLES FLUSH TABLES WITH READ LOCK Create the snapshop (lvcreate -s) (SHOW MASTER/SLAVE STATUS) UNLOCK TABLES Mount snapshot, perform backup Unmount and discard the snapshot (lvremove)
  15. 15. mysqldump mysqlhotcopy LVM snapshots/ZFS snapshots InnoDB Hot Backup/Xtrabackup ZRM for MySQL
  16. 16. Questions Suggestions Ideas
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×