D
D
Dima Kim2016-02-10 13:49:49
MySQL
Dima Kim, 2016-02-10 13:49:49

Is it possible to make a backup of the mysql database if there are records?

Good afternoon, I want to dump the database, but due to the huge size, the operation will take a long time so that new records are not lost, I wanted to know if it is possible to dump the database without stopping the write daemon to the database?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Peter, 2016-02-10
@petermzg

What does "records were not lost" mean? If the write happened a minute after the dump was completed, are these lost writes or not?
Just make a backup of the database and there will be all the records at a certain point in time.

D
Dimonchik, 2016-02-10
@dimonchik2013

Master - Slave do not use?

O
Oleg, 2016-02-10
@ollisso

If the entire database is in InnoDB - Then it is possible, via the command line:
mysqldump --single-transaction ...
Via phpmyadmin - I'm not sure.

V
vovik0134, 2016-02-18
@vovik0134

What you are talking about is called a hot backup. Perhaps it is worth looking towards the solution https://www.percona.com/software/mysql-database/pe...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question