Tag

database backup

0 views collected around this technical thread.

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
Efficient Ops
Efficient Ops
Jan 14, 2025 · Operations

What Ops Professionals Learn from Real-World Incident Stories

This article compiles real‑world operations incidents—from accidental database deletions and faulty deployments to hidden data tampering and network device failures—highlighting how quick diagnosis, preventive maintenance, and SRE practices can mitigate impact on users, reputation, and revenue.

DevOpsOperationsSRE
0 likes · 6 min read
What Ops Professionals Learn from Real-World Incident Stories
Practical DevOps Architecture
Practical DevOps Architecture
Oct 28, 2024 · Databases

Shell Scripts for MySQL Database Backup and Master‑Master Replication

This article provides step-by-step Bash scripts for automating daily MySQL database backups, compressing tables, cleaning old archives, and configuring master‑master replication, including detailed commands for dumping databases, creating tar.gz packages, and setting up replication parameters on Linux servers.

AutomationLinuxMySQL
0 likes · 4 min read
Shell Scripts for MySQL Database Backup and Master‑Master Replication
Java Tech Enthusiast
Java Tech Enthusiast
May 3, 2024 · Databases

MySQL Data Recovery: Strategies for Handling Accidental Deletion

The article explains how to respond to accidental MySQL data deletion by analyzing loss causes, choosing recovery methods such as mysqldump backups, binary‑log point‑in‑time restores, or Percona’s InnoDB tool, provides step‑by‑step commands, and recommends preventive practices like regular backups, transactions, and strict permissions.

Data RecoveryMySQLTransaction
0 likes · 3 min read
MySQL Data Recovery: Strategies for Handling Accidental Deletion
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
vivo Internet Technology
vivo Internet Technology
Dec 27, 2023 · Databases

Evolution of Vivo's Database Backup and Recovery System

Vivo replaced its fragile Python‑Celery backup system on GlusterFS—characterized by two‑day MySQL backups, single‑point failures, and weak security—with a Java‑based architecture using a Redis cluster and object storage, adding automated copying, verification, point‑in‑time recovery and migration, cutting backup windows to about ten hours and achieving near‑100 % success.

Data RecoveryDistributed SystemsMongoDB
0 likes · 28 min read
Evolution of Vivo's Database Backup and Recovery System
Qunar Tech Salon
Qunar Tech Salon
Nov 20, 2023 · Databases

Design and Implementation of a High‑Performance Database Backup and Recovery System

This article presents a comprehensive analysis of the shortcomings of an existing database backup solution and details the architecture, high‑performance backup and restore mechanisms, dynamic throttling, storage abstraction, and experimental results of a newly designed, scalable backup‑recovery platform for MySQL databases.

MySQLdatabase backupdynamic throttling
0 likes · 33 min read
Design and Implementation of a High‑Performance Database Backup and Recovery System
Python Programming Learning Circle
Python Programming Learning Circle
Jul 27, 2023 · Databases

Automating SQL Database Backups with Python

This article explains how to use Python to automatically back up SQL databases by installing required packages, establishing a connection with pyodbc, executing backup commands, recording backup details with pandas, and scheduling the script for regular execution, providing code examples for each step.

AutomationSQLdatabase backup
0 likes · 7 min read
Automating SQL Database Backups with Python
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 19, 2022 · Databases

Compiling and Installing Percona XtraBackup 8.0 on Aarch64 (Kylin v10)

This guide explains how to prepare the environment, install required dependencies and a newer GCC toolset, and then compile, build, and install Percona XtraBackup 8.0 from source on an Aarch64 Kylin v10 system, including troubleshooting tips for common issues.

Aarch64CompilationLinux
0 likes · 9 min read
Compiling and Installing Percona XtraBackup 8.0 on Aarch64 (Kylin v10)
Qunar Tech Salon
Qunar Tech Salon
Jul 1, 2022 · Databases

Easy Dump – A Shell Wrapper for Simplified PostgreSQL Backup and Restore

Easy Dump is a Bash‑based utility that streamlines PostgreSQL backups by wrapping pg_dump and pg_dumpall, offering multiple dump modes, parallel execution, table exclusion, automatic configuration generation, and detailed success or failure notifications for reliable database migration and maintenance.

AutomationEasy DumpPostgreSQL
0 likes · 68 min read
Easy Dump – A Shell Wrapper for Simplified PostgreSQL Backup and Restore
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
Java Captain
Java Captain
Oct 2, 2021 · Databases

MySQL Binlog Data Recovery After Accidental Bulk Deletion: Case Study and Best Practices

This article recounts a real-world incident where a client mistakenly imported 60,000 rows of erroneous Excel data into a MySQL production database, leading to an accidental bulk delete, and explains how the team used MySQL binlog to recover the lost data while offering practical safeguards to prevent similar disasters.

Data RecoveryMySQLSQL
0 likes · 17 min read
MySQL Binlog Data Recovery After Accidental Bulk Deletion: Case Study 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
vivo Internet Technology
vivo Internet Technology
Oct 14, 2020 · Databases

MySQL Clone Plugin – Installation, Usage, Progress Monitoring, Implementation Details, Limitations, and Comparison with XtraBackup

The MySQL Clone Plugin, added in 8.0.17, enables fast local or remote cloning of InnoDB data by installing the plugin, issuing CLONE commands, monitoring progress via performance_schema tables, and using the resulting GTID or binlog coordinates to build replicas, while observing limitations such as DDL restrictions and single‑instance operation, and offering advantages over XtraBackup through an extra page‑copy stage and simplified GTID handling.

Clone PluginInnoDBMySQL
0 likes · 22 min read
MySQL Clone Plugin – Installation, Usage, Progress Monitoring, Implementation Details, Limitations, and Comparison with XtraBackup
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 4, 2019 · Databases

Using MySQL Multi‑Source Replication to Aggregate Data from Multiple Servers

The article explains how MySQL multi‑source replication can be employed to back up, horizontally or vertically partition, and merge data from several servers into a single target database, illustrating three typical scenarios and providing example SQL for data consolidation.

Multi-Source ReplicationMySQLdata aggregation
0 likes · 5 min read
Using MySQL Multi‑Source Replication to Aggregate Data from Multiple Servers
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 26, 2019 · Databases

Controlling mysqldump Insert Batch Size with --net-buffer-length to Avoid Large Transactions

This article explains how mysqldump’s --net-buffer-length option can be used to split INSERT statements into manageable batches, defines large transactions, shows performance testing with different buffer sizes, and concludes that the default settings already avoid large transactions and provide acceptable import performance.

MySQLPerformance Testingdatabase backup
0 likes · 8 min read
Controlling mysqldump Insert Batch Size with --net-buffer-length to Avoid Large Transactions
37 Interactive Technology Team
37 Interactive Technology Team
Jun 20, 2019 · Databases

From Data Deletion to No Runaway – Building a Reliable Database Backup Platform

After costly data‑deletion mishaps, 37 Interactive Entertainment engineered a robust, multi‑region backup platform that evolved from simple cron scripts to streaming xtrabackup with Celery‑driven task queues, encrypted HDFS/S3 storage, automated rotation and restore verification, ensuring reliable protection against high‑impact data loss.

Backup ArchitectureCeleryData Recovery
0 likes · 7 min read
From Data Deletion to No Runaway – Building a Reliable Database Backup Platform
macrozheng
macrozheng
May 29, 2019 · Databases

Master Database Backup & Structure Sync with Navicat: Step‑by‑Step Guide

This tutorial explains how to use Navicat to back up a test database, delete and restore product data, and synchronize schema changes between test and production databases, providing detailed step‑by‑step instructions with screenshots.

NavicatSQLStructure Sync
0 likes · 5 min read
Master Database Backup & Structure Sync with Navicat: Step‑by‑Step Guide
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Feb 2, 2017 · Databases

Mastering Database Backup: Strategies, Retention, and Rapid Recovery

This article explains a comprehensive database backup workflow—including daily full backups with xtrabackup, real‑time binlog incremental backups, multi‑level retention policies, automated failure detection, disaster‑recovery across multiple data centers, and fast table‑level restoration—to help prevent prolonged outages.

Data Recoverybackup retentionbinlog
0 likes · 6 min read
Mastering Database Backup: Strategies, Retention, and Rapid Recovery
Efficient Ops
Efficient Ops
Jan 18, 2017 · Databases

What the Hearthstone Database Rollback Reveals About MySQL Backup Best Practices

This article examines the Hearthstone database rollback incident, highlighting the timeline, power‑related hardware failures, backup shortcomings, and offers concrete MySQL backup and server‑monitoring recommendations to prevent similar data loss in game operations.

Data RecoveryMySQLOperations
0 likes · 5 min read
What the Hearthstone Database Rollback Reveals About MySQL Backup Best Practices