Commit Graph

155 Commits

Author SHA1 Message Date
mirocow ead3f36fa8 Update backup.sh 2015-12-14 13:28:23 +04:00
mirocow 8a478eb411 Update backup.sh 2015-12-14 13:25:31 +04:00
mirocow f2011dc85a Update backup.sh 2015-12-14 13:23:55 +04:00
mirocow 84f978e61e Update backup.sh 2015-12-14 13:22:27 +04:00
mirocow a4a86199cf Update backup.sh
add chmod && chown commands
2015-12-14 13:20:01 +04:00
mirocow 0b52962577 Update README.md 2015-10-08 03:12:00 +03:00
mirocow bf32098972 Update README.md 2015-10-08 03:09:48 +03:00
mirocow cb334ef6f2 Update backup.sh 2015-10-07 16:40:30 +04:00
mirocow 4812068986 Update backup.sh 2015-10-07 16:39:41 +04:00
mirocow 1e00862ac0 Update backup.sh 2015-10-07 16:32:43 +04:00
mirocow f9e7d22df5 Update backup.sh 2015-10-07 16:29:02 +04:00
mirocow 17a0d2aeee Update backup.sh
add exclude tables
2015-10-07 16:26:27 +04:00
mirocow 6c35e458c1 Update backup.sh 2015-10-07 16:05:45 +04:00
mirocow c5ca85ff3e Update backup.sh 2015-10-07 16:05:00 +04:00
mirocow ea20cf199d Update backup.sh 2015-10-07 16:03:50 +04:00
mirocow 6018645562 Update backup.sh 2015-10-07 15:59:51 +04:00
mirocow 727b5706b6 Update backup.sh 2015-10-07 15:58:53 +04:00
mirocow f6e3e2256b Update backup.sh 2015-10-07 15:56:34 +04:00
mirocow 2df24b40fe Update backup.sh 2015-10-07 13:57:58 +04:00
mirocow 8095c2ce9e Extented functions
Add many options such

Options:
   -e= | --exclude=                     Exclude databases
   -c= | --compress=                    Compress with gzip or bzip2
   -v  | --verbose                      Add verbose into output
   -l  | --lifetime=                    Lifetime for dump files
   --config                             Config file of Debian format
   --dir                                Backup directory
   -h  | --help                         This text

Example:
        backup.sh --verbose --compress=
        backup.sh --verbose --compress=zgip
        backup.sh --verbose --compress=bzip2
        backup.sh --verbose --compress= --exclude="mysql"
        backup.sh --verbose --compress= --exclude="mysql" --lifetime="3 day ago"
        backup.sh --verbose --config="/etc/mysql/debian.cnf" --exclude="mysql" --lifetime="1 day ago"
        backup.sh --verbose --dir="/var/backups/mysql" --config="/etc/mysql/debian.cnf" --exclude="mysql" --lifetime="1 day ago"
        backup.sh --verbose --dir="/home/backups/mysql" --exclude="mysql" --lifetime="1 day ago"
2015-10-07 13:54:07 +04:00
mirocow 733592b339 =Add usage default descriptions 2015-10-06 11:37:26 -04:00
mirocow 0d79392955 =Add usage default descriptions 2015-10-06 11:34:37 -04:00
mirocow 73e86ddf01 =Add switch compress engine or disabled it 2015-10-06 11:12:51 -04:00
root ae351ae3ed =Fixed long params 2015-10-06 10:54:47 -04:00
mirocow 71b85a7413 Update backup.sh 2015-10-06 15:27:31 +04:00
mirocow 96d2aa720a Update backup.sh 2015-10-06 15:16:41 +04:00
mirocow fcd576742c Update backup.sh 2015-10-06 15:16:22 +04:00
root 1d7fce8bc1 =Add additional long params 2015-10-06 07:09:38 -04:00
mirocow c2e87acc5b fix MySQL import csv file ERROR 13 (HY000): Can't get stat of /path/file.csv (Errcode: 2) 2015-08-04 19:10:43 +04:00
mirocow f4b3fc8bce Update restore_db.sh 2015-08-04 19:08:35 +04:00
mirocow f6e44ddd73 fix MySQL import csv file ERROR 13 (HY000): Can't get stat of /path/file.csv (Errcode: 2)
fix such http://dba.stackexchange.com/questions/55960/mysql-import-csv-file-error-13-hy000-cant-get-stat-of-path-file-csv-errcod
2015-08-04 19:06:40 +04:00
mirocow 884f6e9c76 Update restore_db.sh 2015-08-04 18:58:40 +04:00
mirocow c2e3bf0d4a Update backup.sh 2015-06-20 05:40:37 +03:00
Mirocow 3cbf44e7f7 Update README.md 2015-05-12 19:06:02 +04:00
Mirocow 80e08c33e0 Rename restore_table.sh to restore_db.sh 2015-05-12 19:05:30 +04:00
Mirocow fb3f982184 Update README.md 2014-08-12 01:53:33 +04:00
Mirocow 2ed63fb76c Update README.md 2014-08-12 01:51:51 +04:00
Mirocow b1239ebfc3 Update README.md
upgrade cron descriptions
2014-08-12 01:50:59 +04:00
Mirocow 8f247f88b6 Update README.md 2014-05-27 13:30:16 +04:00
Mirocow 86d0ea7076 Update backup.sh 2014-05-27 13:29:03 +04:00
Mirocow 3b7b584876 Create .gitignore 2014-05-27 13:27:50 +04:00
Mirocow 7dd188f6a4 Update debian.cnf 2014-05-27 13:24:11 +04:00
Mirocow 95c8ffec35 Create debian.cnf 2014-05-27 11:55:40 +04:00
Mirocow 68cba63223 Update README.md 2014-05-23 12:35:42 +04:00
Mirocow 6474de59f4 Update README.md 2014-05-23 12:33:45 +04:00
Mirocow c3ff1e2554 Update README.md 2014-05-23 12:32:45 +04:00
Mirocow 60e672995b Update README.md 2014-04-21 16:50:26 +04:00
Mirocow c84c5e1392 Update README.md 2014-04-21 16:48:26 +04:00
Mirocow 93af490aad Update README.md 2014-04-21 16:44:31 +04:00
Mirocow 3bb245248d Update README.md 2014-04-21 16:16:04 +04:00