Forum Discussion
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
- Stanislas_Piro2Sep 12, 2017Cumulonimbus
Hi,
Please provide the backup script you use!
The only answer I can give with provided info is:
The dash, period, forward-slash, plus sign, and underscore are the only special characters allowed.
- ogozar_275571Sep 13, 2017Nimbostratus!/bin/bash
DATE=
echo getHostName=$HOSTNAME tmsh save sys ucs $HOSTNAME$DATE cd /var/local/ucs/ ftp -n 192.168.1.2 <date "+_%d_%m_%y"
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.
- ogozar_275571Sep 13, 2017Nimbostratus
I was able to determine what the problem was. Thank you.