mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
MESSAGE variable test
This commit is contained in:
parent
c6b5153a87
commit
b3df6fcbe4
@ -67,7 +67,9 @@ function update_gs {
|
||||
# Pull Function
|
||||
function pull_gs {
|
||||
TASKTYPE='PULL'
|
||||
echo -e "[${CYAN}STAT${NC}] Pulling ${GRAVITY_FI} from ${REMOTE_HOST}"
|
||||
|
||||
MESSAGE="[${CYAN}STAT${NC}] Pulling ${GRAVITY_FI} from ${REMOTE_HOST}"
|
||||
echo -e "${MESSAGE}"
|
||||
rsync -v -e 'ssh -p 22' ${REMOTE_USER}@${REMOTE_HOST}:${PIHOLE_DIR}/${GRAVITY_FI} $HOME/${LOCAL_FOLDR}/${BACKUP_FOLD}/${GRAVITY_FI}.pull
|
||||
if_validate
|
||||
echo -e "[${CYAN}STAT${NC}] Backing Up Current ${GRAVITY_FI} on $HOSTNAME"
|
||||
|
Loading…
Reference in New Issue
Block a user