Commit Graph

  • bb952a3aba get and report mc volumes, sql backup location Asif Bacchus 2020-05-06 22:30:58 -0600
  • dccf5e17d0 source and use mailcow.conf Asif Bacchus 2020-05-06 22:30:19 -0600
  • 35ce452dec fix var declaration Asif Bacchus 2020-05-06 22:30:03 -0600
  • 604d3da07d add mc params, defaults and pre-req checks Asif Bacchus 2020-05-06 22:15:55 -0600
  • a5bc4549e9 basic import from generic backup script Asif Bacchus 2020-05-06 21:29:48 -0600
  • 04bc748816 add 'all' switch to docker ps MailcowBackupV1.5.1 Asif Bacchus 2020-03-06 00:43:04 -0700
  • a26bb36f17 define containerName once MailcowBackupV1.5 Asif Bacchus 2019-09-10 17:22:43 -0600
  • bbbdf38dcc change mailcowConfigFilePath to explicit param Asif Bacchus 2019-09-10 16:58:30 -0600
  • 43f1bb0021 update gitignore, add gitattributes Asif Bacchus 2019-09-10 16:34:53 -0600
  • b371e18ab0 'containerName' instead of 'rname' for consistency Asif Bacchus 2019-09-10 15:23:45 -0600
  • fb8091ecce
    Merge pull request #1 from hockeymikey/master Asif Bacchus 2019-09-09 16:45:55 -0600
  • 25c6b407a6
    Ensure non-exactly named services are found hockeymikey 2019-09-07 12:33:54 -0500
  • 3ddc2c5d4a quoted path-related vars to prevent issues with spaces in path Asif Bacchus 2019-01-30 12:27:54 -0700
  • 82f80d0f83 made explanations clearer regarding remote server and keys Asif Bacchus 2019-01-30 12:22:02 -0700
  • 0597127cbf clear up confusion between ssh and borg key passwords Asif Bacchus 2019-01-30 12:19:24 -0700
  • e23feddb1b added comment for stamp function MailcowBackupV1.1.1 Asif Bacchus 2018-10-28 05:25:59 -0600
  • 12bc49a59e replaced all ${stamp} with [$(stamp)] Asif Bacchus 2018-10-28 05:12:50 -0600
  • a14d0ba4a5 removed fixed 'stamp' var and replaced it with a function so it updates Asif Bacchus 2018-10-28 05:10:58 -0600
  • ed9db22534 execute docker-compose exec ops w/o TTY (-T) MailcowBackupV1.1 Asif Bacchus 2018-10-25 13:47:37 -0600
  • 7e92495c94 Check exitcode from within redis container after cli-save Asif Bacchus 2018-10-25 13:26:22 -0600
  • 0808888030 Check dump exitcode from within mysql container Asif Bacchus 2018-10-25 13:18:31 -0600
  • 8bb9617e34 Corrected missing 'then' Asif Bacchus 2018-10-25 10:41:38 -0600
  • fb6a2e9014 Clean old redis backup and then check if new backup > 0 bytes written Asif Bacchus 2018-10-25 10:37:17 -0600
  • 6b91b93738 Moved docker volume location vars earlier in script Asif Bacchus 2018-10-25 10:10:13 -0600
  • 5af5a064a9 replaced redis err check w/ verification of success string piped to log Asif Bacchus 2018-10-25 09:42:22 -0600
  • 9bd6c9d431 Removed err check for sqldump, replaced w/ dumpfile > 0 existance check Asif Bacchus 2018-10-25 09:12:01 -0600
  • 93a0cce519 added checkExist for file > 0 bytes Asif Bacchus 2018-10-25 09:06:35 -0600
  • 3c5d766d0c Fixed error checking for sqldump and redis dump. Used -T param in exec Asif Bacchus 2018-10-25 05:17:14 -0600
  • 7eebd44ce4 Fixed incorrect variable in err check section of container stop Asif Bacchus 2018-10-25 04:36:21 -0600
  • cb01672be8 Updated variable name in container restart section err check Asif Bacchus 2018-10-25 04:35:38 -0600
  • 509a858038 Added container state check to container stop report section Asif Bacchus 2018-10-25 04:33:36 -0600
  • a123b17d52 formatted code in fcn operateDocker Asif Bacchus 2018-10-25 04:23:32 -0600
  • c03eecc1d3 added check for container stop AND exit code in fcn operateDocker stop Asif Bacchus 2018-10-25 04:22:57 -0600
  • 292dc3c1b8 added explict PATH export so script can access docker-compose in crontab Asif Bacchus 2018-10-25 04:17:15 -0600
  • 062ef420ec SQL dump output changed to actual file instead of dump to logfile! MailcowBackupV1 Asif Bacchus 2018-10-24 13:55:19 -0600
  • 14dc1af408 Added sample inclusions based on my setup at MTT Asif Bacchus 2018-10-23 06:06:28 -0600
  • 7b17dde75a Updated mc_borg.details sample file Created xtraLocations.borg sample file Asif Bacchus 2018-10-23 05:54:50 -0600
  • adb3eb2785 readme: updated logwatch section and fixed typos Asif Bacchus 2018-10-23 05:53:00 -0600
  • b8c2fc58c8 Merge branch 'master' of https://git.asifbacchus.app/asif/MailcowBackup Asif Bacchus 2018-10-22 06:03:59 -0600
  • 70c5dc222c Changed exit code for non-root execution to 3, unique Asif Bacchus 2018-10-22 06:03:30 -0600
  • 4b45a7a4d3 Updated all warning and error create idx entries to include timestamp Asif Bacchus 2018-10-22 05:57:38 -0600
  • d6f48908b5 Changed warning and error exit reports to incorporate timestamps Asif Bacchus 2018-10-22 05:46:35 -0600
  • da95c8dd31 Add 'LICENSE' Asif Bacchus 2018-10-22 01:30:53 -0600
  • 016731a516 Logwatch readme file for help understanding integration Asif Bacchus 2018-10-22 01:08:40 -0600
  • 2664194b6a Logwatch service script to parse backup log file Asif Bacchus 2018-10-22 00:49:29 -0600
  • a6399850de Revert "Logwatch service script to process logfile" Asif Bacchus 2018-10-22 00:46:12 -0600
  • 2a15f81a2b Logwatch service script to process logfile Asif Bacchus 2018-10-22 00:45:37 -0600
  • 2437ddba5b Logwatch custom datestamp filter Asif Bacchus 2018-10-22 00:43:48 -0600
  • d7d43fdfe5 Logwatch logfile-group and service definiton file Asif Bacchus 2018-10-22 00:43:14 -0600
  • 8931206e1f Created logroate config file for backup logs Asif Bacchus 2018-10-22 00:39:25 -0600
  • 3d0b2a5469 readme: fixed typos Asif Bacchus 2018-10-22 00:35:39 -0600
  • e4ac27a8d8 readme: proofread logrotate section Asif Bacchus 2018-10-22 00:33:27 -0600
  • 858cf7fa24 readme: updated and proofread Logwatch section Asif Bacchus 2018-10-22 00:32:01 -0600
  • 6b60020411 readme: proofread 503 functionality section Asif Bacchus 2018-10-22 00:27:02 -0600
  • c1e369c2c8 readme: Fixed typos and proofread borg details file section Asif Bacchus 2018-10-22 00:15:57 -0600
  • a472195ef4 readme: added line breaks before default parameter values Asif Bacchus 2018-10-22 00:04:53 -0600
  • 795c67242e readme: Added TOC Asif Bacchus 2018-10-21 17:49:21 -0600
  • 536ac3d946 readme: Fixed typos Asif Bacchus 2018-10-21 17:48:07 -0600
  • 95a72fc7c0 readme: updated scheduling section Asif Bacchus 2018-10-21 17:25:48 -0600
  • 119b9a8b0d readme: updated 503 functionality section Asif Bacchus 2018-10-21 17:24:06 -0600
  • be015042c7 readme: Finished borg details section. Removed sql details section. Asif Bacchus 2018-10-21 17:20:34 -0600
  • 21cec4b8e4 readme: updated exclusion pattens Asif Bacchus 2018-10-21 17:15:39 -0600
  • d3a037ebc8 readme: updated borg details protection section Asif Bacchus 2018-10-21 17:08:44 -0600
  • 6e431a81e5 readme: updated parameters Asif Bacchus 2018-10-21 17:00:57 -0600
  • c5e7ae52eb readme: intro sections updated, mandatory parameters removed Asif Bacchus 2018-10-21 16:33:16 -0600
  • 3cde67a18c Updated logFile parameter to trim trailing slash Asif Bacchus 2018-10-21 16:31:44 -0600
  • 444bf65c5e readme: initial sections adapted from nextcloud backup script readme Asif Bacchus 2018-10-21 16:29:41 -0600
  • 5eb021de04 Updated sample borg details file Asif Bacchus 2018-10-21 16:11:08 -0600
  • deacdcd04e xtraLocations and warning 2116: removed ref to NextCloud Asif Bacchus 2018-10-21 04:10:25 -0600
  • c9926d7c4d Updated SQL & redis checkResult comparison operators Asif Bacchus 2018-10-21 03:43:50 -0600
  • 5da2183b2c Changed docker-compose command pipe to stderr > $logFile Asif Bacchus 2018-10-21 03:40:01 -0600
  • 72c94544b5 changed docker config default filename Asif Bacchus 2018-10-21 03:38:57 -0600
  • 11b5f05d27 Fixed typos in help screen Asif Bacchus 2018-10-21 01:59:04 -0600
  • 532bee722b Updated in-script help Asif Bacchus 2018-10-21 01:46:32 -0600
  • 00e31c25a5 Changed cleanup to restart and confirm mailflow containers only Asif Bacchus 2018-10-20 05:50:19 -0600
  • e5a004c88c Changed sqldump and redis save fail from warning to error Asif Bacchus 2018-10-20 05:43:46 -0600
  • 9c78ec12eb Added start all docker-containers to end of clean up script Asif Bacchus 2018-10-20 05:38:25 -0600
  • 9e590bba0f Container stop section using operateDocker function Asif Bacchus 2018-10-20 05:35:08 -0600
  • 0b4dd79ea1 export dockerStartTimeout Asif Bacchus 2018-10-20 05:24:57 -0600
  • 055dba2152 created function operateDocker for container start and stop Asif Bacchus 2018-10-20 05:23:43 -0600
  • 912f8c274a Updated borg commands for MC backup Asif Bacchus 2018-10-20 05:10:11 -0600
  • 1e3ef9a302 Set vars with docker volume locations Asif Bacchus 2018-10-20 05:06:49 -0600
  • 0c1bc0512c changed misc check variables to be checkResult Asif Bacchus 2018-10-20 04:48:50 -0600
  • 4bc31ad274 save redis state Asif Bacchus 2018-10-20 04:47:50 -0600
  • e50116752d dump SQL fixed typos in container stop lines Asif Bacchus 2018-10-20 04:42:06 -0600
  • 5076cebc85 stop postfix and dovecot and error check Asif Bacchus 2018-10-20 04:30:25 -0600
  • a72a8ac450 sql dump Asif Bacchus 2018-10-19 23:48:02 -0600
  • ba2517138e Stop postfix and dovecot in preparation for backup Asif Bacchus 2018-10-19 23:39:20 -0600
  • ad4deb2204 Removed NC specific tasks Asif Bacchus 2018-10-19 22:46:20 -0600
  • da1499d1c6 Created 503 error page Asif Bacchus 2018-10-19 22:41:05 -0600
  • 940f69813c Fixed typo in call to find command Asif Bacchus 2018-10-19 22:31:53 -0600
  • 7f1c74786e Read mailcow configuration file Asif Bacchus 2018-10-19 22:31:15 -0600
  • 910fd0238b Added notification of location of config files being used Asif Bacchus 2018-10-19 22:27:42 -0600
  • ff8f7ffb52 Created empty borg details file Asif Bacchus 2018-10-19 22:23:57 -0600
  • dd9a601542 Check for required files before starting Asif Bacchus 2018-10-19 22:17:43 -0600
  • f0447d637d Deleted NC specific pre-req parameter checks Asif Bacchus 2018-10-19 21:59:28 -0600
  • aa21c7ccae Changed borgDetails default filename to match mailcow Asif Bacchus 2018-10-19 21:58:07 -0600
  • 296e69f4a0 Added mailcow specific parameters Asif Bacchus 2018-10-19 21:56:16 -0600
  • 72d14ba75b Removed NC specific script parameters Asif Bacchus 2018-10-19 21:51:30 -0600
  • abff332ce0 Added default values for mailcow config files and docker timeouts Asif Bacchus 2018-10-19 21:49:23 -0600