Add verbiage for when the up and down are not used.
This commit is contained in:
@@ -66,6 +66,8 @@ rm -v TRASH/*
|
|||||||
if [[ "$down" == "TRUE" ]]; then
|
if [[ "$down" == "TRUE" ]]; then
|
||||||
echo -e "\n`date` - Take down services for a cold backup."
|
echo -e "\n`date` - Take down services for a cold backup."
|
||||||
manage.sh -d
|
manage.sh -d
|
||||||
|
else
|
||||||
|
echo -e "\n`date` - Skipping take down."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\n`date` - Create the backup for '$DOCKER_HOME'."
|
echo -e "\n`date` - Create the backup for '$DOCKER_HOME'."
|
||||||
@@ -84,6 +86,8 @@ chmod -v 755 $file
|
|||||||
if [[ "$up" == "TRUE" ]]; then
|
if [[ "$up" == "TRUE" ]]; then
|
||||||
echo -e "\n`date` - Bring services back up."
|
echo -e "\n`date` - Bring services back up."
|
||||||
manage.sh -u
|
manage.sh -u
|
||||||
|
else
|
||||||
|
echo -e "\n`date` - Skipping restoring services."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Finish ##
|
## Finish ##
|
||||||
|
|||||||
Reference in New Issue
Block a user