Tag

Database Recovery

0 views collected around this technical thread.

IT Xianyu
IT Xianyu
Jun 4, 2025 · Databases

Comprehensive Guide to Automated MySQL Backup and Restore with Docker

This article provides a step‑by‑step tutorial for DBAs to design a reliable MySQL backup strategy, write a Bash automation script, schedule it with cron, and perform restoration drills using Docker containers, while covering directory planning, command checks, cleanup, and common troubleshooting.

Database RecoveryDockerMySQL
0 likes · 17 min read
Comprehensive Guide to Automated MySQL Backup and Restore with Docker
Raymond Ops
Raymond Ops
Apr 8, 2025 · Databases

How to Recover a PostgreSQL Database After Power Loss and Checkpoint Corruption

This guide explains how to diagnose and fix a PostgreSQL instance that fails to start after a power outage, covering log inspection, missing socket files, PID checks, checkpoint corruption detection, and recovery using pg_resetwal.

Checkpoint CorruptionDatabase RecoveryKubernetes
0 likes · 5 min read
How to Recover a PostgreSQL Database After Power Loss and Checkpoint Corruption
Sanyou's Java Diary
Sanyou's Java Diary
Jul 11, 2024 · Databases

Master MySQL Redo Log & Binlog: 15 Essential Interview Questions Explained

This article presents 15 classic MySQL log interview questions and provides detailed explanations of redo log, WAL, binlog, undo log, two‑phase commit, log flushing mechanisms, and recovery strategies, helping readers deepen their database knowledge and ace technical interviews.

Database RecoveryMySQLWAL
0 likes · 18 min read
Master MySQL Redo Log & Binlog: 15 Essential Interview Questions Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 10, 2023 · Databases

Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies

This article analyzes a MongoDB replication failure caused by missing oplog entries, compares logical initialization repair methods with Redis replication, and provides practical steps—including oplog size adjustment and snapshot techniques—to restore synchronization and prevent similar issues in production environments.

Database RecoveryLogical InitializationMongoDB
0 likes · 9 min read
Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 16, 2023 · Databases

Diagnosing and Resolving InnoDB Page Corruption in MySQL

This article describes how to identify, analyze, and fix InnoDB page corruption in MySQL instances, covering log inspection, querying metadata tables, using innodb_force_recovery, and the inno_space tool, with example commands and best‑practice recommendations to prevent data loss.

Database RecoveryInnoDBMySQL
0 likes · 11 min read
Diagnosing and Resolving InnoDB Page Corruption in MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 17, 2023 · Databases

Rebuilding an OceanBase Node Using the server_permanent_offline_time Parameter

This guide explains how to use the OceanBase server_permanent_offline_time parameter to permanently offline a faulty node, rebuild its data, and restore normal operation, including preparation, command steps, verification, and recommended settings for production.

Database RecoveryNode RebuildOceanBase
0 likes · 16 min read
Rebuilding an OceanBase Node Using the server_permanent_offline_time Parameter
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 30, 2023 · Databases

Greenplum Segment Failure Diagnosis and Recovery Procedures

This article explains how to simulate and diagnose segment failures in a Greenplum cluster, including identifying master, segment, and tablespace issues, generating recovery configuration files, and using gprecoverseg and gpstate commands to restore segment roles and ensure all nodes are operational.

Database RecoveryGreenplumSegment Failure
0 likes · 24 min read
Greenplum Segment Failure Diagnosis and Recovery Procedures
Wukong Talks Architecture
Wukong Talks Architecture
Aug 10, 2021 · Databases

Enterprise‑Level Redis RDB Cold Backup and Recovery Guide

This article explains why Redis RDB snapshots are ideal for enterprise cold backups, provides step‑by‑step Linux scripts and cron jobs for hourly and daily backup retention, and details the complete restoration process from saved RDB files.

Database RecoveryLinuxRDB
0 likes · 7 min read
Enterprise‑Level Redis RDB Cold Backup and Recovery Guide
Efficient Ops
Efficient Ops
Feb 26, 2020 · Operations

What the Weimeng Delete‑Database Outage Teaches About Modern Ops

After a core operations staff accidentally deleted Weimeng’s production database in February, the platform endured a multi‑day outage, prompting a transparent crisis response, extensive Tencent Cloud support, and a deep analysis of recovery challenges, operational best practices, and the broader lessons for modern DevOps teams.

Database RecoveryDevOpsOperations
0 likes · 15 min read
What the Weimeng Delete‑Database Outage Teaches About Modern Ops
Qunar Tech Salon
Qunar Tech Salon
Feb 13, 2020 · Databases

Understanding InnoDB REDO Log Recovery Process

This article explains how InnoDB uses REDO logs to recover a crashed MySQL database, detailing the steps of locating checkpoints, scanning log segments, parsing mini‑transactions, storing records in hash tables, and applying them to restore data consistency.

Database RecoveryInnoDBMini-transaction
0 likes · 23 min read
Understanding InnoDB REDO Log Recovery Process
37 Interactive Technology Team
37 Interactive Technology Team
Jun 21, 2019 · Databases

Understanding MySQL Flashback: Principles, Tools, and Pseudo GTID

MySQL Flashback leverages the ROW‑format binary log to generate inverse DML statements—turning deletes into inserts, updates into reverse updates, and inserts into deletes—while tools parse WriteRows, UpdateRows, and DeleteRows events, using injected Pseudo GTID markers to delimit change ranges and enable automated rollback despite DDL limitations.

Binlog ParsingDatabase RecoveryFlashback
0 likes · 6 min read
Understanding MySQL Flashback: Principles, Tools, and Pseudo GTID
NetEase Game Operations Platform
NetEase Game Operations Platform
May 11, 2019 · Databases

Implementing MySQL Flashback via Binlog Patch and Event Reversal

This article explains MySQL binlog’s role, surveys existing flashback implementations, and details NetEase’s custom patch that adds flashback support by parsing and reversing binlog events, including event types, code logic, and comparisons with MariaDB, Oracle, and TiDB solutions.

Database RecoveryFlashbackMySQL
0 likes · 20 min read
Implementing MySQL Flashback via Binlog Patch and Event Reversal
360 Quality & Efficiency
360 Quality & Efficiency
Jun 11, 2018 · Databases

Recovering a Crashed MySQL Server Using innodb_force_recovery and Data Export/Import

This article walks through diagnosing a MySQL crash, using innodb_force_recovery to start the server, exporting the data with mysqldump, handling charset mismatches, importing into a new instance, and restoring normal operation while offering best‑practice backup recommendations.

CharsetDatabase RecoveryMySQL
0 likes · 5 min read
Recovering a Crashed MySQL Server Using innodb_force_recovery and Data Export/Import
Tencent Database Technology
Tencent Database Technology
May 9, 2018 · Databases

Optimizing Xtrabackup Recovery Process for InnoDB Databases

Xtrabackup is an open-source hot backup tool for InnoDB and XtraDB databases, offering non-blocking backups with features like fast backup speeds, reliable physical backups, and efficient disk space usage. The recovery process involves complex log parsing and page flushing mechanisms, which can be optimized to improve performance, especially for large datasets.

Backup ToolsDatabase ManagementDatabase Recovery
0 likes · 16 min read
Optimizing Xtrabackup Recovery Process for InnoDB Databases
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Apr 13, 2017 · Databases

How to Quickly Recover a Single MySQL Table with XtraBackup

This guide explains how to use Percona XtraBackup for fast single‑table recovery in both local full‑backup and remote streaming scenarios, detailing preparation steps, command examples, and essential configuration tweaks to minimize downtime and data loss.

Database RecoveryMySQLSingle Table Restore
0 likes · 7 min read
How to Quickly Recover a Single MySQL Table with XtraBackup