From d9105b391e20880a9bfe30ea07f22d46cd4e348d Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 21 Oct 2020 16:06:03 -0500 Subject: [PATCH] Created Removal (markdown) --- Removal.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Removal.md diff --git a/Removal.md b/Removal.md new file mode 100644 index 0000000..4e5825e --- /dev/null +++ b/Removal.md @@ -0,0 +1,25 @@ +Gravity Sync has a built in tool to purge everything custom about itself from the system. This can be used to reset a failed install, or in the lead up to removing Gravity Sync completely if it's no longer useful for you. + +```bash +./gravity-sync.sh purge +``` + +This will remove: + +- All backups files. +- Your `gravity-sync.conf` file. +- All cronjob/automation tasks. +- All job history/logs. +- The SSH id_rsa keys associated with Gravity Sync. + +This function will totally wipe out your existing Gravity Sync installation and reset it to the default state for the version you are running. If all troubleshooting of a bad installation fails, this is the command of last resort. + +**This will not impact any of the Pi-hole binaries, configuration files, directories, services, etc.** Your Adlist database and Local Custom DNS records will no longer sync, but they will be in the status they were prior to when Gravity Sync was removed. + +### Uninstalling + +If you are completely uninstalling Gravity Sync, the last step would be to remove the `gravity-sync` folder from your installation directory. + +```bash +rm -fr gravity-sync +``` \ No newline at end of file