RURURU_yang
Nov 16, 2023Nimbostratus
Solved
System stuck when using command to save UCS file
Hi guys, I have a change that operates on F5, after the first step of the change script to save the ucs file command enter, this device has been stuck in this step, during this period of time the de...
- Nov 17, 2023
I always use this sweet and simple UNIVESAL command for taking backup or UCS from CLI in BASH mode, as a file output will contian the F5 HOSTNAME and the accurate date & time in Hours Min seconds based on your device timezone :
tmsh save sys ucs $(echo $HOSTNAME | cut -d'.' -f1)-$(date +%H%M-%m%d%y)
Here is sample output:
[root@TESTBOX-10-mgt:ForcedOffline:Standalone] config # tmsh save sys ucs $(echo $HOSTNAME | cut -d'.' -f1)-$(date +%H%M-%m%d%y)
Saving active configuration...
/var/local/ucs/TESTBOX-10-mgt-0212-011623.ucs is saved.
You can find your UCS backup in following folder:
/var/local/ucs
Connect to F5 Box using WINSCP and get the file download out of the F5 Box
HTH