Update README.md

This commit is contained in:
Naum Soloveychik
2020-01-10 22:11:14 +03:00
parent cd2c4b3f64
commit c577ad832f

View File

@@ -3,6 +3,11 @@
MySQL backup shell script MySQL backup shell script
Feature rich MySQL / MariaDB backup script. Feature rich MySQL / MariaDB backup script.
## Installation
- `git clone https://github.com/1sept/mysql_backup.git`
- set database `user` and `password` in `.my.cnf` located in user homedir.
## Usage ## Usage
**Usage:** `mysql_backup.sh -d /var/backup -n daily [-c 10 -s -a -e test@domain.org]` **Usage:** `mysql_backup.sh -d /var/backup -n daily [-c 10 -s -a -e test@domain.org]`
@@ -22,10 +27,6 @@ compress dump by gzip
- **-q, --quiet** - **-q, --quiet**
- **-h, --help** - **-h, --help**
## Setup database password
Set database `user` and `password` to user that execute script using `.my.cnf` in user homedir.
## .my.cnf example ## .my.cnf example
``` ```