Skip to content

Instantly share code, notes, and snippets.

View ccarstens's full-sized avatar
🏠
Working from home

Cornelius Carstens ccarstens

🏠
Working from home
  • Berlin, Germany
View GitHub Profile
@ccarstens
ccarstens / Readme.md
Last active July 21, 2022 09:49 — forked from grahampugh/mysqldump_cron.sh
Script for macOS to create daily, weekly and monthly mysqldumps and delete old ones

MySQL Backup for macOS

This shell script creates daily backups of all MySQL databases on macOS. Currently the script uses [email protected], installed by homebrew.

  • Daily backups are kept for a week.
  • Weekly backups are kept for a month.
  • Monthly backups are kept for a year.

Setup