Skip to content

rneiva/mariadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This script is to manage backup for MariaDB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages