| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 Asif Bacchus | f9298f6fb8 | updated create sqlDumpDir section | 2018-09-07 04:59:24 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 0b4923fd79 | Removed 'done' message after directory creation since not confirmed. | 2018-09-07 04:52:27 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 5beb643819 | fixed variable typo | 2018-09-07 04:39:49 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 3783c7db19 | Updated sqlDumpDir section to use updated checkExist | 2018-09-07 04:39:11 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 626c6736b1 | checkExist: removed 'verify' command, redundant to 'find' | 2018-09-07 04:33:59 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 14490061c3 | checkExist: file not found: updated code to 5 and changed occurances | 2018-09-07 04:25:05 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | dc95edf22c | checkExist: error: removed forced exit, log error instead | 2018-09-07 04:24:00 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 2ada11039a | added cleanup before exiting in checkExist | 2018-09-07 04:17:09 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 1a3cfcb729 | Added warning list to error exit sections | 2018-09-07 04:14:12 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 7d3a59222e | Added error handling to NC maint call section | 2018-09-07 04:01:54 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 2a950b28c6 | Created cleanup function for 503 and sqlDump | 2018-09-07 03:57:46 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 1a59dcf2b6 | Removed mention of code 105 in top comments. | 2018-09-07 03:44:50 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | bcf5d079a1 | Updated functions to provide code 200 for un-coded circumstances | 2018-09-07 03:44:03 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 85ace3d5fd | Replaced enter NC maint section with function call | 2018-09-07 03:40:45 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | d4340201fe | Added ncMaint function to enter/exit NC maint mode | 2018-09-07 03:33:56 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | a308700086 | Added exitError array for deferred exit. Critical errors, but still had to cleanup. | 2018-09-07 03:23:16 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 9154e4c76e | Changed warning exit code | 2018-09-07 03:18:36 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | f9de2c8398 | Updated top comments with exit codes | 2018-09-07 02:57:16 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | f792f69b6a | Added exitWarning flags for borg return codes | 2018-09-07 02:49:48 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | edd4cfb984 | corrected calls to checkExist from 503 and sqlDump removal sections | 2018-09-07 02:32:51 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 6ebbb262d5 | Changed script exit to list all warnings in array variable (code 100) | 2018-09-07 02:23:02 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 10f58c4c0a | removed 'logFileQuiet' since it's un-needed. Writes to that logfile are writes to all files. | 2018-09-07 02:09:06 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 45071d8ddf | remove sqlDump section: Use new checkExist 'file not found' code | 2018-09-07 02:00:00 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | d518a56027 | 503 removal section: use new checkExist 'file not found' code | 2018-09-07 01:57:14 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 20435c4e76 | checkExist: added return code 3 for 'file not found'. | 2018-09-07 01:53:17 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | 65c34ba1d2 | checkExist: removed 'noFind' | 2018-09-07 01:40:17 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | daf22676e5 | checkExist: removed 'noFind' section. Redundant with 'find' | 2018-09-07 01:37:32 -06:00 |  | 
			
				
					| 
							
							
								 Asif Bacchus | fc786fdba7 | checkFind: added provisions for: checking for deleted file
unknown error with code 105 | 2018-09-07 01:23:33 -06:00 |  |