Forum Discussion
create script in bash that has tmos commands
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, 2017
Cumulonimbus
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, 2017
Nimbostratus
!/bin/bashDATE=
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, 2017
Nimbostratus
I was able to determine what the problem was. Thank you.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com