Commit graph

53 commits

Author SHA1 Message Date
Mirocow ee7c575e57 =Add split file for fast restore db; fixed path; check scripts on macos 2016-01-22 14:52:56 +03:00
mirocow a0b772cc9c Update backup.sh 2015-12-24 18:30:35 +04:00
mirocow dd2a1b341d Update backup.sh 2015-12-24 18:02:16 +04:00
mirocow b74f33fb52 add check if debian os 2015-12-24 17:30:01 +04:00
mirocow cb498298b8 Update backup.sh 2015-12-24 16:11:38 +04:00
mirocow 37a09e9350 Update backup.sh 2015-12-24 16:07:42 +04:00
mirocow 1f97f5db7e Update backup.sh 2015-12-24 15:54:59 +04:00
mirocow 8f46f814ed Update backup.sh 2015-12-24 15:41:11 +04:00
mirocow efe163a783 Update backup.sh 2015-12-24 15:25:04 +04:00
mirocow 4d4fc1a66b add check shell 2015-12-24 15:17:35 +04:00
mirocow 2c98f9ad79 Update backup.sh 2015-12-24 15:10:45 +04:00
mirocow 427c725e45 Update backup.sh 2015-12-24 14:42:04 +04:00
mirocow 2044e320af Update backup.sh
fixed params
2015-12-14 19:04:04 +04:00
mirocow e2eda7e50f Update backup.sh
add mysqldump flags
2015-12-14 19:00:58 +04:00
mirocow c2cb0f8cea Update backup.sh
fixed path to error log file
2015-12-14 17:37:44 +04:00
mirocow c7a1974134 Update backup.sh
mysqldump params fixed
2015-12-14 17:35:33 +04:00
mirocow 169441219c Update backup.sh
add nodata filter --exclude-data-tables (fixed)
2015-12-14 17:22:47 +04:00
mirocow 04a842a39a Update backup.sh
split file attributes and directory attributes
2015-12-14 14:54:22 +04:00
mirocow 73162b0471 Update backup.sh
replace configuration variables into the top
2015-12-14 14:51:01 +04:00
mirocow 4cd8cfd110 Update backup.sh 2015-12-14 14:49:42 +04:00
mirocow 0fa72501bf Update backup.sh
+ add flag exclude data tables
+ add chmod and chown operation with sql dump and compresed files
2015-12-14 14:48:35 +04:00
mirocow 8e0a123074 Update backup.sh 2015-12-14 14:46:27 +04:00
mirocow eeea0fdcba Update backup.sh 2015-12-14 14:45:26 +04:00
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 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 c2e3bf0d4a Update backup.sh 2015-06-20 05:40:37 +03:00