Forum Discussion
Trying to transfer UCS backup to sftp server.. cannot automate using SolarWinds job
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 <
- Daniel_Tavernie
Cirrostratus
There is an iApp that can automate backups via SFTP: Check out GitHub for the latest version of the F5 Automated Backup iApp, and submit any bugs or questions as an "Issue" on GitHub:
https://github.com/tabernarious/f5-automated-backup-iapp
- jaikumar_f5
Noctilucent
,
Mate, your responding to threads which were opened 1 1/2 years back 🙂
- Daniel_Tavernie
Cirrostratus
I realize that. My response was aimed at helping those finding this post through search.
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