Forum Discussion
Steven_Williams
Nimbostratus
Aug 19, 2014Backing up F5 UCS file with solarwinds NCM
I am trying to accomplish an f5 backup using, eventually, solarwinds NCM module, but working on the script to use. I want to backup the UCS file and offload it to a SCP/SFTP server.
Some things ...
mimlo_61970
Cumulonimbus
Aug 19, 2014to specifically answer the question on how to name the file, from a bash shell(not a tmos shell) you can do:
tmsh save /sys ucs /var/local/ucsbackup/config_backup-`date +%Y%m%d`.ucs
Where %Y%m%d is the date format. see the man page on date for more options, the above is YYYYMMDD, or 20140819 for today.
As far as the rest, what precisely is the process? Are you wanting to have the F5 create the UCS, push it to Solarwinds via SFTP, and then cleanup? Does solarwinds support key-based authentication?
Steven_Williams
Nimbostratus
Aug 19, 2014Solarwinds is just going to run the commands that I enter into the script. But when the prompt stops at password and waits for a password to enter...I need a way to tell the script to "expect this" and "enter this"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
