Skip to content
Snippets Groups Projects
Commit a0778872 authored by felmer's avatar felmer
Browse files

remove ':' in snapshot file name time stamps

SVN: 22894
parent d8b210a5
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ SERVERS="$1" ...@@ -27,7 +27,7 @@ SERVERS="$1"
REPOSITORY="$2" REPOSITORY="$2"
shift 2 shift 2
TIMESTAMP=`date +%Y-%m-%d_%H:%M:%S` TIMESTAMP=`date +%Y-%m-%d_%H%M%S`
SNAPSHOT_FOLDER_NAME="openbis-config-snapshot-$TIMESTAMP" SNAPSHOT_FOLDER_NAME="openbis-config-snapshot-$TIMESTAMP"
SNAPSHOT="$REPOSITORY/$SNAPSHOT_FOLDER_NAME" SNAPSHOT="$REPOSITORY/$SNAPSHOT_FOLDER_NAME"
......
...@@ -71,7 +71,7 @@ if [ ! -d "$INDEX" ]; then ...@@ -71,7 +71,7 @@ if [ ! -d "$INDEX" ]; then
echo "Index folder $INDEX doesn't exist." echo "Index folder $INDEX doesn't exist."
exit 1 exit 1
fi fi
TIMESTAMP=`date +%Y-%m-%d_%H:%M:%S` TIMESTAMP=`date +%Y-%m-%d_%H%M%S`
SNAPSHOT_FOLDER_NAME="openbis-snapshot-$TIMESTAMP" SNAPSHOT_FOLDER_NAME="openbis-snapshot-$TIMESTAMP"
SNAPSHOT="$REPOSITORY/$SNAPSHOT_FOLDER_NAME" SNAPSHOT="$REPOSITORY/$SNAPSHOT_FOLDER_NAME"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment