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
ā
How is the UCS file being created? Is it from the CLI (TMSH) or are you using the REST API?
As a first step, I would verify that the script is saving the UCS file in /var/local/ucs or /shared/tmp, and not the /root folder (as the root foler has very limited disk space).
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