Hi,
I’m trying to automate F5 LTM’s ucs backup via SolarWinds job. I’m able to generate the ucs backup however I’m not able to transfer the backup file to my sftp server. After the expect script I’m getting prompted for password again. Which I think F5 is not taking the PASWRD variable I just passed.
Any input is appreciated!
bash cd /config FileName=“$HOSTNAME”-
date +%d_%B_%Y_%H-%M
.ucs FullName=“/tmp/”$FileName"" tmsh save sys ucs ${FullName} clock ls -la /tmp/ | grep ucs echo $FullName echo $FileName cd /tmp/
USER=user_name PASSW=XXXXXX sftp $USER@sftp.server.com <