Commit Graph

276 Commits

Author SHA1 Message Date
Asif Bacchus
cf6af2c01f Corrected errors in var assignment to borg repo and passphrase env vars 2018-10-14 14:59:48 -06:00
Asif Bacchus
7ed19690e5 Corrected mistake in borg repo/archive name 2018-10-14 14:57:23 -06:00
Asif Bacchus
365aa69e70 Fixed typo in warning 2111 2018-10-14 14:55:27 -06:00
Asif Bacchus
d0986a9eaa Changed warning codes to completely numeric 2018-10-14 14:55:05 -06:00
Asif Bacchus
27de43abf4 Fixed notification output error 2018-10-14 10:50:50 -06:00
Asif Bacchus
4532ec5eb5 Moved cleanup call after exitError counter update 2018-10-14 10:44:50 -06:00
Asif Bacchus
929f1cef9b Removed final call turn off NC maint mode. Redundant. 2018-10-14 10:38:23 -06:00
Asif Bacchus
7d52face6d Updated all calls to quit to use new exitError counter 2018-10-14 10:37:44 -06:00
Asif Bacchus
01f4a3dc0c Changed error system to array variable and updated quit to report them. 2018-10-14 10:32:59 -06:00
Asif Bacchus
bc0e19b26f Updated exit error code in cleanup on ncMaint error 2018-10-14 10:23:35 -06:00
Asif Bacchus
fcef47b712 Added ncMaint call in cleanup function 2018-10-14 10:22:35 -06:00
Asif Bacchus
c9a5c8a71f Added check for NC data directory 2018-10-14 10:00:48 -06:00
Asif Bacchus
1a4fea9aa8 Fixed typo in default borgDetails setting 2018-10-14 09:50:10 -06:00
Asif Bacchus
eff0c745d1 Added notification for completion of borgbackup 2018-10-14 07:21:05 -06:00
Asif Bacchus
333c62556c Fixed echo output typo in borg error checking. 2018-10-14 07:18:34 -06:00
Asif Bacchus
fb2c6ca0d3 Added return coded checking for borg prune. 2018-10-14 07:18:11 -06:00
Asif Bacchus
5e148150e6 Redirected output from borg to logfile 2018-10-14 07:09:01 -06:00
Asif Bacchus
724182a15e Added borg exit error check 2018-10-14 07:07:21 -06:00
Asif Bacchus
5d72b987f3 Added borg prune section and warning if no parameters provided. 2018-10-14 06:56:25 -06:00
Asif Bacchus
59290a1011 Added borg execution section 2018-10-14 06:50:42 -06:00
Asif Bacchus
444f737ac2 Added parameter for nextcloud data directory 2018-10-14 06:47:22 -06:00
Asif Bacchus
552f17163e Added warnings for unspecified borg variables 2018-10-14 06:35:03 -06:00
Asif Bacchus
0127727251 Removed old section that mapped borg variables 2018-10-14 06:25:54 -06:00
Asif Bacchus
b41a25c94c Verify borg SSH keyfile exists 2018-10-14 06:24:37 -06:00
Asif Bacchus
ad18770f05 Added check to verify borg base directory exists 2018-10-14 06:21:01 -06:00
Asif Bacchus
396638b4e2 Added error code explanations for borg variable errors 2018-10-14 06:17:35 -06:00
Asif Bacchus
5c98f73134 Check borg variables from definition file and export if ok 2018-10-14 06:13:16 -06:00
Asif Bacchus
6205b9fb72 Unset borg environment variables at script invocation 2018-10-14 05:48:34 -06:00
Asif Bacchus
5429cecd0a Setup borg configuration mapping to variables and export them as needed 2018-10-05 16:27:04 -06:00
Asif Bacchus
6df528712f Updated ignored files 2018-10-03 17:44:13 -06:00
Asif Bacchus
b38f6fa11c Setup borgDetails and set default value 2018-10-03 17:41:57 -06:00
Asif Bacchus
165327e542 Dump sql db to temp directory 2018-10-03 16:28:35 -06:00
Asif Bacchus
31f10f3df3 Removed debugging lines 2018-10-03 16:04:18 -06:00
Asif Bacchus
3db1773e65 Updated sqlDetails check to use checkExist 2018-10-03 16:04:05 -06:00
Asif Bacchus
75bd10e6c0 Changed checkExist ff to check for actual file instead of file/dir 2018-10-03 15:58:40 -06:00
Asif Bacchus
3b72240d8c Added sqlDetails parameter check 2018-10-03 15:57:30 -06:00
Asif Bacchus
48d06eaa58 Separated if statements for prerequisite checks 2018-10-03 15:38:35 -06:00
Asif Bacchus
9661209194 Set default value for sqlDetails 2018-10-03 15:36:18 -06:00
Asif Bacchus
b3e9b4a0da Added sqlDetails variable 2018-10-03 15:34:44 -06:00
Asif Bacchus
92fab88c0b Updated ignored files 2018-10-03 15:31:25 -06:00
Asif Bacchus
1a70bafdd8 Added ncMaint sections with info messages.
Changed ncMaint fcn to condense code.
2018-10-03 15:01:10 -06:00
Asif Bacchus
a4c8432882 Added temp debugging exit message for graceful exits 2018-10-03 15:00:18 -06:00
Asif Bacchus
85b5c15672 Updated ncRoot checks 2018-10-03 14:04:18 -06:00
Asif Bacchus
c1c02132af Add webUser checks 2018-10-03 13:57:02 -06:00
Asif Bacchus
3f0b8a0d30 Reactivated ncRoot parameter checking 2018-10-03 13:37:15 -06:00
Asif Bacchus
b7a04a9422 quoted webuser variable in ncMain fcn to prevent globbing 2018-10-03 12:59:06 -06:00
Asif Bacchus
ed77963bd0 Fixed -5 parameter section to re-derrive err503File from supplied path. 2018-10-02 00:22:48 -06:00
Asif Bacchus
ff834d98a4 Debugged 503 section and fixed typos in warnings. 2018-10-02 00:18:00 -06:00
Asif Bacchus
325805ef37 Added check variable to determine if 503 cleanup required 2018-10-02 00:07:32 -06:00
Asif Bacchus
b3d1b3ea65 Updated 503 copy section to use err503Path 2018-10-01 23:59:26 -06:00