Asif Bacchus
|
90772f07a9
|
Added 503 error page check
|
2018-09-19 21:53:34 -06:00 |
|
Asif Bacchus
|
01b33933a8
|
Added warning counter variable for exit notification
|
2018-09-19 21:48:18 -06:00 |
|
Asif Bacchus
|
87ab180b06
|
Updated comment explaining scriptHelp exit code
|
2018-09-19 17:11:48 -06:00 |
|
Asif Bacchus
|
a00e6ee364
|
Updated formatting of checkExist output
|
2018-09-19 17:11:11 -06:00 |
|
Asif Bacchus
|
98e901eb11
|
Generate sqlDumpFile name
|
2018-09-19 17:08:52 -06:00 |
|
Asif Bacchus
|
0316a01975
|
changed unused logFile vars to /dev/null to avoid 'ambiguous redirect'
|
2018-09-19 17:02:10 -06:00 |
|
Asif Bacchus
|
92672acc7d
|
Create temp dir for SQLdump
|
2018-09-19 17:01:02 -06:00 |
|
Asif Bacchus
|
de327e663b
|
Check for mandatory sqlDumpDir parameter
|
2018-09-19 16:50:32 -06:00 |
|
Asif Bacchus
|
5d33f5877e
|
Created checkExist function for files and directories
|
2018-09-19 16:45:37 -06:00 |
|
Asif Bacchus
|
8d50f424c6
|
export logFile variable
|
2018-09-19 16:31:52 -06:00 |
|
Asif Bacchus
|
fd3c7df9a9
|
Setup logging verbosity
|
2018-09-19 16:30:18 -06:00 |
|
Asif Bacchus
|
82496e238a
|
Changed root check failure to logged exit with code 2
|
2018-09-19 16:09:27 -06:00 |
|
Asif Bacchus
|
af70cb2e2f
|
Added root check and updated exit codes
|
2018-09-19 16:04:59 -06:00 |
|
Asif Bacchus
|
8914c7e64a
|
Log script operations start
|
2018-09-19 16:00:38 -06:00 |
|
Asif Bacchus
|
74a514feb8
|
Removed scriptHelp error code exit and removed error code 1
|
2018-09-19 15:57:06 -06:00 |
|
Asif Bacchus
|
3581fd3bb5
|
Added error code 1
|
2018-09-19 15:51:38 -06:00 |
|
Asif Bacchus
|
dee81f261e
|
Redirect quit messages to logFile
|
2018-09-19 15:50:50 -06:00 |
|
Asif Bacchus
|
51b550195c
|
scriptHelp exits by passing error code if provided
|
2018-09-19 15:49:45 -06:00 |
|
Asif Bacchus
|
dadb83cff8
|
Exit with error code on parameter errors
|
2018-09-19 15:48:53 -06:00 |
|
Asif Bacchus
|
458a7d16e4
|
Initialize parameters
|
2018-09-19 15:45:59 -06:00 |
|
Asif Bacchus
|
71f7644175
|
Show scriptHelp if no parameters given. Redirect unknown parameters.
|
2018-09-19 15:44:32 -06:00 |
|
Asif Bacchus
|
8be32fc01d
|
Trap for unrecognized parameters
|
2018-09-19 15:41:44 -06:00 |
|
Asif Bacchus
|
9d0989f9a9
|
scriptHelp exits with code 98 and NO logging
|
2018-09-19 15:38:19 -06:00 |
|
Asif Bacchus
|
4eee202c5e
|
Added quit function
|
2018-09-19 15:36:57 -06:00 |
|
Asif Bacchus
|
dc48cb1257
|
Added scriptHelp exit code 98
|
2018-09-19 15:31:57 -06:00 |
|
Asif Bacchus
|
7b13d984d8
|
Added preset formatting as variables
|
2018-09-19 15:31:07 -06:00 |
|
Asif Bacchus
|
0127494657
|
Initial setup of backup script
|
2018-09-19 15:12:56 -06:00 |
|