Commit Graph

  • 396638b4e2 Added error code explanations for borg variable errors Asif Bacchus 2018-10-14 06:17:35 -0600
  • 5c98f73134 Check borg variables from definition file and export if ok Asif Bacchus 2018-10-14 06:13:16 -0600
  • 6205b9fb72 Unset borg environment variables at script invocation Asif Bacchus 2018-10-14 05:48:34 -0600
  • 5429cecd0a Setup borg configuration mapping to variables and export them as needed Asif Bacchus 2018-10-05 16:27:04 -0600
  • 6df528712f Updated ignored files Asif Bacchus 2018-10-03 17:44:13 -0600
  • b38f6fa11c Setup borgDetails and set default value Asif Bacchus 2018-10-03 17:41:57 -0600
  • 165327e542 Dump sql db to temp directory Asif Bacchus 2018-10-03 16:28:35 -0600
  • 31f10f3df3 Removed debugging lines Asif Bacchus 2018-10-03 16:04:18 -0600
  • 3db1773e65 Updated sqlDetails check to use checkExist Asif Bacchus 2018-10-03 16:04:05 -0600
  • 75bd10e6c0 Changed checkExist ff to check for actual file instead of file/dir Asif Bacchus 2018-10-03 15:58:40 -0600
  • 3b72240d8c Added sqlDetails parameter check Asif Bacchus 2018-10-03 15:57:30 -0600
  • 48d06eaa58 Separated if statements for prerequisite checks Asif Bacchus 2018-10-03 15:38:35 -0600
  • 9661209194 Set default value for sqlDetails Asif Bacchus 2018-10-03 15:36:18 -0600
  • b3e9b4a0da Added sqlDetails variable Asif Bacchus 2018-10-03 15:34:44 -0600
  • 92fab88c0b Updated ignored files Asif Bacchus 2018-10-03 15:31:25 -0600
  • 1a70bafdd8 Added ncMaint sections with info messages. Changed ncMaint fcn to condense code. Asif Bacchus 2018-10-03 15:01:10 -0600
  • a4c8432882 Added temp debugging exit message for graceful exits Asif Bacchus 2018-10-03 15:00:18 -0600
  • 85b5c15672 Updated ncRoot checks Asif Bacchus 2018-10-03 14:04:18 -0600
  • c1c02132af Add webUser checks Asif Bacchus 2018-10-03 13:57:02 -0600
  • 3f0b8a0d30 Reactivated ncRoot parameter checking Asif Bacchus 2018-10-03 13:37:15 -0600
  • b7a04a9422 quoted webuser variable in ncMain fcn to prevent globbing Asif Bacchus 2018-10-03 12:59:06 -0600
  • ed77963bd0 Fixed -5 parameter section to re-derrive err503File from supplied path. Asif Bacchus 2018-10-02 00:22:48 -0600
  • ff834d98a4 Debugged 503 section and fixed typos in warnings. Asif Bacchus 2018-10-02 00:18:00 -0600
  • 325805ef37 Added check variable to determine if 503 cleanup required Asif Bacchus 2018-10-02 00:07:32 -0600
  • b3d1b3ea65 Updated 503 copy section to use err503Path Asif Bacchus 2018-10-01 23:59:26 -0600
  • d0d3cf8da1 Changed parameter -5 to path, derrive err503File Asif Bacchus 2018-10-01 23:57:57 -0600
  • bb0c5b2f66 Updated cleanup function to conform with check for webroot vs err503File Asif Bacchus 2018-10-01 23:33:57 -0600
  • 1172defe7e Changed parameter check to allow for none provided or starting with '-' Asif Bacchus 2018-10-01 23:26:04 -0600
  • fee66eb2cd Set default err503File variable to 503.html in scriptPath Asif Bacchus 2018-10-01 23:23:06 -0600
  • bea22ce4c9 Changed 503 warning codes Asif Bacchus 2018-10-01 23:19:11 -0600
  • fc0a7c056c Rewrote 503 copy to webroot and verify section. Asif Bacchus 2018-10-01 23:10:20 -0600
  • 0e2fa901f1 New branch: 503 section now based on webroot not err503File existance. Finished check for webroot. Asif Bacchus 2018-10-01 23:02:52 -0600
  • d8ed05ae08 Strip any trailing slashes from webroot input Asif Bacchus 2018-09-30 22:22:48 -0600
  • 0802b00a59 Tested 503 section. Cleaned up info and error messages. Asif Bacchus 2018-09-30 22:19:09 -0600
  • 239d2c60fb Removed testing env files from main git Asif Bacchus 2018-09-30 22:04:21 -0600
  • 2e1a3d7bde Updated formatting and changed op colour Asif Bacchus 2018-09-30 21:54:27 -0600
  • caf2f6feb0 Formatting: Start tag Asif Bacchus 2018-09-30 21:49:15 -0600
  • b0218ea8a4 Formatting: updated warn503 Asif Bacchus 2018-09-30 21:48:15 -0600
  • a6fcaf6012 Changed parameter titles Asif Bacchus 2018-09-30 21:38:54 -0600
  • 2281510135 Removed ambiguity between webroot and ncRoot Asif Bacchus 2018-09-30 21:38:04 -0600
  • 5064736e90 Added ncRoot references Asif Bacchus 2018-09-30 21:35:43 -0600
  • ec70de618c Updated formatting tags to descriptive names Asif Bacchus 2018-09-30 21:32:26 -0600
  • 91b53f1c35 Add prerequisite parameter check section Asif Bacchus 2018-09-30 20:24:24 -0600
  • 1a59c9e7d8 Changed warn503 formatting Asif Bacchus 2018-09-30 20:15:12 -0600
  • 04feb2644f Added parameter check so lack of '-' triggers help screen also Asif Bacchus 2018-09-30 20:13:11 -0600
  • 43f97e6fa0 Removed default 503 setting Asif Bacchus 2018-09-30 20:08:45 -0600
  • 364b233354 renamed included 503 file for ease of reference Asif Bacchus 2018-09-30 20:07:00 -0600
  • bd22db85df Set default params and cleaned up comments for the same Asif Bacchus 2018-09-30 20:06:25 -0600
  • 3733942596 Reactivated call to help screen on missing parameters Asif Bacchus 2018-09-30 20:02:22 -0600
  • 370d9d34a7 Added cleanup skip 503 if null Asif Bacchus 2018-09-30 20:00:39 -0600
  • 1d8909dbe0 Formatting: start of script coloured magenta in log Asif Bacchus 2018-09-30 19:52:16 -0600
  • 5c0695a3e6 If no root permissions, exit and display error on console, no logging. Asif Bacchus 2018-09-30 19:49:56 -0600
  • 9831eb2454 Deleted unnecessary file Asif Bacchus 2018-09-30 19:46:20 -0600
  • f1b4f69029 Removed all intra-script warning logging. Let 'quit' handle it. Asif Bacchus 2018-09-30 19:40:17 -0600
  • ddf9544239 Quit: Changed warnings and errors to single-line for cleaner filtering. Asif Bacchus 2018-09-30 19:37:26 -0600
  • 6ec2444891 Formatting: replaced cyan with lightcyan Asif Bacchus 2018-09-30 19:30:22 -0600
  • 008a941674 Formatting: replaced bold yellow with lightyellow Asif Bacchus 2018-09-30 19:29:02 -0600
  • 59ef92155f Tested and debugged cleanup Asif Bacchus 2018-09-20 00:46:10 -0600
  • 44a67156a3 Changed 503 file name variable Asif Bacchus 2018-09-20 00:22:40 -0600
  • 169219bd91 Added cleanup function Asif Bacchus 2018-09-20 00:19:59 -0600
  • a4894e39f2 Added ncMaint function Asif Bacchus 2018-09-20 00:04:10 -0600
  • a7e410970d Added NC maint error code 100 Asif Bacchus 2018-09-19 23:53:10 -0600
  • 1e57ea1d15 Added NC maint section Asif Bacchus 2018-09-19 23:50:33 -0600
  • 9dbc610c24 Tested and debugged 503 section Asif Bacchus 2018-09-19 23:43:12 -0600
  • f5b707d67d updated gitignore Asif Bacchus 2018-09-19 23:37:13 -0600
  • 99f69d5b9b Updated checkExist function to remove extraneous notifications Asif Bacchus 2018-09-19 23:35:27 -0600
  • bc90ed3cd3 Updated warn503 formatting Asif Bacchus 2018-09-19 23:32:54 -0600
  • 83a342fc58 Updated formatting for yellow and light yellow Asif Bacchus 2018-09-19 23:31:41 -0600
  • 4260f62f9e Fixed listing of warning codes in quit function Asif Bacchus 2018-09-19 23:28:21 -0600
  • 26b687f92b Added call to quit function at end of script Asif Bacchus 2018-09-19 23:23:44 -0600
  • ebb56aa098 Added warning report section to quit function Asif Bacchus 2018-09-19 23:22:57 -0600
  • 83442bc6fb Removed normal and verbose logging. Replaced verbose warnings in 503 section with codes. Asif Bacchus 2018-09-19 23:09:00 -0600
  • 5ff7a43870 Removed manadatory parameter check -- no mandatory parameters (yet?) Asif Bacchus 2018-09-19 22:58:44 -0600
  • 0349e1e0c9 Added expanded 503 error warning to normal and verbose logs Asif Bacchus 2018-09-19 22:54:53 -0600
  • b170e44525 deleted log file Asif Bacchus 2018-09-19 22:52:23 -0600
  • 1395f0d2ef ignore log files Asif Bacchus 2018-09-19 22:48:54 -0600
  • b0cfd1c1e7 Updated variable name from 503Location to location503 Asif Bacchus 2018-09-19 22:48:00 -0600
  • afe0440020 Cleaned up 503 section by using warningExplain array Asif Bacchus 2018-09-19 22:43:27 -0600
  • aad6b7876f Added warning explanation variables Asif Bacchus 2018-09-19 22:24:24 -0600
  • 9841631734 Added webroot parameter and variable Asif Bacchus 2018-09-19 22:14:19 -0600
  • 45c5560bd9 Added 503 copy section Asif Bacchus 2018-09-19 22:13:19 -0600
  • 90772f07a9 Added 503 error page check Asif Bacchus 2018-09-19 21:53:34 -0600
  • 01b33933a8 Added warning counter variable for exit notification Asif Bacchus 2018-09-19 21:48:18 -0600
  • 87ab180b06 Updated comment explaining scriptHelp exit code Asif Bacchus 2018-09-19 17:11:48 -0600
  • a00e6ee364 Updated formatting of checkExist output Asif Bacchus 2018-09-19 17:11:11 -0600
  • 98e901eb11 Generate sqlDumpFile name Asif Bacchus 2018-09-19 17:08:52 -0600
  • 0316a01975 changed unused logFile vars to /dev/null to avoid 'ambiguous redirect' Asif Bacchus 2018-09-19 17:02:10 -0600
  • 92672acc7d Create temp dir for SQLdump Asif Bacchus 2018-09-19 17:01:02 -0600
  • de327e663b Check for mandatory sqlDumpDir parameter Asif Bacchus 2018-09-19 16:50:32 -0600
  • 5d33f5877e Created checkExist function for files and directories Asif Bacchus 2018-09-19 16:45:37 -0600
  • 8d50f424c6 export logFile variable Asif Bacchus 2018-09-19 16:31:52 -0600
  • fd3c7df9a9 Setup logging verbosity Asif Bacchus 2018-09-19 16:30:18 -0600
  • 82496e238a Changed root check failure to logged exit with code 2 Asif Bacchus 2018-09-19 16:09:27 -0600
  • af70cb2e2f Added root check and updated exit codes Asif Bacchus 2018-09-19 16:04:59 -0600
  • 8914c7e64a Log script operations start Asif Bacchus 2018-09-19 16:00:38 -0600
  • 74a514feb8 Removed scriptHelp error code exit and removed error code 1 Asif Bacchus 2018-09-19 15:57:06 -0600
  • 3581fd3bb5 Added error code 1 Asif Bacchus 2018-09-19 15:51:38 -0600
  • dee81f261e Redirect quit messages to logFile Asif Bacchus 2018-09-19 15:50:50 -0600
  • 51b550195c scriptHelp exits by passing error code if provided Asif Bacchus 2018-09-19 15:49:45 -0600
  • dadb83cff8 Exit with error code on parameter errors Asif Bacchus 2018-09-19 15:48:53 -0600