# 使用 Homebrew, Nix, apt 安装 mydumper

查看 mydumper 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mydumper
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mydumper
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mydumper
```

  证据: nixpkgs package indexes: pkgs/by-name/my/mydumper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install mydumper
```

  证据: Ubuntu 24.04 LTS package indexes: mydumper from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:mydumper
- **软件包管理器:** Homebrew
- **版本:** 1.0.3-1
- **来源摘要:** MySQL logical backup tool
- **主页:** <https://github.com/mydumper/mydumper>
- **仓库:** <https://github.com/mydumper/mydumper>
- **最后更新:** 2026-06-22T14:05:34-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mydumper (别名)
- myloader (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.3-1
## 项目历史与用法

MyDumper is a community-maintained logical backup and restore toolset for MySQL-family databases. Its own documentation frames the project as a response to the limits of mysqldump: mysqldump is widely used for logical backups, but its single-threaded design makes large backups and restores slow. MyDumper split that workflow into two programs, `mydumper` for exporting consistent backups and `myloader` for importing them, with both tools built around multithreading.

### 项目历史

The project has long occupied the DBA niche between the official mysqldump client and heavier physical-backup systems. Package descriptions and project documentation emphasize separate output files for tables and metadata, consistent snapshots across worker threads, binary log position capture, compression, regex-based selection, and parallel restore. A 2015 Percona post about version 0.9.1 highlighted full schema support in MyDumper/MyLoader, reducing the need to combine MyDumper data dumps with mysqldump schema dumps.

### 使用方式

In practice, MyDumper is used for fast logical backups, restores, and migrations where SQL-level portability matters but database size makes serial dumps painful. Cloud migration guides from Microsoft describe mydumper/myloader as community tools for large Azure Database for MySQL migrations, including examples that run MyDumper near the source database, tune thread counts, split table data into chunks, compress traffic, and restore with MyLoader on the target. Homebrew, Nix, and Ubuntu package it as `mydumper`, usually exposing the two command-line programs `mydumper` and `myloader`.

### 来源

- <https://community.linuxmint.com/software/view/mydumper>
- <https://formulae.brew.sh/formula/mydumper>
- <https://github.com/mydumper/mydumper>
- <https://learn.microsoft.com/en-us/azure/mysql/migrate/concepts-migrate-mydumper-myloader>
- <https://mydumper.github.io/mydumper/docs/html/index.html>
- <https://www.percona.com/blog/logical-mysql-backup-tool-mydumper-0-9-1-now-available/>


## 安全说明

没有找到 mydumper 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - mydumper: normalized package name match | nixpkgs package indexes: pkgs/by-name/my/mydumper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mydumper - 0.10.1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mydumper from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | High-performance MySQL backup tool | https://github.com/maxbube/mydumper
- Ubuntu apt - mydumper-doc - 0.10.1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mydumper-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | High-performance MySQL backup tool - documentation | https://github.com/maxbube/mydumper


## Combined YAML source

View the package source record on GitHub. [combined/mydumper.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mydumper.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
