Forum Discussion
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
- Jason_40733
Cirrocumulus
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/nullThen copy it using
scp $USERID@$myf5:/var/local/ucs/[filename.ucs] ./[filename.ucs]&>/dev/nullWe 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.
- What_Lies_Bene1
Cirrostratus
You'll find many examples simply searching for backup script on DC. Here's one example: https://devcentral.f5.com/wiki/advdesignconfig.BIG-IP-10-2-backup-script-with-SCP-transfer.ashx.
- tolinrome_13817
Nimbostratus
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.
- Jason_40733
Cirrocumulus
That just suppresses the text output of the command. Not necessary.
- tolinrome_13817
Nimbostratus
ok, thanks but where do I put those files in Solarwinds?
- tolinrome_13817
Nimbostratus
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?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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