Commit Graph

26 Commits

Author SHA1 Message Date
Asif Bacchus
f28ad5e6e7 refactor(RESTORE): add logging for mailcow start/stop 2021-02-09 06:45:30 -07:00
Asif Bacchus
06df565348 style(RESTORE): add space before append redirects 2021-02-09 06:42:27 -07:00
Asif Bacchus
ea0d98734a fix(RESTORE): fix accidental log file overwrite vs append 2021-02-09 06:39:38 -07:00
Asif Bacchus
b07ad2c0ee perf(RESTORE): use docker-compose stop timeout 2021-02-09 06:01:04 -07:00
Asif Bacchus
84605567cd feature(RESTORE): restart mailcow after completion 2021-02-09 05:59:37 -07:00
Asif Bacchus
8c6019f7da feature(RESTORE): process secondary volume restoration 2021-02-09 05:48:17 -07:00
Asif Bacchus
363c970f2f refactor(RESTORE): create and use restore function
- single function to handle non-SQL restore operations
- replace previous mail and crypt restore with new function
2021-02-09 05:41:56 -07:00
Asif Bacchus
cc30581382 feature(RESTORE): restore mail and encryption key 2021-02-09 05:00:08 -07:00
Asif Bacchus
c9b85d084e feature(RESTORE): stop docker containers and confirm 2021-02-08 11:30:39 -07:00
Asif Bacchus
bf18c80f94 refactor(RESTORE): execute docker-compose silently 2021-02-08 10:59:47 -07:00
Asif Bacchus
764f35a695 docs(RESTORE): update error message list 2021-02-08 10:53:14 -07:00
Asif Bacchus
ba212f738f feature(RESTORE): clearer more accurate exit report messages
- change exit messages based on errors, warnings, etc.
- separate error codes for exit with non-crit err and/or warnings
2021-02-08 10:52:17 -07:00
Asif Bacchus
59cc9a5d66 fix(RESTORE): increment errorCount on SQL import error 2021-02-08 10:39:35 -07:00
Asif Bacchus
7b3ff7f6ae fix(RESTORE): strip trailing slash from backup-location 2021-02-08 10:31:03 -07:00
Asif Bacchus
78e1ed2539 perf(RESTORE): remove duplicate backup-location existence check 2021-02-08 10:28:21 -07:00
Asif Bacchus
af4fcf3cf3 fix(RESTORE): exit on invalid backup location 2021-02-08 10:25:24 -07:00
Asif Bacchus
561437d667 fix(RESTORE): fix printf err 2021-02-08 10:24:19 -07:00
Asif Bacchus
e4cd29fd42 feature(RESTORE): restore SQL database 2021-02-08 09:43:49 -07:00
Asif Bacchus
54ca63657f fix(RESTORE): change to mc directory before imports 2021-02-08 09:21:25 -07:00
Asif Bacchus
de96d55268 refactor(RESTORE): update imported code to use writeLog func 2021-02-08 08:56:12 -07:00
Asif Bacchus
1d793dc291 feature(RESTORE): abort if mc not pre-initialized 2021-02-08 08:46:14 -07:00
Asif Bacchus
7ce419d3eb struct(RESTORE): remove borg integration
- require backup already downloaded/copied on local system
- removes need for borg
- far reduced complexity
2021-02-08 08:15:46 -07:00
Asif Bacchus
eadba0bee9 struct(RESTORE): add param processing 2021-02-08 08:06:41 -07:00
Asif Bacchus
9a363d8510 fix(RESTORE): move path to pre-flight
- export path so pre-flight checks are using consistent env
2021-02-08 07:11:47 -07:00
Asif Bacchus
5c7064e2bd style(RESTORE): reformat 2021-02-05 03:11:10 -07:00
Asif Bacchus
1cbbf3d66d feature(RESTORE): restore script skeleton
- non functional, scaffolding only
2021-02-05 03:09:46 -07:00