Anda di halaman 1dari 21

Radically Simple Backup & Recovery for

Live MySQL

Chander Kant
CEO
Zmanda
www.zmanda.com

MySQL Partner of the


Year !
Zmanda : Open Source Backup
Customer Facing Data (CFD)

• As important as CRM and Financial Data


– For many companies loss of CFD implies
catastrophe
– Lost revenues, lost customers and lost
reputation
• Today’s Data Protection Challenge

• Break neck rate of change

• MySQL is the database of choice for CFD

• Metadata is very vital as well

Zmanda : Open Source Backup


Backup: Most important task for a
MySQL DBA

• There is no quicker way to


get fired
than to lose business data

• Backup & recovery – the


first step to
data protection

Zmanda : Open Source Backup


“Oops!”

“I am the one who


“I forgot to add a wrote the backup script
“where” clause so I went to grab the
and emptied the backup for yesterday.
“Hi, I lost MySQL Yup, you know it. There
entire thing!”
server and I wasn’t one. The backup
didn’t do stopped working back
backups. What on July 3rd! Ouch.”
can I do?”
“… the server on which
my blog is being hosted “Does the backup
was being changed and through MySQL
for some reason during Administrator have
the importing the to be saved in a
MySQL databases certain way to allow
disappeared ” migration to a new
box?”

“Lesson learned – always backup regularly!”


Zmanda : Open Source Backup
Top considerations for a MySQL backup
solution
• Performance
– Impact of the Backup Window
– How fast your restore needs to be? (RTO)
– How precise your restore needs to be? (RPO)
• Scale Up
– 10GB -> 100GB -> 1TB -> ??
– Organic growth Longer retention
• Scale Out
– Wiki, Forums, Web registration database, Sugar,
Alfresco, …..
– Multiple locations
• Security
– Aren’t you backing up your crown jewels?

Zmanda : Open Source Backup


Backup needs to match MySQL’s
flexibility

• Today & Future


– MyISAM, InnoDB, Falcon …

• Replication
– Slave pauses replication -> Backup on slave ->
Resume replication

• MySQL Cluster

• Restores should hide all the complexity

Zmanda : Open Source Backup


Our design philosophy

"Any darn fool can make something complex;


it takes a genius to make something simple.“
- Albert Einstein

Zmanda : Open Source Backup


As easy as: What, Where, When and
How

Zmanda : Open Source Backup


Anytime. Anywhere.

Zmanda : Open Source Backup


Zmanda Recovery Manager (ZRM) for
MySQL
ZRM for MySQL Cluster

ZRM local to MySQL ZRM remote to MySQL

ZRM for MySQL ZRM for MySQL


ZRM for MySQL

`
`
Data Node NDB
Data Node
Storage
Backup of Engine
MySQL database MySQL database Consolidated
database
Backup of
clustered database
Data Node Data Node

• Recover database easily to any point-in-time © Zmanda, Inc.

• Centralized global backup management


• Schedule full and incremental, logical or raw, backups of MySQL database
• Perform backup that is the best match for the specific MySQL configuration
• Blazing fast snapshot-based backup
• Reporting and Monitoring
• Continuous Data Protection (CDP) for MySQL
http://www.mysql.com/zrm
Zmanda : Open Source Backup
Remote storage grid as a destination for
backups

• Keep copy of data off-site yet


online with storage grid, e.g.
Storage Grid
Amazon S3

Backup of DB
• Pay for only what you use encrypted and
(bandwidth and disk capacity) compressed
Managed
Hosting
Provider
© Zmanda, Inc.

• Backup data is always


available, anytime, anywhere
“We think users should seriously consider
• You can have the risk profile of adopting such hybrid [backup & online
storage] approaches to provide layered,
Amazon
efficient data protection.” - John Webster,
Analyst, Illuminata

Zmanda : Open Source Backup


Infrastructure for scalability

Scenario:
• 100+GB of database growing into Terabytes
• 24x7 application (i.e. no backup window)
• Active OLTP workload
• Need ability to restore to specific database event

Solution:
• Storage Snapshot + MySQL Logs
+ Automated Point-and-Click Restore

Zmanda : Open Source Backup


• Solaris 10 x86
• ZFS Snapshot
• MySQL Enterprise 5.0
• ZRM 2.1
• Raw copy speed 500
GB/hr

• Solaris 10 x86
• MySQL Enterprise 5.0
• ZFS Snapshots
• ZRM 2.1
• Raw copy speed 500
GB/hr

Zmanda : Open Source Backup


Snapshots – key considerations

• Snapshots scale extremely well as database size

grows

• Need to be used carefully to ensure data consistency

• Need to be integrated with log-based incremental

backups

Zmanda : Open Source Backup


Storage Snapshots

• ZFS

• NetApp

• VxFS

• LVM (Linux)

• VSS (Windows)

Zmanda : Open Source Backup


Recovery: Radically Simple. Precise.

1
Click !

2
Restored !

Zmanda : Open Source Backup


Zmanda: Open Source Backup

• Amanda: Most vibrant Open Source Backup


community
• More than 500,000 deployments
• Open Formats + Open Standards + Open Source
– Locking up your backup data in proprietary
formats comes with a *huge* cost and pain
• Zmanda Recovery Manager for MySQL extends
our leadership in open source backup to the most
popular open source database in the world

Zmanda: Radically Simple Backup for Customer Facing


Data

Zmanda : Open Source Backup


Protected By Zmanda

Manufacturing & Services Federal & Government

Web and Media


Research & Education

Telecom and ISV

Zmanda : Open Source Backup


Amazon Mechanical Turk: Protected by
Zmanda

• mturk.com

• On-demand scalable 24x7


workforce
 
• Zmanda Recovery Manager
provides backup for more than
a dozen fleets of MySQL
Servers
 
• Backs up data to Amazon S3!

Zmanda : Open Source Backup


Snapshot Camera Raffle

Zmanda : Open Source Backup


Date with
Amanda!

Zmanda : Open Source Backup

Anda mungkin juga menyukai