Forum Discussion
System stuck when using command to save UCS file
- 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
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
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