Tag

mysqldump

1 views collected around this technical thread.

Practical DevOps Architecture
Practical DevOps Architecture
May 20, 2025 · Databases

Comprehensive Guide to Using mysqldump for MySQL Backup and Restore

This article explains what mysqldump is, describes its backup mechanism, lists command‑line options with detailed meanings, provides example commands for exporting databases or tables, and shows how to restore data using both system and source commands.

MySQLbackupcommand line
0 likes · 8 min read
Comprehensive Guide to Using mysqldump for MySQL Backup and Restore
Raymond Ops
Raymond Ops
Mar 7, 2025 · Databases

Master MySQL Backups: Commands for Single, Multiple, and All Databases

This guide explains how to use mysqldump to back up a single MySQL database, multiple databases, or all databases, includes options for specific tables, compression with gzip, adding drop statements, exporting only schema, and provides restore procedures and a sample automated backup script.

MySQLSQLdatabase backup
0 likes · 11 min read
Master MySQL Backups: Commands for Single, Multiple, and All Databases
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 8, 2024 · Databases

Introducing the mysqld-long-query-time Option in MySQL 8.0.30 mysqldump and Its Practical Usage

This article explains the new mysqld-long-query-time option added to MySQL 8.0.30's mysqldump tool, shows how to configure it, presents comparative experiments demonstrating its effect on slow‑query logs, and provides conclusions and additional notes for practical database backup scenarios.

MySQLPerformance TuningSQL
0 likes · 8 min read
Introducing the mysqld-long-query-time Option in MySQL 8.0.30 mysqldump and Its Practical Usage
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 12, 2023 · Databases

How to Import Large Volumes of Data into MySQL: Tools, Commands, and Performance Tips

This article compares various MySQL data import/export methods—including mysqldump, mydumper, SELECT OUTFILE, and MySQL Shell utilities—explaining their commands, configuration options, performance results, and best‑practice recommendations based on testing with a 10‑million‑row table.

ExportMySQLMySQL Shell
0 likes · 16 min read
How to Import Large Volumes of Data into MySQL: Tools, Commands, and Performance Tips
Laravel Tech Community
Laravel Tech Community
Sep 25, 2023 · Databases

MySQL Data Backup and Automated Backup Script with Bash and Crontab

This article explains how to use the mysqldump command to back up MySQL databases, demonstrates various backup and restore options, provides a Bash script that maintains a limited number of daily backups, and shows how to schedule the script with crontab for automated execution.

MySQLautomationbackup
0 likes · 9 min read
MySQL Data Backup and Automated Backup Script with Bash and Crontab
php中文网 Courses
php中文网 Courses
Jul 30, 2023 · Operations

How to Schedule Automatic Backups for PHP Websites on CentOS

This guide explains three practical methods—using crontab, rsync, and mysqldump—to set up scheduled backups of PHP website files and databases on a CentOS server, ensuring data protection through automated daily or periodic tasks.

CentOSLinuxPHP
0 likes · 4 min read
How to Schedule Automatic Backups for PHP Websites on CentOS
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 25, 2023 · Databases

Troubleshooting MySQL Replication Duplicate Entry Errors Caused by mysqldump on MyISAM Tables

The article analyzes a replication failure where mysqldump creates duplicate primary‑key errors on a MyISAM table, explains why the --single-transaction option only guarantees consistency for InnoDB, and provides solutions such as converting tables to InnoDB or using Xtrabackup.

InnoDBMyISAMMySQL
0 likes · 15 min read
Troubleshooting MySQL Replication Duplicate Entry Errors Caused by mysqldump on MyISAM Tables
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 9, 2023 · Databases

MySQL mysqldump Failure Caused by lower_case_table_names and Missing .frm Files: Diagnosis, Simulation, and Remedies

The article analyzes a MySQL mysqldump failure where tables appear missing due to the lower_case_table_names setting, reproduces the issue through a controlled experiment, and provides practical solutions and operational recommendations for handling case‑sensitivity during database migrations.

LinuxMySQLdatabase migration
0 likes · 7 min read
MySQL mysqldump Failure Caused by lower_case_table_names and Missing .frm Files: Diagnosis, Simulation, and Remedies
政采云技术
政采云技术
Dec 27, 2022 · Databases

Comprehensive Guide to MySQL Backup Types, Tools, and Procedures

This article provides an in‑depth overview of MySQL backup classifications—including hot, warm, and cold backups—explains physical versus logical backup methods, compares built‑in and third‑party tools such as mysqldump, mysqlhotcopy, LVM snapshots, XtraBackup, and presents step‑by‑step command examples for each approach.

Data RecoveryLVMMySQL
0 likes · 14 min read
Comprehensive Guide to MySQL Backup Types, Tools, and Procedures
Architect's Guide
Architect's Guide
Mar 2, 2022 · Databases

How to Perform Scheduled MySQL Backups Using mysqldump and Cron

This article explains various methods for scheduled MySQL backups, covering mysqldump command usage, example backup commands for whole or specific databases, a Bash script to retain a fixed number of backups, and configuring cron jobs to automate the backup and restoration processes.

Database AdministrationMySQLbackup
0 likes · 11 min read
How to Perform Scheduled MySQL Backups Using mysqldump and Cron
Qunar Tech Salon
Qunar Tech Salon
Jan 5, 2022 · Databases

Understanding MySQL Backup Tools and the Percona XtraBackup Backup Process

This article explains the importance of MySQL backups, compares common logical and physical backup tools such as mysqldump, Mydumper and Percona XtraBackup, details XtraBackup's step‑by‑step workflow, lock handling options, and provides practical Q&A for reliable database backup strategies.

InnoDBMySQLPercona XtraBackup
0 likes · 18 min read
Understanding MySQL Backup Tools and the Percona XtraBackup Backup Process
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 7, 2021 · Databases

MySQL mysqldump GTID_PURGED Bug in 5.7.36 Causes Data‑GTID Mismatch During Replication

The article investigates a bug introduced in MySQL 5.7.36 where mysqldump writes the SET @@GLOBAL.GTID_PURGED statement at the end of the dump file, causing GTID and data inconsistencies that break replication, and recommends using an older mysqldump version until the issue is fixed.

GTIDMySQLReplication
0 likes · 9 min read
MySQL mysqldump GTID_PURGED Bug in 5.7.36 Causes Data‑GTID Mismatch During Replication
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 2, 2021 · Databases

Analysis of MySQL Dump GTID Settings and Replication Issues During Database Migration

This article examines MySQL 5.7 replication issues caused by GTID settings during database migration, detailing environment setup, problem description, reproduction steps, analysis, conclusions on --set-gtid-purged usage, and practical solutions to ensure consistent in master‑slave synchronization.

GTIDMySQLReplication
0 likes · 12 min read
Analysis of MySQL Dump GTID Settings and Replication Issues During Database Migration
Top Architect
Top Architect
Dec 1, 2021 · Databases

MySQL Scheduled Backup and Restoration Using mysqldump, Bash Scripts, and Cron

This article explains how to use mysqldump for various MySQL backup scenarios, provides command‑line examples for full, structure‑only, and selective backups, shows how to restore dumps, and demonstrates a Bash script combined with crontab to automate daily backups with retention management.

MySQLautomationbackup
0 likes · 11 min read
MySQL Scheduled Backup and Restoration Using mysqldump, Bash Scripts, and Cron
Top Architect
Top Architect
Nov 8, 2021 · Databases

MySQL Scheduled Backup and Restoration Using mysqldump and Crontab

This article explains how to use the mysqldump command to back up MySQL databases, provides various command examples for full or partial backups, demonstrates a Bash script for automated daily backups with log management, and shows how to schedule these tasks using crontab.

MySQLautomationbackup
0 likes · 11 min read
MySQL Scheduled Backup and Restoration Using mysqldump and Crontab
Practical DevOps Architecture
Practical DevOps Architecture
Jan 15, 2021 · Databases

MySQL Backup and Restore Guide: Full, Partial, and Table-Level Operations

This article explains how to list MySQL databases, perform full, multiple‑database, single‑database, and table‑specific backups using mysqldump, and restore them correctly, highlighting the differences when using the --databases option and common pitfalls.

MySQLSQLbackup
0 likes · 4 min read
MySQL Backup and Restore Guide: Full, Partial, and Table-Level Operations
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 11, 2021 · Databases

Analysis and Resolution of MySQL Slave Replication Deadlock Caused by Global Read Lock

The article investigates a MySQL replication issue where a continuously rising master‑slave lag was traced to a global read lock held by mysqldump, leading to a deadlock between the SQL thread and the stop‑slave operation, and explains how killing the lock‑waiting thread restores normal replication.

MySQLPerformance SchemaReplication
0 likes · 8 min read
Analysis and Resolution of MySQL Slave Replication Deadlock Caused by Global Read Lock
Practical DevOps Architecture
Practical DevOps Architecture
Jan 6, 2021 · Databases

MySQL 8.0 Full Backup and Incremental Recovery Using mysqldump and mysqlbinlog

This article demonstrates how to perform a full backup of a MySQL 8.0 database using mysqldump, drop and recreate the database, then restore it and apply incremental recovery with mysqlbinlog by specifying start and stop positions to recover data inserted after the backup.

MySQLRecoverybackup
0 likes · 5 min read
MySQL 8.0 Full Backup and Incremental Recovery Using mysqldump and mysqlbinlog
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 21, 2020 · Databases

MySQL Backup and Recovery: Strategies, Tools, and Best Practices

This article explains the importance of MySQL backup and recovery, outlines common failure scenarios, recommends backup architectures and verification processes, reviews popular logical and physical backup tools such as mysqldump, mydumper, and xtrabackup, and shares practical case studies and best‑practice guidelines.

Database AdministrationMySQLRecovery
0 likes · 10 min read
MySQL Backup and Recovery: Strategies, Tools, and Best Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 12, 2020 · Databases

MySQL sys Schema ERROR 1356 Bug When Using mysqldump --all-databases and How to Fix It

The article investigates the MySQL 5.7 sys schema ERROR 1356 caused by mysqldump --all-databases dropping mysql.proc, explains why the bug occurs, cites official documentation and bug reports, and provides four practical solutions including mysql_upgrade, separate sys backups, using --databases, and rebuilding from mysql‑sys.

ERROR 1356MySQLbug
0 likes · 12 min read
MySQL sys Schema ERROR 1356 Bug When Using mysqldump --all-databases and How to Fix It