Forum Discussion
ogozar_275571
Nimbostratus
Hello,
Hello, when I generate an automatic backup it shows me this error when I execute the script:
Error, invalid characters in UCS file name. The dash, period, forward-slash, plus sign, and underscore are the only special characters allowed.
What is the problem?
Thank's
ogozar_275571
Sep 13, 2017Nimbostratus
!/bin/bash
DATE=
date "+_%d_%m_%y"
echo getHostName=$HOSTNAME
tmsh save sys ucs $HOSTNAME$DATE
cd /var/local/ucs/
ftp -n 192.168.1.2 <
The test was run in version 12.1.2 build 0.0.249 and there were no problems. But the tests were performed in a cluster with version 12.0.0 bluid 0.0.606 and showed the error mentioned.
Simplify the script to only: "tmsh save sys ucs backup_test" and showed the same error.