Tell the user that the backup is in progress...
This commit is contained in:
parent
5c822159ca
commit
f7446e8516
1 changed files with 3 additions and 0 deletions
|
@ -248,6 +248,9 @@ while [ "$i" -lt "$no_shares" ]; do
|
||||||
destination_dir="$c_dest/${INTERVALL}.${destination_date}.$$"
|
destination_dir="$c_dest/${INTERVALL}.${destination_date}.$$"
|
||||||
|
|
||||||
last_dir=$(ls -d "$c_dest/${INTERVALL}."?* 2>/dev/null | sort -n | tail -n 1)
|
last_dir=$(ls -d "$c_dest/${INTERVALL}."?* 2>/dev/null | sort -n | tail -n 1)
|
||||||
|
|
||||||
|
# give some info
|
||||||
|
echo "|-> Beginning to backup, this may take some time..."
|
||||||
|
|
||||||
# only copy if a directory exists
|
# only copy if a directory exists
|
||||||
if [ "$last_dir" ]; then
|
if [ "$last_dir" ]; then
|
||||||
|
|
Loading…
Reference in a new issue