Commit Graph

98 Commits

Author SHA1 Message Date
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
Asif Bacchus
e85aa37553 updated configuration details template file 2019-05-25 02:56:39 -06:00
Asif Bacchus
738b980a4f wrong colour tag 2019-05-25 02:32:37 -06:00
Asif Bacchus
8c0b5e9a02 use tput for colours - better compatibility 2019-05-25 02:31:57 -06:00
Asif Bacchus
e63383012f fix: tmpdir error msg truncates logfile 2019-05-25 02:31:03 -06:00
Asif Bacchus
50c5ee321e remove useless info log line 2019-05-25 02:25:47 -06:00
Asif Bacchus
c8b1296543 update colour tag name 2019-05-25 02:17:18 -06:00
Asif Bacchus
85b219a90d add log message on seafile service stop 2019-05-25 01:59:49 -06:00
Asif Bacchus
e798f10e50 tagged 503 completion log message 'success' 2019-05-25 01:57:00 -06:00
Asif Bacchus
d8c0f0d242 dump SQL databases 2019-05-25 01:55:58 -06:00
Asif Bacchus
c65c9113b8 import config details file 2019-05-25 00:59:23 -06:00
Asif Bacchus
465b386796 copy 503 to webroot and log error 2019-05-24 23:43:28 -06:00
Asif Bacchus
2873edd128 remove 503 notification, unnecessary and confusing 2019-05-24 22:38:31 -06:00
Asif Bacchus
7ffeb71de1 moved 503 pre-req check for clarity in logs 2019-05-24 22:37:01 -06:00
Asif Bacchus
0734b8401e check seaf dirs and services as needed 2019-05-24 21:34:08 -06:00
Asif Bacchus
e7e4658cd7 removed seafUser param and checks 2019-05-24 21:23:36 -06:00
Asif Bacchus
42fd9349b7 default 503 checks if necessary 2019-05-24 21:19:23 -06:00
Asif Bacchus
4eb9abccf8 fix premature exit on borg installation check 2019-05-24 21:18:54 -06:00
Asif Bacchus
769cb332a9 use full parameter name 2019-05-24 21:18:01 -06:00
Asif Bacchus
8bb09334d6 param -w check for dir not file 2019-05-24 21:17:35 -06:00
Asif Bacchus
658a8c0605 check: details exist and borg installed 2019-05-24 21:03:36 -06:00
Asif Bacchus
5df96bf69d add switch param to enable 503 copying 2019-05-24 20:41:00 -06:00
Asif Bacchus
c0e77c7336 parameters for custom service names 2019-05-24 00:31:07 -06:00
Asif Bacchus
9d007a67ca func badParam: reorder and add bad service 2019-05-24 00:30:34 -06:00
Asif Bacchus
ca0db04a3b func seafSvc: use func exitError 2019-05-23 23:19:53 -06:00
Asif Bacchus
d41b0d13d3 func exitError: simplify 2019-05-23 23:18:35 -06:00
Asif Bacchus
9e335224a0 func exitError for consistent error logging 2019-05-23 23:07:44 -06:00
Asif Bacchus
2b8941da51 stop seafile services if offline backup requested 2019-05-23 21:54:57 -06:00
Asif Bacchus
5c55002bb2 change varname to avoid conflict with func 2019-05-23 21:54:37 -06:00