From b1187363ffeee5bff683665d31ad21b39830bded Mon Sep 17 00:00:00 2001 From: Teddysun Date: Fri, 12 Aug 2016 13:56:35 +0900 Subject: [PATCH] Add backup.sh --- Readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Readme.md b/Readme.md index d5540d2..b16cabb 100644 --- a/Readme.md +++ b/Readme.md @@ -32,6 +32,26 @@ Usage: | 4 | curl -so- 86.re/bench.sh | bash | ``` +backup.sh +========= + +* You need to modify the config at first +* Backup MySQL/MariaDB all datebases & files and directories +* Backups are encrypted with AES256-cbc with SHA1 message-digest +* Auto transfer backup file to Google Drive(need install `gdrive`) + +```bash +Install gdrive step: + +For x86_64: +wget -O /usr/bin/gdrive http://dl.teddysun.com/files/gdrive-linux-x64 +chmod +x /usr/bin/gdrive + +For i386: +wget -O /usr/bin/gdrive http://dl.teddysun.com/files/gdrive-linux-386 +chmod +x /usr/bin/gdrive +``` + unixbench.sh ============