Backup folder

This commit is contained in:
Michael Stanclift 2020-05-22 15:31:35 -05:00
parent 902e0743a8
commit c39b9280da
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
gravity-sync.log
gravity.db.last
gravity-sync.conf
!backup
backup/*

View File

@ -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}?"