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
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.
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