diff --git a/.gitignore b/.gitignore index 04c1bf9..26c7cf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ gravity-sync.log gravity.db.last gravity-sync.conf +!backup +backup/* diff --git a/gravity-sync.sh b/gravity-sync.sh index 2226a94..b204aa3 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -89,7 +89,7 @@ function push_gs { TASKTYPE='PUSH' echo -e "[${PURPLE}WARN${NC}] DATA LOSS IS POSSIBLE" echo -e "The standard use of this script is to ${YELLOW}PULL${NC} data from the primary PH server to the secondary." - echo -e "By issuing a ${YELLOW}PUSH${NC} we will overwrite ${GRAVITY_FI} on ${YELLOW}${REMOTE_HOST}${NC} with ${YELLOW}$HOSTNAME${NC} data." + echo -e "By issuing a ${YELLOW}PUSH${NC} we will overwrite ${GRAVITY_FI} on ${YELLOW}${REMOTE_HOST}${NC} with ${YELLOW}$HOSTNAME${NC} server data." echo -e "No backup copies are made on the primary Pihole before or after executing this command!" echo -e "" echo -e "Are you sure you want to overwrite the primary node configuration on ${REMOTE_HOST}?"