How to take a backup of single table in MySQL or MairaDB by using mysqldump

preview_player
Показать описание
How to take a backup of single table in MySQL or MairaDB by using mysqldump

Often as DBAs have to run delete, update or insert statements on a table, it is always good idea to take the backup of a table before running any DML statements. Below syntax can be used to take the backup of a table in Mysql or MairaDB. mysqldump will create the file which will have drop table, create table and then insert statements for each line. If your table is huge, it can take long time to take the backup and also restore can be lengthy process.

link to scripts used in the video
Рекомендации по теме