How To Back Up MySQL Databases Without Interrupting MySQL | Linux Today

How To Back Up MySQL Databases Without Interrupting MySQL

Written By
FT
Falko Timme
May 15, 2007

[ Thanks to Falko
Timme
for this link. ]

“This article describes how you can back up MySQL databases
without interrupting the MySQL service. Normally, when you want to
create a MySQL backup, you either have to stop MySQL or issue a
read lock on your MySQL tables in order to get a correct backup; if
you don’t do it this way, you can end up with an inconsistent
backup. To get consistent backups without interrupting MySQL, I use
a little trick: I replicate my MySQL database to a second MySQL
server, and on the second MySQL server I use a cron job that
creates regular backups of the replicated database…”


Complete Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.