* 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>
* 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
Co-authored-by: Philippe Ouellette <philippeouellette@protonmail.com>
Co-authored-by: djschnei21 <32646250+djschnei21@users.noreply.github.com>
* Delete all backups
* Remove push/pull files
* Maybe rusty on my Bash
* Don't delete backups if running a backup job
* AND THEN
* different if style
* Just don't delete anything
* Change messages
* BACKUP
* exempt cleanup from backup task
* deactivate sameline
* remove sameline
* Cleanup samelines
* More cleanup
* More sameline cleanup
* Increase timeout
* 3.4.6
* Variables not marked
* MATH
* MATH?
* more math in more places
* NEW MATH
* MAAAAATH
* I don't even know
* Keep trying
* PLEASE
* PLEASE
* Too many tested variables finally worked
* Add backup integrity wait
* silent_error_validate
* silent_error_validate removal
* Add the addition of an Environment Path variable in Crontab (#212)
* Add detection of missing path components and addition of path to crontab
* Fix bug where \n is inserted literally
* Fix `find` command invoke (Issue #220) (#223)
* 3.4.5
Co-authored-by: Michael Thompson <25192401+nh-mike@users.noreply.github.com>
Co-authored-by: benjaminfd <psyko_chewbacca@hotmail.com>
Co-authored-by: Michael Stanclift <vmstan@ms-macbook.local>
* Add backup timeout customization
* Different variable
* remote integrity check
* 3.4.2
* AND THEN
* words
* more words
* Add local backup integrity
* check local backup integrity
* Clarify duplicate backup verbage
* pulling
Co-authored-by: Michael Stanclift <vmstan@ms-constitution.local>
* new first line of script
* no requested
* Abort!
* Test silent folder validation
* sameline
* echo newline
* echo_sameline
* what happened?
* sameline for ssh
* sqlite sameline
* Lower case
* Reset line
* clear line
* Flip the line
* version update
* Backup lowercase
* More lowercase
* Remove file names from standard messages
* Breakout backup message
* Output backup folder size
* Just H
* Invalid replication settings
* Compare updated
* Colors and updates
* Lower case for version output
* For Pihole
* Cron cleanup
* Sudo, or no sudo.
* Branch!
* Silent error validate
* Silent error validate
* Clearing up status messages
* Records
* Primary and secondary
* Gravity database
* Domain Database
* Backup output cleanup
* Move file permission validation into new functions
* Change restart
* UI variables test
* Breakout UI variables into new file
* Unified validation functions
* Replace text strings with variables
* Replace text strings with variables
* Replace logging with variables
* Convert backup to UI variables
* Switch restore to UI variables
* Fix bug where gravity database did not restore
* App validation checks
* Rev to 3.4.0
* Convert Push functions to new strings
* Completing push UI changes
* remove added line
* Move purge to UI strings
* Move automation to UI strings
* Move core strings into UI
* Exit strings
* First pass at hashing UI
* Escape the remote system query (#179)
* hashing committed
Co-authored-by: Michael Stanclift <vmstan@mstanclift-a03.local>
Co-authored-by: Veduco <59983694+Veduco@users.noreply.github.com>
* Fix crash when using remote docker instance (#169)
When trying to compare / sync and where the remote host is based on Docker, an error will be displayed as per below:
invalid argument "pihole1" for "-f, --filter" flag: bad format of filter (expected name=value)
See 'docker ps --help'.
* 3.3.2
Co-authored-by: Michael Thompson <25192401+nh-mike@users.noreply.github.com>
Co-authored-by: Michael Stanclift <vmstan@mstanclift-a03.local>
* 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>
* 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.local>
* start 3.2.2
* -z
* !=
* “”
* headers
* Change to new PH_EXEC run
* Empty list detection for CNAME
* IGNORE list
* Skip Gravity logic
* oops
* Two == to be super serious
* variables are hard
* change colors
* the colors
* I’m getting rusty
* echo_lines
* 3.2.2
Co-authored-by: Michael Stanclift <vmstan@sovereign.local>
* 3.2.1
* Change FILE_OWNER & RILE_OWNER to use UID:GID (#128)
Adressing #99 - use UID:GID instead names to support pihole docker user.
* Cleanup tabs on main script
* Add pihole version output
* Output version based on Docker type
* AND THEN
* AND THEN AND THEN
* bash version
* add DNSMASQ to output
* Add GS version
* No color
* Custom settings
* VERIFY_PASS
* Reformat Remote info
* Info screen
* ssh v
* rsync
* -e
* no echo, duh
* header
* sqlite3 version output
* sudo git docker versions
* move spacer
* uname
* remove duplicate docs
Co-authored-by: Michael Stanclift <vmstan@sovereign.local>
Co-authored-by: Krzysiek Kurek <kk50657@sgh.waw.pl>
* Add configuration variables for DNSMASQ files and directories
* Move compare function to gs-core
* Words
* Add validation command for DNSMASQ
* conditional checking of cname folder
* Add CNAME file to md5 check
* Reanalyse CNAME
* Bug report #125
* Add varilable for GS conf file
* more syncing
* Version 3.2
* Add DNS folder validation to other tasks
* Backup CNAME files
* {}
* Add message if no local files are detected but selected for backup
* Add CNAME list to restore code
* Pull CNAME, validate permissions
* Add pull function to runtime
* Extra R
* Use new permission validation function
* Push CNAME function added
* Missing variable name
* Add MD5 logging for CNAME files
* Add CNAME to smart task
* Change location of remote DNSMASQ file backups
* 1 not 0
* Change backup folder location
* Remove {}?
* “”
* INCLUDE_CNAME
* Detect invalid CNAME configuration
* Explainers for CNAME enabling
Co-authored-by: Michael Stanclift <vmstan@sovereign.local>
* 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>
* 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>
* 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>
* 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>