Commit Graph

706 Commits

Author SHA1 Message Date
Michael Stanclift
3ba0198cbf 3.1.0(2) 2020-10-20 22:01:10 +00:00
Michael Stanclift
e8d6eaf832 3.1.0(1) 2020-10-20 15:38:21 +00:00
Michael Stanclift
c07a7c0572 3.1.0(1) 2020-10-20 04:32:22 +00:00
Michael Stanclift
ce3e17e244 3.1.0(8) 2020-10-20 02:47:43 +00:00
Michael Stanclift
899dc8d83a 3.1.0(7) 2020-10-20 02:45:16 +00:00
Michael Stanclift
9189f901c6 3.1.0(7) 2020-10-20 02:41:17 +00:00
Michael Stanclift
752995bac0 3.1.0(6) 2020-10-20 02:31:09 +00:00
Michael Stanclift
3e1986a824 3.1.0(5) 2020-10-20 02:29:24 +00:00
Michael Stanclift
b65dd5cb75 3.1.0(4) 2020-10-20 02:08:00 +00:00
Michael Stanclift
844147240b 3.1.0(3) 2020-10-19 22:59:55 +00:00
Michael Stanclift
c2201b3f8c 3.1.0(2) 2020-10-19 22:44:02 +00:00
Michael Stanclift
915ed1dd66 3.1.0(1) 2020-10-19 22:28:50 +00:00
Michael Stanclift
6551ae88c7
3.1.0 (#105)
* Begin work on Docker support

* rewrite permission detection

* wrong else

* Change pihole detection based on sudo results

* Write out to devnull

* nosodo handle

* AND then

* scanning

* nosudo more

* clearer wording on failures

* headers

* handle nosudo on docker detection better

* SUDO sudo

* AND THEN

* status report rewrite

* link

* alert on no local install detected

* yellow headers like the rest of GS

* semi critical issues

* purple instead of red

* clean up output of sudo detection

* give me space

* Auto run config script

* added logo

* center logo

* move intro

* trying dev/tty

* advanced config generate

* !=

* logic is hard

* new logo

* image

* fonts

* svg image

* remove h1

* use rihole variable

* New root check

* better method of checking sudo

* remove messages

* rihole

* attempting realpath

* GS_FILEPATH

* remove $HOME call

* remove config requirement for updates

* no config for updates

* all the variables

* all kinds of variable replacements

* double quotes

* it’s like I’ve forgotten how to write this stuff

* removals

* updated requirements

* variable rearrangement

* validation check for docker

* riholes

* placeholder

* more riholes

* even more riholes

* docker examples

* docker rewrite

* docker docker docker

* docker custom checks

* update from anywhere

* correct validation error

* check for current owner only if local install

* give me space

* stuff

* more stuff

* bash alias creation

* cleanup installer

* fix .sh

* config errors, remove sshpass validation

* skip directories if done

* limit config script

* fix for changes when both targets have changed

* RIHOLE

* cleanup warning messages

* stop sign

* big red

* documenting new variables

* master

Co-authored-by: Michael Stanclift <vmstan@sovereign.vmstan.net>
Co-authored-by: Michael Stanclift <vmstan@sovereign.local>
2020-10-19 13:48:23 -05:00
Michael Stanclift
5126ce48fc
Update gs-install.sh 2020-10-15 22:33:01 -05:00
Michael Stanclift
d6d5faf54a
Update gs-install.sh 2020-10-15 22:31:09 -05:00
Michael Stanclift
7d09218524
3.0.2 (#104)
* version change

* Nova

* No-config function

* Markdown cleanup

* Create gs-core file

* correct missing includes via cron

Co-authored-by: Michael Stanclift <vmstan@Sovereign.vmstan.net>
Co-authored-by: Michael Stanclift <vmstan@sovereign.local>
2020-10-10 11:30:40 -05:00
Michael Stanclift
c1b71ec996 3.0.1(1) 2020-10-08 20:45:03 -05:00
Michael Stanclift
d94e7c711b
3.0.1 (#101)
* 3.0.1 start

* words

* fix remote file owner setting

* fi

* fix missing sudo directory

* ALL

* 301

Co-authored-by: Michael Stanclift <vmstan@Sovereign.vmstan.net>
2020-10-08 20:39:30 -05:00
Michael Stanclift
d8ec0eb3c0 3.0.0(2) 2020-10-07 22:17:10 -05:00
Michael Stanclift
ead57c2506 3.0.0(2) 2020-10-07 22:16:45 -05:00
Michael Stanclift
75c0f8a40c don't backup on config 2020-10-07 22:03:08 -05:00
Michael Stanclift
b7e50324c2 Merge branch 'master' of https://github.com/vmstan/gravity-sync 2020-10-07 22:02:38 -05:00
Michael Stanclift
d9163eb595 3.0.0(1) 2020-10-07 22:00:20 -05:00
Michael Stanclift
9dae851a9c
3.0.0 (#100)
* first!

* folders

* break out colors

* home

* seperate update

* breakout pull

* move file

* breakout push

* breakout smart

* restore breakout

* include restore

* breakout logs validate ssh

* breakout config exit intent

* source exit

* breakout backup automation and purge

* breakout root

* file headers

* create push pull restore smart functions

* consolidate options

* include root check

* includes

* includes 2

* automate

* rearrange imports

* header

* ssh rsync

* new install steps

* ticks

* yellow

* host check

* check for git

* ticks

* check for pihole

* check sudo powers

* create sudo file

* write output

* pihole directory

* install sudo file

* purge error message

* comment cleanup

* installer

* header

* instructions

* l

* read p

* header

* skip prompts

* sudo no longer in config

* compare exit code

* exit with change

* 3.0

Co-authored-by: Michael Stanclift <vmstan@Sovereign.vmstan.net>
Co-authored-by: Michael Stanclift <vmstan@Sovereign.local>
2020-10-07 17:45:39 -05:00
Michael Stanclift
d23ae53628
2.2.3 (#98)
* feat: add option to override file owner setting (#94)

* Merge changes

* Change beta updater

* Dev branch changes

* Add check for SQLite3

* SQLite message formattitng

* sqlite

* repo checks

* sudoers file

* add sudo file

* sudoer auto

* overwrite not append

* sudo docs

* sudo instructions

* SUDO instructions

Co-authored-by: Dylan Praul <dpraul@users.noreply.github.com>
Co-authored-by: Michael Stanclift <vmstan@Sovereign.vmstan.net>
2020-10-02 14:01:17 -05:00
Michael Stanclift
3a2eed97f6 2.2.2(1) 2020-10-01 15:29:06 -05:00
Michael Stanclift
82b7d887cc 2.2.2 2020-10-01 15:26:35 -05:00
Michael Stanclift
986f1092e9 Move backup to after detection 2020-10-01 15:05:23 -05:00
Michael Stanclift
b6c74d2283
Update README.md 2020-09-10 10:26:40 -05:00
Michael Stanclift
6e32107478
Update README.md 2020-09-10 10:26:05 -05:00
Callum Oakley
8d5c725d0c
s/insure/ensure (#91) 2020-09-04 15:50:50 -05:00
Michael Stanclift
9a420994d3 Pi-hole 2020-08-18 10:10:43 -05:00
Michael Stanclift
17325791fc 2.2.1 2020-08-18 10:09:13 -05:00
Michael Stanclift
572abc07e1 pull if no local custom list 2020-08-18 09:54:26 -05:00
Michael Stanclift
8d7a61ca55 fix missing custom list detection 2020-08-18 09:51:38 -05:00
Michael Stanclift
4aa301f179
2.2.0 (#81)
* import config file before executing

* show_target function

* git

* Sync back (#72)

* 2.1.6 beta 1 (#65)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

* 2.1.6 beta 2 (#67)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* 2.1.7 (#70)

* import config file before executing

* show_target function

* git

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* Sync back (#73)

* 2.1.6 beta 1 (#65)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

* 2.1.6 beta 2 (#67)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* spellcheck is awesome

* I speel reel gurd

* Spelling sucks

* Update remote backup timeout to 60

This will avoid [ FAIL ] Performing Backup of Remote gravity.db

* readme updates

* spelling

* extra fi

* config cleanup

* hide if dbclient installed but also ssh

* move backup in config

* backup process in configure

* 2.2.0 beta 1 (#78)

* 2.1.6 beta 1 (#65)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

* 2.1.6 beta 2 (#67)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* import config file before executing

* show_target function

* git

* Sync back (#72)

* 2.1.6 beta 1 (#65)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

* 2.1.6 beta 2 (#67)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* 2.1.7 (#70)

* import config file before executing

* show_target function

* git

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* spellcheck is awesome

* I speel reel gurd

* Spelling sucks

* Update remote backup timeout to 60

This will avoid [ FAIL ] Performing Backup of Remote gravity.db

* readme updates

* spelling

* extra fi

* config cleanup

* hide if dbclient installed but also ssh

* move backup in config

* backup process in configure

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>
Co-authored-by: Sungray <ced.lapage@gmail.com>
Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.local>

* THE PURGE

* PURGE IT

* PURRRRRRGE

* Purged Release

* if beta

* pihole note

* silence git output

* 2.2.0 beta 2 (#79)

* 2.1.6 beta 1 (#65)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

* 2.1.6 beta 2 (#67)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* import config file before executing

* show_target function

* git

* Sync back (#72)

* 2.1.6 beta 1 (#65)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

* 2.1.6 beta 2 (#67)

* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* 2.1.7 (#70)

* import config file before executing

* show_target function

* git

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>

* spellcheck is awesome

* I speel reel gurd

* Spelling sucks

* Update remote backup timeout to 60

This will avoid [ FAIL ] Performing Backup of Remote gravity.db

* readme updates

* spelling

* extra fi

* config cleanup

* hide if dbclient installed but also ssh

* move backup in config

* backup process in configure

* THE PURGE

* PURGE IT

* PURRRRRRGE

* Purged Release

* if beta

* pihole note

* silence git output

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>
Co-authored-by: Sungray <ced.lapage@gmail.com>
Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.local>

* Installation instructions.

* bash

* words

* purge now updates

* purge reword

* more warnigns

* 2.2.0

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>
Co-authored-by: Sungray <ced.lapage@gmail.com>
Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.local>
2020-07-21 00:14:20 -05:00
Michael Stanclift
0275a79573 Merge branch 'master' of https://github.com/vmstan/gravity-sync 2020-07-17 09:52:05 -05:00
Michael Stanclift
75e8ed3e0a Merge branch 'beta' 2020-07-17 09:47:19 -05:00
Michael Stanclift
fb2ae38723
2.1.7 (#70)
* import config file before executing

* show_target function

* git

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
2020-07-17 09:45:08 -05:00
Michael Stanclift
a91c27b6b3 Merge branch 'beta' of https://github.com/vmstan/gravity-sync into beta 2020-07-16 22:23:26 -05:00
Michael Stanclift
d773315d5d Merge branch 'development' into beta 2020-07-16 22:22:06 -05:00
Michael Stanclift
1afc7cd521 rebase 2020-07-16 22:02:46 -05:00
Michael Stanclift
5eeb162150 2.1.6 beta 2 (#67)
* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>
2020-07-16 22:00:37 -05:00
Michael Stanclift
bf5ec296ee 2.1.6 beta 1 (#65)
* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
2020-07-16 22:00:37 -05:00
Michael Stanclift
b0f1c6d4c7 advanced md 2020-07-16 13:55:22 -05:00
Michael Stanclift
ba034a586c
2.1.6 beta 2 (#67)
* select different files for restore

* star trek reference

* Log backup jobs

* color restore

* ping avoid and custom ssh prompts

* z variable

* or

* []

* new method for defaults

* variables matter

* or this?

* making it specific

* adv conf: add ROOT_CHECK_AVOID for container. (#64)

* adv conf: add ROOT_CHECK_AVOID for container.
import_gs only once at start

* allow parameters for automation option

Co-authored-by: Michael Stanclift <mstanclift@vmware.com>

* Post PR cleanup

* Thanks for fbourqui

* readjusts import_gs

Co-authored-by: Michael Stanclift <vmstan@MS-MacBook.vmstan.net>
Co-authored-by: fbourqui <fbourqui@yahoo.com>
2020-07-16 13:42:42 -05:00
Michael Stanclift
da044cb5a3
Merge branch 'beta' into development 2020-07-16 13:42:31 -05:00
Michael Stanclift
6063363773 readjusts import_gs 2020-07-16 13:37:27 -05:00
Michael Stanclift
5fc12be73b Thanks for fbourqui 2020-07-16 13:18:51 -05:00
Michael Stanclift
9a8e49f07c Post PR cleanup 2020-07-16 13:15:38 -05:00