Commit Graph

13 Commits

Author SHA1 Message Date
Michael Stanclift
41ecce4b5a
4.0.0 (#317)
* 4.0.0

* drop .sh

* chmod +x

* change pull locations

* push

* change folders

* cleanup extensions

* error with cname push

* backup purge redone

* back to the CORE!

* remove references to backup folder

* rename pihole container image variable

* rename pihole binary variables

* rename docker binary variables

* rename pihole dir variables

* data names

* remote and local

* DNSMASQ folders

* remove dnsmasq

* more variable renames

* fix config location

* fix import path

* validate gs folder fix

* remove references to LOCAL_FOLDR

* updater moving into place

* create update script

* "

* change context?

* remove git check

* add ( back

* Fix automation path

* replace standalone SQLite with FTL

* remote

* adjust docker folder locations

* fix remote location

* remove sqlite validation

* remove all references to cron

* config rewrite

* soruce config file

* remote file not dir

* hidden figures

* config file

* remove references to dropbear

* remove backup cleanup from most tasks

* remove gs folder validation

* remove ssh detection

* static set ssh

* id_rsa

* extra line

* echo lines

* retain previous config file

* isolinear

* ∞

* rearrange info

* remove bash path

* check replication status

* check timer instead

* dev mode against new repo location

* rewrite purge

* path

* add default file owner back

* simpler

* /usr/bin/bash

* fix ftl binary location

* whoami

* remote FTL

* don't delete from remote

* purge it

* remove path not name

* sudo tee

* tee off instead of echo out

* sudo sudo sudo

* sudo all the things

* Even more sudo

* how much more can you sudo

* change keyfile permissions

* remote/local

* all the sudo

* sudo in your rsync

* pull to tmp

* sudo copied

* silence tee

* New keyfile creation method

* send hash to the other side

* saving hashes

* directions are hard

* reverse hash for the other side

* remote ping test from config

* further randomize replication times

* rerandom

* fix bash call to update.sh

* Remove now-unused UI code

* remove legacy distro check code

* UI FILE PERMISSION spelling

* read -r

* GS_INTENT_VALIDATE

* remove intent validation from push

* cleanup tasks

* remove cname opt-out

* remove DNS options

* rename validation and set functions

* import_gs

* replace primary/local

* relocate file owner variables

* set variable for /tmp

* just set file permissions don't bother checking

* set file permissions

* remove extra message

* md5 variable renames

* replacing pri/sec variable names in smart sync

* .gsbackup replaced

* cleanup then

* removing compensation

* More primary and secondary references removed

* README update

* Update README.md

* new md5 variable

* multiple md5 hash logs

* gravity db listed twice

* md52 deletion at remote

* rename on sync

* move after send

* try try again

* this should work

* force it

* now for something completely different

* remove ;

* KISS

* KISS2

* fix hashing lookups

* set remote hash permissions

* vary info output

* remove unused functions

* new docs uploaded for publishing to wiki

* new system requirements

* words

* host

* rewrite install instructions

* rewrite install instructions

* rewrite all the thing

* massive variable renames

* building out dockerfile

* switch to photon

* change all if then style to single line

* cd || exit

* reformat math

* ${SSHPASSWORD} references removed

* OS_SSH_CMD set in variables

* cleanup function calls

* remove old root_check function

* cleaning up more variables

* more variable cleanup

* Line

* rewrite all of pihole detection

* echo_good

* >/dev/null 2>&1

* detecting local message

* sed?

* | sed 's/\s.*$//'

* fix sed

* no more whiches

* 2>/dev/null some more

* massive config rewrite for advanced workflow

* fix prompt

* output remote images

* echo again

* remote again

* cats?

* detect container locations

* fix space

* rewrite remote detection

* remote not local

* don't delete remote

* exec then rsync

* move lines

* enclose

* dont var

* daft

* quotes

* remove variable

* run you booger

* REMOTE

* remove echo_lines

* no config for more commands

* no config again

* shellcheck

* comment cleanup

* spell check is wonderful

* change docker container name output

* escape more quotes

* simpler command for remote side

* scape that?

* maybe less, i dunno

* try both lists again

* change spacing and line breaks

* streamline status icons for configuration

* retrieving remote settings

* error_validate

* disable task

* fix disable task

* detect_gs_peer

* task_purge doesn't use config

* remote message

* fallback

* " "

* comments

* add monitor mode

* Adds .sh script back as upgrader

* upgrader in old script

* reverse logic

* pretty upgrade script

* migration complete

* change template directory

* check for crontab hash

* user not host

* silence hash for crontab check

* warn

* warning

* reword config ending

* missing "

* os-release

* blue

* disable automation doesn't require config

* move stop

* signing off on 4.0
2022-04-11 17:06:09 -05:00
Michael Stanclift
3a125a2e30
3.5.0 (#296)
* Fixed typo (#269)

* Fix cache wipe (#282)

* Update gs-pull.sh

`restartdns          Full restart Pi-hole subsystems
                        Add 'reload' to update the lists and flush the cache without restarting the DNS server
                        Add 'reload-lists' to only update the lists WITHOUT flushing the cache or restarting the DNS server`
fixing typo

* Update gs-push.sh

fixing typo

* Update VERSION

* Update gravity-sync.sh

* new version

* Clear backup directory

* Cleanup after updating

* remove backup functions

* Remove reference to backup and restore functions

* Change backup references to copy

* Host

* Remove reference to backup retention

* Remove reference to backup retention

Co-authored-by: Philippe Ouellette <philippeouellette@protonmail.com>
Co-authored-by: djschnei21 <32646250+djschnei21@users.noreply.github.com>
2022-02-25 12:25:57 -06:00
Michael Stanclift
97735f19f1
3.3.0 (#161)
* Catch up 3.3 (#142)

* 3.2.5 (#140)

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

* Adds backup cleanup back to process

* Add backup cleanup to compare script when no changes are detected.

* Trek reference

* Redundant

* 3.2.6

* 3.2.6

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

* Beginning 3.3.0 work

* Podman support

* Support for pihole running in a podman container (#138)

* add support for pihole running in a podman container

* revert renaming of DOCKER_CON to CON_NAME to avoid breaking existing installations

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

* Add sudo to call of Pihole container version

* Use dev branch pipe

* Without origin

* ascii

* rotate logo

* Move config files to settings folder

* MIssed an important one

* Relocate logs files

* Filling empty directory

* Regression of sudo fix

* Logs

* More words

* Change sync frequency options

* Remove backup automation

* Bold questions

* name

* elif

* BACKUP_RETAIN=3

* Remove automation flag

* == not !=

* Rearrange

* IF

* Default to 0

* 15 default

* More words!

* ELSE

* tighter columns

* Instance type

* Y/N

Co-authored-by: Michael Stanclift <vmstan@mstanclift-a03.vmware.com>
Co-authored-by: Michael Stanclift <vmstan@mstanclift-a03.local>
Co-authored-by: Martin F. Schumann <mfs@mfs.name>
2021-02-09 16:05:17 -06:00
Michael Stanclift
a40d2bcefa
Update .gitignore 2020-10-21 14:39:54 -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
37fd78858d Import last hashes 2020-06-29 09:21:50 -05:00
Michael Stanclift
dc9696c5ac Different method of updating with developer settings 2020-05-29 21:28:22 -05:00
Michael Stanclift
b8f8262c5e Added .cron file to ignore 2020-05-23 14:35:04 -05:00
Michael Stanclift
851a5e0325 Backup remote copy before push 2020-05-23 13:28:03 -05:00
Michael Stanclift
bd46d5e5f5 I want that folder 2020-05-22 15:33:51 -05:00
Michael Stanclift
c39b9280da Backup folder 2020-05-22 15:31:35 -05:00
Michael Stanclift
a7f9ff1aee Ignore config file 2020-05-21 15:48:53 -05:00
Michael Stanclift
52b7457cd1 Create .gitignore
Ignore sync log and database backup
2020-05-21 13:18:31 -05:00