Commit Graph

134 Commits

Author SHA1 Message Date
Asif Bacchus
dd49378678 check running as root 2019-07-26 03:14:12 -06:00
Asif Bacchus
efe202d9a3 new directory structure 2019-07-26 03:11:53 -06:00
Asif Bacchus
9936cf7de3 add link to wiki 2019-07-20 18:14:14 -06:00
Asif Bacchus
0b1d220b5b update readme and license 2019-07-20 18:09:19 -06:00
Asif Bacchus
a299cca365 move logwatch under etc dir to mirror real sys 2019-07-20 17:17:33 -06:00
Asif Bacchus
271f08d0e4 sample logrotate config 2019-07-20 17:16:58 -06:00
Asif Bacchus
55162342c7 add logwatch example files 2019-07-20 17:14:58 -06:00
Asif Bacchus
fdb139afc9 change success msg for logwatch parsing 2019-07-20 17:14:44 -06:00
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