For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Arijit's avatar
Arijit
Icon for Nimbostratus rankNimbostratus
Dec 05, 2025

Auto UCS Backup using SolarWinds NCM

Hi,

I am trying to setup auto UCS backup for F5 and using SolarWinds NCM. Now, I am able to create a script in NCM which successfully creates the UCS file locally in F5 device. Now need help on how to make that file transfer to remote server in that same script retaining the filename format. Can anyone help? 

script- 

tmsh save /sys ucs ${SysName}_${Date}.ucs
${Delay:120}

 

Thanks

1 Reply

  • It looks like you'll be in an expert (bash) shell while executing this command. If so you could use the methods below

    Method 1 - from F5 to host

    Use scp from the box to a remote server, this way you'll push it from the F5 towards your NCM server, but that one does need to have SSH enabled (on the NCM server). You can do it like this: 

    scp /var/local/ucs/${SysName}_${Date}.ucs <remote host>:/destination/folder/${SysName}_${Date}.ucs

    Method 2 - from host pull from F5

    Add a second job on the NCS server to connect using SCP to download the file from the F5. The command will than look like:

    scp ${F5-HostName}:/var/local/ucs/${SysName}_${Date}.ucs /local/folder/${SysName}_${Date}.ucs

    Both methods assume that ${SysName} and ${Date} are variables that are set by NCM, same goes for the ${F5-HostName} I added in the second command. You might need to fix this to match the true command from NCM. But I don't have SolarWinds NCM available to check this exact behavior. 

    Just trying to give you some pointers on what you can do from the F5 side of things.