Skip to content
Snippets Groups Projects
Commit aa3a88f5 authored by Ugo Albanese's avatar Ugo Albanese
Browse files

[NRRPLT-0000] Fix nrpStorage zip name

parent fb2d8f65
No related branches found
No related tags found
No related merge requests found
......@@ -346,8 +346,8 @@ function backup_storage() {
else
my_date=$(date +%d.%m.%y-%H:%I)
back_name=NRP_STORAGE_"$my_date".bak.zip
zip -r ../back_name ./* 1> /dev/null 2>&1
echo "$back_name was created in $(dirname $STORAGE_PATH)"
zip -r ../"$back_name" ./* 1> /dev/null 2>&1
echo "$back_name was created in $(dirname "$STORAGE_PATH")"
fi
popd >/dev/null || { echo ERROR; exit 1; }
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment