Bash script to daily backup all your database in gzip with weekly history.
- mysqlbackup.sh
- Table of Contents
- Prerequisites
- Install
- Usage
- Example
- Contributing
- Credits
- About Padosoft
- License
bash
This package can be installed easy.
cd /root/myscript
git clone https://github.com/padosoft/mysqlbackup.sh.git
cd mysqlbackup.sh
chmod +x mysqlbackup.sh
If you want to set your value and override default var values create a mysqlbackup.config file by coping the given template mysqlbackup.config.template, open in your favorite editor and make changes:
cp /root/myscript/mysqlbackup.sh/mysqlbackup.config.template /root/myscript/mysqlbackup.sh/mysqlbackup.config
nano /root/myscript/mysqlbackup.sh/mysqlbackup.config
If you want to run programmatically, add it to cronjobs manually or execute install script:
cd /root/myscript/mysqlbackup.sh
chmod +x install.sh
bash install.sh
bash mysqlbackup.sh
bash mysqlbackup.sh
For help:
bash mysqlbackup.sh
Please see CONTRIBUTING and CONDUCT for details.
Padosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites.
The MIT License (MIT). Please see License File for more information.