Commit Graph

300 Commits

Author SHA1 Message Date
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
214d1ce2b2 Created sample nc_borg and nc_sql details files 2018-10-14 23:28:21 -06:00
Asif Bacchus
4a3d818805 Updated .gitignore so sample files are tracked 2018-10-14 23:28:06 -06:00
Asif Bacchus
cb2be1490a Created sample 503.html 2018-10-14 23:16:32 -06:00
Asif Bacchus
eba4dd8221 updated .gitignore 2018-10-14 23:08:32 -06:00
Asif Bacchus
c11bfc5e2f Created help screen usage summary 2018-10-14 23:05:52 -06:00
Asif Bacchus
163cb46168 Added end of script success tag 2018-10-14 16:58:47 -06:00
Asif Bacchus
6ec3f84d37 Added error trap (warning) for missing exclusions file 2018-10-14 16:54:57 -06:00
Asif Bacchus
691a15dd73 removed dry-run from prune commandline 2018-10-14 16:32:03 -06:00
Asif Bacchus
9808201128 removed quotes from borg create commandlines 2018-10-14 16:31:30 -06:00
Asif Bacchus
21476ff27b removed quotes from prune commandline 2018-10-14 16:30:18 -06:00
Asif Bacchus
2d3a19db31 Changed borg operations logging format to bold 2018-10-14 15:40:43 -06:00
Asif Bacchus
c9febf9b08 Updated logging output for xtraFiles processing 2018-10-14 15:31:18 -06:00
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