Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.64 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.64 KB

MariaDB - Backup

This script was created by Raul Neiva - Powered by Devvos TI.

NPM Version Build Status Downloads Stats

MariaDB Logo

This script is to manage backup for MariaDB and keeping old backups.

Installation

su root
git clone https://github.com/rneiva/mariadb.git
mkdir -p /home/bkp-folder

Note: If you will use the script mariadb-backup-mail.sh with sendmail option - You will need to install and configure the SendMail.

Requirements

- MariaDB 10.4 or latest;

How to use?

  1. Open the mariadb-backup.sh;
  2. Change the default variables:
-backup_root=/home/backups (root directory for all backups)
-verbose=true (true or false to enable verbose mode)
-keep=7 (number of old backups to keep)
  1. Be happy! 😊

References

License

This project is MIT licensed.