Commit Graph

132 Commits

Author SHA1 Message Date
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
Asif Bacchus
b94fef7db2 func seafSvc: proper logging 2019-05-23 21:54:19 -06:00
Asif Bacchus
b91fd028b8 fix symantec best practice on empty var 2019-05-23 21:46:34 -06:00
Asif Bacchus
1b3b151008 check for file/dir DNE 2019-05-23 21:43:30 -06:00
Asif Bacchus
6c5ea52c68 check for bad seafile sys username 2019-05-23 21:43:12 -06:00
Asif Bacchus
b9aa8d33f4 func badParam: add bad username 2019-05-23 21:42:35 -06:00
Asif Bacchus
5e985f941e func badParam to handle missing or invalid params 2019-05-23 21:24:29 -06:00
Asif Bacchus
2f8271e636 error code reference 2019-05-23 21:19:28 -06:00
Asif Bacchus
44e2b93377 process parameters 2019-05-23 21:06:49 -06:00
Asif Bacchus
fabea27ffd set default variable values 2019-05-23 20:57:05 -06:00
Asif Bacchus
d14bc2a77f update gitignore 2019-05-22 23:07:21 -06:00
Asif Bacchus
1f5f201d93 func seafSvc to control services 2019-05-22 22:58:07 -06:00
Asif Bacchus
415f329229 new posix backup script -- skeleton 2019-05-21 17:27:10 -06:00
Asif Bacchus
e3a808f0d7 update gitignore 2019-05-21 17:23:57 -06:00
Asif Bacchus
c203f438fb add -p to help text 2019-05-20 00:09:59 -06:00
Asif Bacchus
dab92e54c0 update borgbackup cmd to include seaf dirs 2019-05-20 00:01:50 -06:00
Asif Bacchus
21da2e51de update template .details files 2019-05-19 23:54:01 -06:00