Automic VaultAutomic Vault

brew

Install automysqlbackup with Homebrew, apt, Nix

Automate MySQL backups. Version 3.0-rc6 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install automysqlbackup

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install automysqlbackup

Debian stable package indexes · automysqlbackup · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#automysqlbackup

nixpkgs package indexes · pkgs/by-name/au/automysqlbackup/package.nix · source: api.github.com

overview

Package summary

Automate MySQL backups

Commands and aliases

  • automysqlbackup

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: orange

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

Risk classifier

orange risk · medium confidence · infrastructure

Why

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

Signals

  • metadata:service
  • text:backup,sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/automysqlbackup/automysqlbackup.conf/etc/automysqlbackup/myserver.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/automysqlbackup/automysqlbackup.conf/etc/automysqlbackup/myserver.conf

executables

Installed executables

CommandKindExposureNote
automysqlbackupcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.0-rc6
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://sourceforge.net/projects/automysqlbackup/

install metadata

Package metadata

Package keybrew:automysqlbackup
Version3.0-rc6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/automysqlbackup
Homepagehttps://sourceforge.net/projects/automysqlbackup/
Repositoryhttps://github.com/mattanja/automysqlbackup
Upstream docshttps://github.com/mattanja/automysqlbackup#readme
LicenseGPL-2.0-or-later
Source archivehttps://downloads.sourceforge.net/project/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%203.0/automysqlbackup-v3.0_rc6.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsYou will have to edit $HOMEBREW_PREFIX/etc/automysqlbackup/automysqlbackup.conf to set AutoMySQLBackup up to find your database and backup directory. The included service will run AutoMySQLBackup every day at 04:00.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameautomysqlbackup
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

automysqlbackup 2.6+debian.4-4

daily, weekly and monthly backup for your MySQL database

http://sourceforge.net/projects/automysqlbackup/

sudo apt install automysqlbackup
  • Section: admin
  • Architecture: all
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Automysqlbackup
Debian stable package indexes · deb.debian.org · Debian stable package indexes: automysqlbackup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

automysqlbackup

nix profile install nixpkgs#automysqlbackup
  • normalized package name match
  • Matched by: Automysqlbackup
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/au/automysqlbackup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

automysqlbackup 2.6+debian.4-4

daily, weekly and monthly backup for your MySQL database

http://sourceforge.net/projects/automysqlbackup/

sudo apt install automysqlbackup
  • Section: universe/admin
  • Architecture: all
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Automysqlbackup
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: automysqlbackup from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment