Forum Discussion
Andy_Herrman_22
Nimbostratus
Jul 30, 2007BIG-IP Configuration backup/restore
What's the correct way to backup the BIG-IP configuration and restore it? Is backing up the *.conf files from the /config directory enough, or should I backup the entire /config directory?
...
Jeff_Silverman_
Aug 23, 2007Historic F5 Account
There is more than one way to do it. I am paranoid about configuration changes and the need to revert to a known good configuration. So I have set up a server so that I can ssh into the server from the BigIP without using a password. This is as safe as the root account on the BigIP is safe.
Then I have a cron job that fires once a day which generates a backup and then copies the resulting file to the server.
!/bin/bash
backup the configuration
b config save /config.ucs
Copy the configuration to the server
scp /config.ucs USERNAME@SERVER:/PATH/`hostname`-`date +%Y%m%d%H%m%S`.ucsThe `hostname` and `date +%Y%m%d%H%m%S` are some UNIXisms which creates a file with the hostname and a timestamp in the filename. The format of the time stamp makes it easy to sort lexigraphically.
Note that it is not enough to rely on the partner of a pair to save the configuration because there are configuration items which are common and some configuration items which are specific.
Jeff Silverman
j.silverman@f5.com
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