Commit Graph

117 Commits

Author SHA1 Message Date
Asif Bacchus
b8f96227cc replaced all ${stamp} with [$(stamp)] 2018-10-28 05:24:47 -06:00
Asif Bacchus
9e704bd440 removed static stamp var and replaced with dynamic function 2018-10-28 05:23:43 -06:00
Asif Bacchus
1755144a85 Added /root/.ssh/ to inclusions sample file to include SSH keys 2018-10-23 06:07:48 -06:00
Asif Bacchus
0718413d79 Changed all error indexes to include timestamp 2018-10-23 05:13:48 -06:00
Asif Bacchus
843edfff8e Changed all warning indexes to include timestamps 2018-10-23 05:09:48 -06:00
Asif Bacchus
6eaad32096 Changed exit code to 3 (unique) if exit due to not run as root 2018-10-23 05:05:08 -06:00
Asif Bacchus
f938c8ef20 Handle possible trailing slash on input of log file path 2018-10-23 05:04:05 -06:00
Asif Bacchus
e7d6ad8e31 Correct ncroot to ncRoot in OCC invocation 2018-10-23 05:02:13 -06:00
Asif Bacchus
035c7cfabb Added stamping to warning and error display in quit function 2018-10-23 04:57:30 -06:00
Asif Bacchus
65c8bf8113 Formatting change to end of script log entry 2018-10-18 00:48:57 -06:00
Asif Bacchus
a2b462c202 Added info tags for borg processes 2018-10-18 00:26:50 -06:00
Asif Bacchus
646d4976fd Corrected typo in 503 comments 2018-10-18 00:23:01 -06:00
Asif Bacchus
34bae9d580 Added logfile location info tag 2018-10-18 00:19:56 -06:00
Asif Bacchus
ff3f9f4eba Fixed error in borg config sample 2018-10-16 09:26:29 -06:00
Asif Bacchus
15d2db16bd Changed ncMaint to use sudo instead of su to allow non-interactive accts 2018-10-16 09:25:45 -06:00
Asif Bacchus
71507b1341 Updated 'note' colour to light instead of normal magenta 2018-10-16 02:37:52 -06:00
Asif Bacchus
5cde95687e Removed extraneous trailing slash removal on exported TMPDIR var 2018-10-16 02:36:46 -06:00
Asif Bacchus
0d1e85179a Removed trailing slash on base_dir variable. Type-matched clean503 var. 2018-10-16 02:33:28 -06:00
Asif Bacchus
aca45311ea Added warning for missing xtraLocations 2018-10-16 02:15:34 -06:00
Asif Bacchus
0d018e3b65 Updated exclusion processing section to only warn if errant file specified.
Logs if no file specified to begin with.
2018-10-16 02:07:47 -06:00
Asif Bacchus
2323eb435e Added logging of accepted mapped borg variables 2018-10-16 02:04:25 -06:00
Asif Bacchus
e7f5a836ec Correct error checking within tmp dir creation section 2018-10-16 02:02:04 -06:00
Asif Bacchus
fc3c793dc2 Added check/create tmp folder for borg to circumvent /tmp noexec problem 2018-10-16 01:37:44 -06:00
Asif Bacchus
15bf15269d Corrected spacing for clarity in if statement 2018-10-16 01:16:59 -06:00
Asif Bacchus
1e217bf88c Better sample prune timeframes 2018-10-14 23:47:21 -06:00
Asif Bacchus
6b9dadac86 Sample include/exclude lists for general setup 2018-10-14 23:47:08 -06:00
Asif Bacchus
5c172fea0a Updated directory structure 2018-10-14 23:34:56 -06:00
Asif Bacchus
239d2c60fb Removed testing env files from main git 2018-09-30 22:04:21 -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