Commit Graph

126 Commits

Author SHA1 Message Date
Asif Bacchus
93bfdbfeb3 enclose timestamps in square brackets 2019-07-20 17:06:20 -06:00
Asif Bacchus
3f1861fc01 update example default locations 2019-07-20 16:57:37 -06:00
Asif Bacchus
4e5bfa49b4 use dbnames from details file for dump 2019-06-20 03:39:57 -06:00
Asif Bacchus
6fec178fae check for null database names in details file 2019-06-20 03:37:17 -06:00
Asif Bacchus
ca190c89bb rewrote help section 2019-06-19 23:08:07 -06:00
Asif Bacchus
26524c97ed func scriptHelp and contents 2019-06-19 02:13:21 -06:00
Asif Bacchus
85fe709e06 update function commentary 2019-06-18 23:11:47 -06:00
Asif Bacchus
13b75232bc fix trapExit error code 2019-06-18 22:32:33 -06:00
Asif Bacchus
1144eb6ae6 trap calls dedicated func 2019-06-18 22:30:22 -06:00
Asif Bacchus
91f0cdfa8e add trap for abnormal termination 2019-06-18 22:14:33 -06:00
Asif Bacchus
ba27cff791 note exit on error at end of log for clarity 2019-06-18 22:06:26 -06:00
Asif Bacchus
57b13a3844 remove quotes on borgPrune vars, not sure why 2019-06-18 22:01:28 -06:00
Asif Bacchus
3fd8da1e26 fix borgSSHKey test, check for file not dir 2019-06-18 21:38:44 -06:00
Asif Bacchus
249209df99 update readme 2019-05-28 21:02:49 -06:00
Asif Bacchus
036cfdcdba rename script file 2019-05-27 07:26:30 -06:00
Asif Bacchus
3a12003803 remove old files from tansitional repo 2019-05-27 07:25:08 -06:00
Asif Bacchus
24f5af85c0 sample helper files 2019-05-27 07:24:50 -06:00
Asif Bacchus
e7bf384cba annotated sample details file 2019-05-27 06:53:38 -06:00
Asif Bacchus
11afb719ff updated error code notation in comments 2019-05-27 06:20:05 -06:00
Asif Bacchus
5e7d2fe6d2 check SQL vars are defined in details file 2019-05-27 06:17:38 -06:00
Asif Bacchus
62107ed611 fixed missing space in sqldumpdir command 2019-05-27 06:13:03 -06:00
Asif Bacchus
f33f4824fa syntax and var name corrections 2019-05-27 06:10:06 -06:00
Asif Bacchus
090ce7d7fb add warning counter, report on script completion 2019-05-27 05:51:39 -06:00
Asif Bacchus
709be1ef98 moved var defintions for code readability 2019-05-27 05:41:33 -06:00
Asif Bacchus
cabd5d75f2 clean exit tasks 2019-05-27 05:40:10 -06:00
Asif Bacchus
5222e9e08a change pre-backup completion notation color tag 2019-05-27 05:33:32 -06:00
Asif Bacchus
1c85071ca4 export borg remote location env var 2019-05-27 05:31:08 -06:00
Asif Bacchus
6c8fc8bcdf add user notification for starting borg backup 2019-05-27 05:25:47 -06:00
Asif Bacchus
77d5b85ae3 fix typo in warning message 2019-05-27 05:24:47 -06:00
Asif Bacchus
c25348ddda split long error messages into separate vars 2019-05-27 05:24:26 -06:00
Asif Bacchus
5e5e50b8e8 execute borg prune and report results 2019-05-27 05:08:09 -06:00
Asif Bacchus
78bdc0e5d6 check borg return codes 2019-05-27 04:31:21 -06:00
Asif Bacchus
33416f8144 execute borg 2019-05-27 04:19:21 -06:00
Asif Bacchus
87bfeb8464 create borg tmp dir 2019-05-27 03:53:43 -06:00
Asif Bacchus
2b66d9e118 check if exclusion list has been specified 2019-05-27 03:17:08 -06:00
Asif Bacchus
d7a8d0ce28 add include/exclude flag vars 2019-05-27 03:13:48 -06:00
Asif Bacchus
163bcd2a84 read file listing extra locations to backup 2019-05-27 03:10:23 -06:00
Asif Bacchus
4a83cdb755 noted new error codes 2019-05-27 03:09:21 -06:00
Asif Bacchus
b95981e4bb func badDetails for missing or invalid details 2019-05-27 03:08:54 -06:00
Asif Bacchus
68a51bf3c5 check borg vars and export env vars 2019-05-27 03:08:21 -06:00
Asif Bacchus
55dc9fac04 func cleanup: fixed printf typo 2019-05-25 19:53:00 -06:00
Asif Bacchus
204ff41f98 fixed typo 2019-05-25 13:29:09 -06:00
Asif Bacchus
15e79c8bf5 moved all service logging to func seafSvc 2019-05-25 13:23:29 -06:00
Asif Bacchus
a3aea2179e func cleanup: notify starting services 2019-05-25 13:20:30 -06:00
Asif Bacchus
30e5e4fa3f log cleanup action successes 2019-05-25 13:18:31 -06:00
Asif Bacchus
2d8c41412f separated var from formatting in printf 2019-05-25 13:17:24 -06:00
Asif Bacchus
5a473b9686 func Cleanup: restart services 2019-05-25 13:11:31 -06:00
Asif Bacchus
cabe1d4894 move SQL cleanup flag immediately after temp dir 2019-05-25 13:08:55 -06:00
Asif Bacchus
fa82cb2ce6 quote variables 2019-05-25 12:37:20 -06:00
Asif Bacchus
08ab44ce84 func cleanup to remove script working files 2019-05-25 12:33:35 -06:00