Commit Graph

116 Commits

Author SHA1 Message Date
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
Asif Bacchus
d135646f86 update help text, rename .details files 2019-05-19 23:50:32 -06:00
Asif Bacchus
edc2c710db update sample exclude/include locations 2019-05-19 23:48:59 -06:00
Asif Bacchus
82eff9d8ae new directory structure and template files 2019-05-19 21:35:12 -06:00
Asif Bacchus
a9ec3113a1 quotes to prevent word-splitting 2019-05-19 20:43:06 -06:00
Asif Bacchus
21dbdcf1a6 fmt info for sqldump locations for consistency 2019-05-19 20:40:16 -06:00
Asif Bacchus
437837b774 update info notice about sqldump tmp locations 2019-05-19 20:38:23 -06:00
Asif Bacchus
b1f0377e27 update func cleanup to call svcSeafile 2019-05-19 20:34:41 -06:00
Asif Bacchus
8030ff42cf update error 200 text 2019-05-19 20:30:41 -06:00
Asif Bacchus
bc77da716f update SQL dump and var names 2019-05-19 01:21:02 -06:00
Asif Bacchus
ff9f970f39 update sqldump name generation 2019-05-19 01:00:27 -06:00
Asif Bacchus
b87a8e7d7e remove call to NCMaint, replace with svcSeafile 2019-05-19 00:50:42 -06:00
Asif Bacchus
75cae8c7e6 update 503 section 2019-05-19 00:49:22 -06:00
Asif Bacchus
ad2b7d4029 replace backticks 2019-05-19 00:42:51 -06:00
Asif Bacchus
1197ceb06f code formatting fix 2019-05-19 00:39:51 -06:00
Asif Bacchus
f854e31fd6 pre-req: seafile data dir 2019-05-19 00:37:43 -06:00
Asif Bacchus
1bd6ff7856 pre-req: seafile user account 2019-05-19 00:35:26 -06:00