Commit Graph

133 Commits

Author SHA1 Message Date
Asif Bacchus
8bb9617e34 Corrected missing 'then' 2018-10-25 10:41:38 -06:00
Asif Bacchus
fb6a2e9014 Clean old redis backup and then check if new backup > 0 bytes written 2018-10-25 10:37:17 -06:00
Asif Bacchus
6b91b93738 Moved docker volume location vars earlier in script 2018-10-25 10:10:13 -06:00
Asif Bacchus
5af5a064a9 replaced redis err check w/ verification of success string piped to log 2018-10-25 09:42:22 -06:00
Asif Bacchus
9bd6c9d431 Removed err check for sqldump, replaced w/ dumpfile > 0 existance check 2018-10-25 09:12:01 -06:00
Asif Bacchus
93a0cce519 added checkExist for file > 0 bytes 2018-10-25 09:06:35 -06:00
Asif Bacchus
3c5d766d0c Fixed error checking for sqldump and redis dump. Used -T param in exec 2018-10-25 05:17:14 -06:00
Asif Bacchus
7eebd44ce4 Fixed incorrect variable in err check section of container stop 2018-10-25 04:36:21 -06:00
Asif Bacchus
cb01672be8 Updated variable name in container restart section err check 2018-10-25 04:35:38 -06:00
Asif Bacchus
509a858038 Added container state check to container stop report section 2018-10-25 04:33:36 -06:00
Asif Bacchus
a123b17d52 formatted code in fcn operateDocker 2018-10-25 04:23:32 -06:00
Asif Bacchus
c03eecc1d3 added check for container stop AND exit code in fcn operateDocker stop 2018-10-25 04:22:57 -06:00
Asif Bacchus
292dc3c1b8 added explict PATH export so script can access docker-compose in crontab 2018-10-25 04:17:15 -06:00
Asif Bacchus
062ef420ec SQL dump output changed to actual file instead of dump to logfile! 2018-10-24 13:55:19 -06:00
Asif Bacchus
14dc1af408 Added sample inclusions based on my setup at MTT 2018-10-23 06:06:28 -06:00
Asif Bacchus
7b17dde75a Updated mc_borg.details sample file
Created xtraLocations.borg sample file
2018-10-23 05:54:50 -06:00
Asif Bacchus
adb3eb2785 readme: updated logwatch section and fixed typos 2018-10-23 05:53:00 -06:00
Asif Bacchus
b8c2fc58c8 Merge branch 'master' of https://git.asifbacchus.app/asif/MailcowBackup 2018-10-22 06:03:59 -06:00
Asif Bacchus
70c5dc222c Changed exit code for non-root execution to 3, unique 2018-10-22 06:03:30 -06:00
Asif Bacchus
4b45a7a4d3 Updated all warning and error create idx entries to include timestamp 2018-10-22 05:57:38 -06:00
Asif Bacchus
d6f48908b5 Changed warning and error exit reports to incorporate timestamps 2018-10-22 05:46:35 -06:00
Asif Bacchus
da95c8dd31 Add 'LICENSE'
GPL3+ license
2018-10-22 01:30:53 -06:00
Asif Bacchus
016731a516 Logwatch readme file for help understanding integration 2018-10-22 01:08:40 -06:00
Asif Bacchus
2664194b6a Logwatch service script to parse backup log file 2018-10-22 00:49:29 -06:00
Asif Bacchus
a6399850de Revert "Logwatch service script to process logfile"
This reverts commit 2a15f81a2b.

Improper commit sequence
2018-10-22 00:46:12 -06:00
Asif Bacchus
2a15f81a2b Logwatch service script to process logfile 2018-10-22 00:45:37 -06:00
Asif Bacchus
2437ddba5b Logwatch custom datestamp filter 2018-10-22 00:43:48 -06:00
Asif Bacchus
d7d43fdfe5 Logwatch logfile-group and service definiton file 2018-10-22 00:43:14 -06:00
Asif Bacchus
8931206e1f Created logroate config file for backup logs 2018-10-22 00:39:25 -06:00
Asif Bacchus
3d0b2a5469 readme: fixed typos 2018-10-22 00:35:39 -06:00
Asif Bacchus
e4ac27a8d8 readme: proofread logrotate section 2018-10-22 00:33:27 -06:00
Asif Bacchus
858cf7fa24 readme: updated and proofread Logwatch section 2018-10-22 00:32:01 -06:00
Asif Bacchus
6b60020411 readme: proofread 503 functionality section 2018-10-22 00:27:02 -06:00
Asif Bacchus
c1e369c2c8 readme: Fixed typos and proofread borg details file section 2018-10-22 00:15:57 -06:00
Asif Bacchus
a472195ef4 readme: added line breaks before default parameter values 2018-10-22 00:04:53 -06:00
Asif Bacchus
795c67242e readme: Added TOC 2018-10-21 17:49:21 -06:00
Asif Bacchus
536ac3d946 readme: Fixed typos 2018-10-21 17:48:07 -06:00
Asif Bacchus
95a72fc7c0 readme: updated scheduling section 2018-10-21 17:25:48 -06:00
Asif Bacchus
119b9a8b0d readme: updated 503 functionality section 2018-10-21 17:24:06 -06:00
Asif Bacchus
be015042c7 readme: Finished borg details section. Removed sql details section. 2018-10-21 17:20:34 -06:00
Asif Bacchus
21cec4b8e4 readme: updated exclusion pattens 2018-10-21 17:15:39 -06:00
Asif Bacchus
d3a037ebc8 readme: updated borg details protection section 2018-10-21 17:08:44 -06:00
Asif Bacchus
6e431a81e5 readme: updated parameters 2018-10-21 17:00:57 -06:00
Asif Bacchus
c5e7ae52eb readme: intro sections updated, mandatory parameters removed 2018-10-21 16:33:16 -06:00
Asif Bacchus
3cde67a18c Updated logFile parameter to trim trailing slash 2018-10-21 16:31:44 -06:00
Asif Bacchus
444bf65c5e readme: initial sections adapted from nextcloud backup script readme 2018-10-21 16:29:41 -06:00
Asif Bacchus
5eb021de04 Updated sample borg details file 2018-10-21 16:11:08 -06:00
Asif Bacchus
deacdcd04e xtraLocations and warning 2116: removed ref to NextCloud 2018-10-21 04:10:25 -06:00
Asif Bacchus
c9926d7c4d Updated SQL & redis checkResult comparison operators 2018-10-21 03:43:50 -06:00
Asif Bacchus
5da2183b2c Changed docker-compose command pipe to stderr > $logFile 2018-10-21 03:40:01 -06:00