MySQL Hotbackups with XtraBackup | Linux Today

MySQL Hotbackups with XtraBackup

Written By
Web Webster
Web Webster
Nov 16, 2010

“Relational Databases typically have a lot in common in terms of
backups. They have different names for things, but they boil down
to the same thing.

“First, you have logical backups. These are also known by the
name database dumps, or exports. What are they? When you perform a
logical backup, the database engine digs through your database, to
create all the statements required to build it again. Think of it
as the instructions to build the building, not the building itself.
Like an architect’s drawing. These instructions can be fed into the
database engine at a later time, to rebuild everything from
scratch. Inside a logical backup, you’ll find statements like
CREATE DATABASE, CREATE TABLE, CREATE VIEW, INSERT, and so on.

“Next, we have cold backups. These are created by first shutting
down the database and stopping all the software that mounts the
physical files. When it is not running, your database sits in
datafiles on the filesystem. A cold backup is then made by making
copies of all of these files, then tar & compressing them in
the backup directory. Therefore, to restore from a cold backup,
unlike a logical backup, no rebuilding needs to happen, and no SQL
statements need to run. You simple need to configure your database
software to point to the restored files, and start it up!”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

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.