Asif Bacchus
|
bbbdf38dcc
|
change mailcowConfigFilePath to explicit param
|
2019-09-10 16:58:30 -06:00 |
|
Asif Bacchus
|
b371e18ab0
|
'containerName' instead of 'rname' for consistency
|
2019-09-10 15:23:45 -06:00 |
|
hockeymikey
|
25c6b407a6
|
Ensure non-exactly named services are found
My naming scheme for my mailcown was like -mailcow_1_k8bdj9op so the script never found them. This ensures they do.
|
2019-09-07 12:33:54 -05:00 |
|
Asif Bacchus
|
3ddc2c5d4a
|
quoted path-related vars to prevent issues with spaces in path
|
2019-01-30 12:27:54 -07:00 |
|
Asif Bacchus
|
e23feddb1b
|
added comment for stamp function
|
2018-10-28 05:25:59 -06:00 |
|
Asif Bacchus
|
12bc49a59e
|
replaced all ${stamp} with [$(stamp)]
|
2018-10-28 05:12:50 -06:00 |
|
Asif Bacchus
|
a14d0ba4a5
|
removed fixed 'stamp' var and replaced it with a function so it updates
|
2018-10-28 05:10:58 -06:00 |
|
Asif Bacchus
|
ed9db22534
|
execute docker-compose exec ops w/o TTY (-T)
|
2018-10-25 13:47:37 -06:00 |
|
Asif Bacchus
|
7e92495c94
|
Check exitcode from within redis container after cli-save
|
2018-10-25 13:26:22 -06:00 |
|
Asif Bacchus
|
0808888030
|
Check dump exitcode from within mysql container
|
2018-10-25 13:18:31 -06:00 |
|
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
|
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
|
3cde67a18c
|
Updated logFile parameter to trim trailing slash
|
2018-10-21 16:31:44 -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 |
|
Asif Bacchus
|
72c94544b5
|
changed docker config default filename
|
2018-10-21 03:38:57 -06:00 |
|
Asif Bacchus
|
11b5f05d27
|
Fixed typos in help screen
|
2018-10-21 01:59:04 -06:00 |
|
Asif Bacchus
|
532bee722b
|
Updated in-script help
|
2018-10-21 01:46:32 -06:00 |
|
Asif Bacchus
|
00e31c25a5
|
Changed cleanup to restart and confirm mailflow containers only
|
2018-10-20 05:50:19 -06:00 |
|
Asif Bacchus
|
e5a004c88c
|
Changed sqldump and redis save fail from warning to error
|
2018-10-20 05:43:46 -06:00 |
|
Asif Bacchus
|
9c78ec12eb
|
Added start all docker-containers to end of clean up script
|
2018-10-20 05:38:25 -06:00 |
|
Asif Bacchus
|
9e590bba0f
|
Container stop section using operateDocker function
|
2018-10-20 05:35:08 -06:00 |
|
Asif Bacchus
|
0b4dd79ea1
|
export dockerStartTimeout
|
2018-10-20 05:24:57 -06:00 |
|
Asif Bacchus
|
055dba2152
|
created function operateDocker for container start and stop
|
2018-10-20 05:23:43 -06:00 |
|
Asif Bacchus
|
912f8c274a
|
Updated borg commands for MC backup
|
2018-10-20 05:10:11 -06:00 |
|
Asif Bacchus
|
1e3ef9a302
|
Set vars with docker volume locations
|
2018-10-20 05:06:49 -06:00 |
|
Asif Bacchus
|
0c1bc0512c
|
changed misc check variables to be checkResult
|
2018-10-20 04:48:50 -06:00 |
|
Asif Bacchus
|
4bc31ad274
|
save redis state
|
2018-10-20 04:47:50 -06:00 |
|
Asif Bacchus
|
e50116752d
|
dump SQL
fixed typos in container stop lines
|
2018-10-20 04:42:06 -06:00 |
|
Asif Bacchus
|
5076cebc85
|
stop postfix and dovecot and error check
|
2018-10-20 04:30:25 -06:00 |
|
Asif Bacchus
|
a72a8ac450
|
sql dump
|
2018-10-19 23:48:02 -06:00 |
|
Asif Bacchus
|
ba2517138e
|
Stop postfix and dovecot in preparation for backup
|
2018-10-19 23:39:20 -06:00 |
|
Asif Bacchus
|
ad4deb2204
|
Removed NC specific tasks
|
2018-10-19 22:46:20 -06:00 |
|