Commit Graph

  • 0fcab85da9 fix incorrect filename master Asif Bacchus 2019-07-30 01:11:15 -0600
  • ed62bb1e38 update logwatch integration Asif Bacchus 2019-07-30 00:44:37 -0600
  • 3a759f39ac reworded redundant success msgs Asif Bacchus 2019-07-30 00:41:02 -0600
  • 5cd023010c update wiki link, match details filename to script Asif Bacchus 2019-07-30 00:39:17 -0600
  • 8e30cb4048 fix timestamp double-bracket Asif Bacchus 2019-07-26 03:16:55 -0600
  • 8edd833544 fix final success msg output spacing err Asif Bacchus 2019-07-26 03:15:26 -0600
  • dd49378678 check running as root Asif Bacchus 2019-07-26 03:14:12 -0600
  • efe202d9a3 new directory structure Asif Bacchus 2019-07-26 03:11:53 -0600
  • 9936cf7de3 add link to wiki Asif Bacchus 2019-07-20 18:14:14 -0600
  • 0b1d220b5b update readme and license Asif Bacchus 2019-07-20 18:09:19 -0600
  • a299cca365 move logwatch under etc dir to mirror real sys Asif Bacchus 2019-07-20 17:17:33 -0600
  • 271f08d0e4 sample logrotate config Asif Bacchus 2019-07-20 17:16:58 -0600
  • 55162342c7 add logwatch example files Asif Bacchus 2019-07-20 17:14:58 -0600
  • fdb139afc9 change success msg for logwatch parsing Asif Bacchus 2019-07-20 17:14:44 -0600
  • 93bfdbfeb3 enclose timestamps in square brackets Asif Bacchus 2019-07-20 17:06:20 -0600
  • 3f1861fc01 update example default locations Asif Bacchus 2019-07-20 16:57:37 -0600
  • 4e5bfa49b4 use dbnames from details file for dump Asif Bacchus 2019-06-20 03:39:57 -0600
  • 6fec178fae check for null database names in details file Asif Bacchus 2019-06-20 03:37:17 -0600
  • ca190c89bb rewrote help section Asif Bacchus 2019-06-19 23:08:07 -0600
  • 26524c97ed func scriptHelp and contents Asif Bacchus 2019-06-19 02:13:21 -0600
  • 85fe709e06 update function commentary Asif Bacchus 2019-06-18 23:11:47 -0600
  • 13b75232bc fix trapExit error code Asif Bacchus 2019-06-18 22:32:33 -0600
  • 1144eb6ae6 trap calls dedicated func Asif Bacchus 2019-06-18 22:30:22 -0600
  • 91f0cdfa8e add trap for abnormal termination Asif Bacchus 2019-06-18 22:14:33 -0600
  • ba27cff791 note exit on error at end of log for clarity Asif Bacchus 2019-06-18 22:06:26 -0600
  • 57b13a3844 remove quotes on borgPrune vars, not sure why Asif Bacchus 2019-06-18 22:01:28 -0600
  • 3fd8da1e26 fix borgSSHKey test, check for file not dir Asif Bacchus 2019-06-18 21:38:44 -0600
  • 249209df99 update readme Asif Bacchus 2019-05-28 21:02:49 -0600
  • 036cfdcdba rename script file Asif Bacchus 2019-05-27 07:26:30 -0600
  • 3a12003803 remove old files from tansitional repo Asif Bacchus 2019-05-27 07:25:08 -0600
  • 24f5af85c0 sample helper files Asif Bacchus 2019-05-27 07:24:50 -0600
  • e7bf384cba annotated sample details file Asif Bacchus 2019-05-27 06:53:38 -0600
  • 11afb719ff updated error code notation in comments Asif Bacchus 2019-05-27 06:20:05 -0600
  • 5e7d2fe6d2 check SQL vars are defined in details file Asif Bacchus 2019-05-27 06:17:38 -0600
  • 62107ed611 fixed missing space in sqldumpdir command Asif Bacchus 2019-05-27 06:13:03 -0600
  • f33f4824fa syntax and var name corrections Asif Bacchus 2019-05-27 06:10:06 -0600
  • 090ce7d7fb add warning counter, report on script completion Asif Bacchus 2019-05-27 05:51:39 -0600
  • 709be1ef98 moved var defintions for code readability Asif Bacchus 2019-05-27 05:41:33 -0600
  • cabd5d75f2 clean exit tasks Asif Bacchus 2019-05-27 05:40:10 -0600
  • 5222e9e08a change pre-backup completion notation color tag Asif Bacchus 2019-05-27 05:33:32 -0600
  • 1c85071ca4 export borg remote location env var Asif Bacchus 2019-05-27 05:31:08 -0600
  • 6c8fc8bcdf add user notification for starting borg backup Asif Bacchus 2019-05-27 05:25:47 -0600
  • 77d5b85ae3 fix typo in warning message Asif Bacchus 2019-05-27 05:24:47 -0600
  • c25348ddda split long error messages into separate vars Asif Bacchus 2019-05-27 05:24:26 -0600
  • 5e5e50b8e8 execute borg prune and report results Asif Bacchus 2019-05-27 05:08:09 -0600
  • 78bdc0e5d6 check borg return codes Asif Bacchus 2019-05-27 04:31:21 -0600
  • 33416f8144 execute borg Asif Bacchus 2019-05-27 04:19:21 -0600
  • 87bfeb8464 create borg tmp dir Asif Bacchus 2019-05-27 03:53:43 -0600
  • 2b66d9e118 check if exclusion list has been specified Asif Bacchus 2019-05-27 03:17:08 -0600
  • d7a8d0ce28 add include/exclude flag vars Asif Bacchus 2019-05-27 03:13:48 -0600
  • 163bcd2a84 read file listing extra locations to backup Asif Bacchus 2019-05-27 03:10:23 -0600
  • 4a83cdb755 noted new error codes Asif Bacchus 2019-05-27 03:09:21 -0600
  • b95981e4bb func badDetails for missing or invalid details Asif Bacchus 2019-05-27 03:08:54 -0600
  • 68a51bf3c5 check borg vars and export env vars Asif Bacchus 2019-05-27 03:08:21 -0600
  • 55dc9fac04 func cleanup: fixed printf typo Asif Bacchus 2019-05-25 19:53:00 -0600
  • 204ff41f98 fixed typo Asif Bacchus 2019-05-25 13:29:09 -0600
  • 15e79c8bf5 moved all service logging to func seafSvc Asif Bacchus 2019-05-25 13:23:29 -0600
  • a3aea2179e func cleanup: notify starting services Asif Bacchus 2019-05-25 13:20:30 -0600
  • 30e5e4fa3f log cleanup action successes Asif Bacchus 2019-05-25 13:18:31 -0600
  • 2d8c41412f separated var from formatting in printf Asif Bacchus 2019-05-25 13:17:24 -0600
  • 5a473b9686 func Cleanup: restart services Asif Bacchus 2019-05-25 13:11:31 -0600
  • cabe1d4894 move SQL cleanup flag immediately after temp dir Asif Bacchus 2019-05-25 13:08:55 -0600
  • fa82cb2ce6 quote variables Asif Bacchus 2019-05-25 12:37:20 -0600
  • 08ab44ce84 func cleanup to remove script working files Asif Bacchus 2019-05-25 12:33:35 -0600
  • e85aa37553 updated configuration details template file Asif Bacchus 2019-05-25 02:56:39 -0600
  • 738b980a4f wrong colour tag Asif Bacchus 2019-05-25 02:32:37 -0600
  • 8c0b5e9a02 use tput for colours - better compatibility Asif Bacchus 2019-05-25 02:31:57 -0600
  • e63383012f fix: tmpdir error msg truncates logfile Asif Bacchus 2019-05-25 02:31:03 -0600
  • 50c5ee321e remove useless info log line Asif Bacchus 2019-05-25 02:25:47 -0600
  • c8b1296543 update colour tag name Asif Bacchus 2019-05-25 02:17:18 -0600
  • 85b219a90d add log message on seafile service stop Asif Bacchus 2019-05-25 01:59:49 -0600
  • e798f10e50 tagged 503 completion log message 'success' Asif Bacchus 2019-05-25 01:57:00 -0600
  • d8c0f0d242 dump SQL databases Asif Bacchus 2019-05-25 01:55:58 -0600
  • c65c9113b8 import config details file Asif Bacchus 2019-05-25 00:59:23 -0600
  • 465b386796 copy 503 to webroot and log error Asif Bacchus 2019-05-24 23:43:28 -0600
  • 2873edd128 remove 503 notification, unnecessary and confusing Asif Bacchus 2019-05-24 22:38:31 -0600
  • 7ffeb71de1 moved 503 pre-req check for clarity in logs Asif Bacchus 2019-05-24 22:37:01 -0600
  • 0734b8401e check seaf dirs and services as needed Asif Bacchus 2019-05-24 21:34:08 -0600
  • e7e4658cd7 removed seafUser param and checks Asif Bacchus 2019-05-24 21:23:36 -0600
  • 42fd9349b7 default 503 checks if necessary Asif Bacchus 2019-05-24 21:19:23 -0600
  • 4eb9abccf8 fix premature exit on borg installation check Asif Bacchus 2019-05-24 21:18:54 -0600
  • 769cb332a9 use full parameter name Asif Bacchus 2019-05-24 21:18:01 -0600
  • 8bb09334d6 param -w check for dir not file Asif Bacchus 2019-05-24 21:17:35 -0600
  • 658a8c0605 check: details exist and borg installed Asif Bacchus 2019-05-24 21:03:36 -0600
  • 5df96bf69d add switch param to enable 503 copying Asif Bacchus 2019-05-24 20:41:00 -0600
  • c0e77c7336 parameters for custom service names Asif Bacchus 2019-05-24 00:31:07 -0600
  • 9d007a67ca func badParam: reorder and add bad service Asif Bacchus 2019-05-24 00:30:34 -0600
  • ca0db04a3b func seafSvc: use func exitError Asif Bacchus 2019-05-23 23:19:53 -0600
  • d41b0d13d3 func exitError: simplify Asif Bacchus 2019-05-23 23:18:35 -0600
  • 9e335224a0 func exitError for consistent error logging Asif Bacchus 2019-05-23 23:07:44 -0600
  • 2b8941da51 stop seafile services if offline backup requested Asif Bacchus 2019-05-23 21:54:57 -0600
  • 5c55002bb2 change varname to avoid conflict with func Asif Bacchus 2019-05-23 21:54:37 -0600
  • b94fef7db2 func seafSvc: proper logging Asif Bacchus 2019-05-23 21:54:19 -0600
  • b91fd028b8 fix symantec best practice on empty var Asif Bacchus 2019-05-23 21:46:34 -0600
  • 1b3b151008 check for file/dir DNE Asif Bacchus 2019-05-23 21:43:30 -0600
  • 6c5ea52c68 check for bad seafile sys username Asif Bacchus 2019-05-23 21:43:12 -0600
  • b9aa8d33f4 func badParam: add bad username Asif Bacchus 2019-05-23 21:42:35 -0600
  • 5e985f941e func badParam to handle missing or invalid params Asif Bacchus 2019-05-23 21:24:29 -0600
  • 2f8271e636 error code reference Asif Bacchus 2019-05-23 21:19:28 -0600
  • 44e2b93377 process parameters Asif Bacchus 2019-05-23 21:06:49 -0600