Forum Discussion

tolinrome_13817's avatar
tolinrome_13817
Icon for Nimbostratus rankNimbostratus
May 19, 2014

backup config remote on the F5

Hello, I've been reading the forums and it seems like I would need the .ucs file to be able to completely restore my F5. Does anyone have a script where I could generate a ucs file and then have Solarwinds remotely grab it and put it on remote storage? Version 11.X Thanks.

 

6 Replies

  • It's a single command to create the ucs file. tmsh save /sys ucs [filename.ucs]

    We do it using ssh keys for a specific userid. But we check it into subversion.

    ssh $USERID@$myf5 tmsh save /sys ucs [filename.ucs] &>/dev/null
    

    Then copy it using

    scp $USERID@$myf5:/var/local/ucs/[filename.ucs] ./[filename.ucs]&>/dev/null
    

    We also pull the ucs apart and compare it to the previous day's backup. If there's no difference, we don't check it into subversion.

  • Thanks, I dont understand what this part means "&>/dev/null" - If I just want to create the ucs and then copy it off there do I need to put &>/dev/null ?

     

    Are you using Solarwinds with this script?

     

    Thanks.

     

  • I can get Solarwinds to have the F5 create the ucs file but how can I get it to copy it to a remote location?