# automysqlbackup を Homebrew, apt, Nix でインストール

automysqlbackup のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:automysqlbackup
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install automysqlbackup
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install automysqlbackup
```

  証拠: Debian stable package indexes: automysqlbackup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#automysqlbackup
```

  証拠: nixpkgs package indexes: pkgs/by-name/au/automysqlbackup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:automysqlbackup
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.0-rc6
- **ソース概要:** Automate MySQL backups
- **ホームページ:** <https://sourceforge.net/projects/automysqlbackup/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- automysqlbackup (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.0-rc6
## プロジェクトの歴史と使われ方

AutoMySQLBackup is a shell-script utility for scheduled MySQL backup rotation. It is small, old-school ops software: edit a root-owned config, call the script from cron, and rotate daily, weekly, and monthly dumps.

### プロジェクトの歴史

The official GitHub README says the script was originally developed by a team on SourceForge and that the GitHub repository was created as a clone for further maintenance after the SourceForge project appeared unmaintained. GitHub metadata dates the mattanja/automysqlbackup repository to October 2012.

The README emphasizes operational responsibility and restore procedures as much as installation. That is typical for backup tooling: the script can automate mysqldump runs, but users still need offline copies, permissions, encryption choices, and tested restores.

### 採用の歴史

The batch input lists packages for Homebrew, Debian, Ubuntu, and Nix. That is modest but real adoption for a narrowly scoped backup script.

Its GitHub metadata shows a small repository with a low star/fork count compared with general developer tools, so the history should be read as practical sysadmin utility adoption rather than broad developer-culture prominence.

### 使われ方

The README documents installing to /usr/local/bin, creating /etc/automysqlbackup, copying automysqlbackup.conf to myserver.conf, then running automysqlbackup with that config path or from cron.daily.

Credentials live in the same configuration files as the backup settings: the documented defaults include CONFIG_mysql_dump_username, CONFIG_mysql_dump_password, host, socket, and encryption settings.

### パッケージ好きにとっての重要性

AutoMySQLBackup is significant as an example of a package-manager-distributed cron-era admin script. Packaging matters because users expect the executable, sample config, cron integration, and filesystem permissions to land in predictable places.

### タイムライン

- Pre-2012: Original AutoMySQLBackup project maintained on SourceForge.
- 2012: mattanja/automysqlbackup GitHub repository created as a continued-maintenance clone.
- 2020s: Package remains available in a small set of package managers for users who want a simple MySQL dump rotation script.

### Related projects

- mysqldump is the underlying MySQL dump tool commonly used by scripts like AutoMySQLBackup.
- cron is the traditional scheduler used in the README examples.
- Modern alternatives include database-native backup tooling, Percona XtraBackup, and managed-database snapshot systems.

### ソース

- <https://api.github.com/repos/mattanja/automysqlbackup>
- <https://github.com/mattanja/automysqlbackup#readme>
- source_facts.package-manager


## セキュリティノート

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/automysqlbackup/automysqlbackup.conf, /etc/automysqlbackup/myserver.conf

## Credential files

- Unix: /etc/automysqlbackup/automysqlbackup.conf, /etc/automysqlbackup/myserver.conf
## 他のパッケージマネージャ記録

- Debian apt - automysqlbackup - 2.6+debian.4-4: normalized package name match | Debian stable package indexes: automysqlbackup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | daily, weekly and monthly backup for your MySQL database | http://sourceforge.net/projects/automysqlbackup/
- Nix - automysqlbackup: normalized package name match | nixpkgs package indexes: pkgs/by-name/au/automysqlbackup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - automysqlbackup - 2.6+debian.4-4: normalized package name match | Ubuntu 24.04 LTS package indexes: automysqlbackup from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | daily, weekly and monthly backup for your MySQL database | http://sourceforge.net/projects/automysqlbackup/


## Combined YAML source

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


## ソース

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