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 |
|
Asif Bacchus
|
2b5f8a0887
|
fix(BACKUP): initialize sqlDumpDirCreated
- initialize sqlDumpDirCreated to avoid 'unary operator expected' error
Closes 7
|
2021-02-05 01:11:16 -07:00 |
|
Asif Bacchus
|
85fae7f6c8
|
build(SHELLCHECK): add source paths
- add dummy mailcow.conf
- add source directives
- allows easier error checking using shellcheck
|
2021-02-05 01:08:23 -07:00 |
|
Asif Bacchus
|
32daba03b3
|
build(RIDER): add rider environment files
|
2021-02-05 01:07:12 -07:00 |
|
Asif Bacchus
|
a1aff03e2d
|
exclude vscode directory in export
|
2020-05-24 04:54:16 -06:00 |
|
Asif Bacchus
|
ee254a4356
|
switch to MIT license
|
2020-05-24 04:53:31 -06:00 |
|
Asif Bacchus
|
0680485ab8
|
fix typo
|
2020-05-24 04:51:43 -06:00 |
|
Asif Bacchus
|
f89d8f26a7
|
change final notes heading capitalization
|
2020-05-24 04:51:04 -06:00 |
|
Asif Bacchus
|
f90b97fc9b
|
proofreading
|
2020-05-24 04:50:24 -06:00 |
|
Asif Bacchus
|
8680f91572
|
update readme to reference wiki
|
2020-05-24 04:48:21 -06:00 |
|
Asif Bacchus
|
b6c05e4ccb
|
update logwatch readme to point to wiki
|
2020-05-24 03:55:20 -06:00 |
|
Asif Bacchus
|
7293a29a05
|
include mailcow.conf directory in backup
|
2020-05-07 04:59:37 -06:00 |
|
Asif Bacchus
|
8486c4b7d2
|
make xtraList optional
|
2020-05-07 04:58:26 -06:00 |
|
Asif Bacchus
|
f57841b69a
|
update in-script help
|
2020-05-07 01:43:53 -06:00 |
|
Asif Bacchus
|
4d407887d5
|
change default docker-compose path
|
2020-05-07 01:35:20 -06:00 |
|
Asif Bacchus
|
6f59804cfc
|
docker-compose and mailcow-config accept full path
|
2020-05-07 01:34:43 -06:00 |
|
Asif Bacchus
|
b5247a085e
|
switch to mailcow directory to allow docker cmds
|
2020-05-07 01:10:26 -06:00 |
|
Asif Bacchus
|
2432139f3d
|
simplify mcConfig existance check
|
2020-05-07 01:08:36 -06:00 |
|
Asif Bacchus
|
5f0eddf22a
|
add mailcow.conf location in docker-compose cmds
|
2020-05-07 01:00:14 -06:00 |
|
Asif Bacchus
|
09c1d903ba
|
move sql dump earlier in script
Borg requires the default TMP dir be changed to avoid permissions issue.
Moving earlier means SQL dumps to system default TMP location.
|
2020-05-07 00:58:27 -06:00 |
|
Asif Bacchus
|
51928d4327
|
fix error in default docker-compose location
|
2020-05-07 00:47:34 -06:00 |
|
Asif Bacchus
|
a7f506efb0
|
add mailcow as example xtra file location
|
2020-05-07 00:42:56 -06:00 |
|
Asif Bacchus
|
0993083a7b
|
mark script executable
|
2020-05-07 00:33:50 -06:00 |
|
Asif Bacchus
|
5448848c36
|
update default sample paths
|
2020-05-07 00:32:58 -06:00 |
|
Asif Bacchus
|
5667204378
|
remove old bash script version
|
2020-05-07 00:22:41 -06:00 |
|
Asif Bacchus
|
ca1186d855
|
reset bookmarks
|
2020-05-07 00:18:50 -06:00 |
|
Asif Bacchus
|
f8561a3aab
|
restart docker containers in cleanup function
|
2020-05-07 00:17:41 -06:00 |
|
Asif Bacchus
|
1b68616e54
|
fix wrong container name
|
2020-05-07 00:16:01 -06:00 |
|
Asif Bacchus
|
51120491d5
|
add mc locations to borgbackup cmd
|
2020-05-07 00:08:47 -06:00 |
|
Asif Bacchus
|
abdbb44922
|
dump redis db
|
2020-05-07 00:01:21 -06:00 |
|
Asif Bacchus
|
ca62d81368
|
dump sql
|
2020-05-06 23:54:31 -06:00 |
|
Asif Bacchus
|
72e396fa64
|
fix error in printf format string
|
2020-05-06 23:53:02 -06:00 |
|
Asif Bacchus
|
992f8ef16e
|
stop containers before backup starts
|
2020-05-06 23:38:26 -06:00 |
|
Asif Bacchus
|
9d7b7e1a94
|
add func doDocker
|
2020-05-06 23:32:53 -06:00 |
|
Asif Bacchus
|
4fb6315643
|
clean up function names for consistency
|
2020-05-06 23:18:01 -06:00 |
|
Asif Bacchus
|
d9c662bb45
|
move sql temp dir creation and 503-copy
moved to after borg configuration checks to consoldate checks vs actions
|
2020-05-06 23:02:07 -06:00 |
|
Asif Bacchus
|
e9884a347f
|
note err code for sql temp dir creation fail
|
2020-05-06 22:59:35 -06:00 |
|
Asif Bacchus
|
8a5a87db12
|
add SQL directory to cleanup
|
2020-05-06 22:57:41 -06:00 |
|