diff --git a/test/endtoend/utils.sh b/test/endtoend/utils.sh index f60cff27..c1b1bb9a 100644 --- a/test/endtoend/utils.sh +++ b/test/endtoend/utils.sh @@ -114,7 +114,7 @@ function restoreBackup() { fi # Issue the PITR restore command to vtctldclient. - vtctldclient RestoreFromBackup --restore-to-timestamp $(date -u "+%Y-%m-%dT%H:%M:%S") "${tabletAlias}" + vtctldclient RestoreFromBackup --restore-to-timestamp $(date -u "+%Y-%m-%d.%H%M%S") "${tabletAlias}" if [[ $? -ne 0 ]]; then echo "Restore failed"