Does anybody know if there is a way to backup the UCS archive on the BIGIP's, I think the current template in CatTools only backs up the config file. You really need the UCS archive to be able to restore devices properly.
Many thanks
Mark
I asked this a couple of years ago and the only answer I could come up with was to make a copy of the config upload but use the "alternate command" option to do a "bigpipe base list" as well, This way you get two configs - one for the interfaces and so on and the normal one for the pools, vips etc.
It isn't as useful as a UCS backup and doesn't include the certificates but it does at least pick up all changes and allow you to spot when another manual UCS backup is a good idea.
David
thanks for the tip, I will give that a try and see how it works out.
The ideal situation would be to be able to do a UCS but looks like it's not possible. Just wanted to check if anybody else had any luck.
Thank you
How would you manually backup the UCS archive on the BIG IP from the command line?
Thanks,
Wardini
Hi Wardini
from the command line you run the command:
bigpipe config save %filename% (generally the hostname of the device)
It then creates a *.ucs file in /var/local/ucs which then needs to be scp'd off the device.
The ucs file contains all the config, the SSL certificates, Licenses etc. It can be used to completely restore a box.
As there is no command on the F5 to view all configurations and make a complete backup, one of our clients used and provided me the following workaround:
"The cattools command is now: run cli script kiwibackup
On the F5 there are two scripts-- one TMSH script to run two commands, the first is to save a single file configuration. The second is to run a bash shell script.
The bash shell script:
1. cat the single file configuration
2. delete the files that were created
The TMSH script:
cli script /Common/kiwibackup {
proc script::run {} {
tmsh::save sys config file /var/local/scf/backupconfig.scf
tmsh::run /util bash listbackup.sh
}
========================
the bash script listbackup.sh :
cat /var/local/scf/backupconfig.scf
rm /var/local/scf/backupconfig.*
(there are two files created when the run config file is done, therefore the wildcard on the 'rm')"
Hopefully this helps someone until we add support to backup the UCS Archive.
Please note that this is provided as-is and is to be used at your own risk.
Sincerely,
Chris Foley • SolarWinds • Technical Support
Office Hours: Mon-Fri 8AM-5PM EST 866.530.8040
______________________________________________
explore our IT management solutions for:
networks|applications|storage|virtualization|log & event
For those wanting to leverage NCM. Unfortunately, NCM cannot download a text based from an F5 device because this is a Binary file. NCM will not be able to process it. There has been a work around that runs a script to backup the file, but it isn't stored in the NCM database. Typically this script can transfer the file via TFTP to the NCM TFTP root directory, but it will not be stored in the NCM database.
To reference some F5 commands for scripting purposes:
https://support.f5.com/kb/en-us/solutions/public/4000/400/sol4423.html