Forum Discussion
Configure a backup for virtual server configration along with setup
i need to take backup of virtual server configuration of specific website for emergency. is it possible ?
After the command
tmsh load sys config merge from-terminal
You will get a VI like screen where you can past the configuration (remove the create-time line)
The VI screen will tell you to press Ctrl D when finished or Ctrl C to quit.
I would recommend to test this first with the command:
tmsh load sys config merge from-terminal verify
When everything is ok and the new configuration is loaded you can save the configuration with
tmsh save sys config
For more info see https://support.f5.com/csp/article/K81271448
Cheers,
Kees
You want to make a backup of 1 virtual server?
With the command
tmsh list ltm virtual "virtual server name"
You can list the complete configuration of a virtual server. Write it to file and save a copy of the file offline.
Cheers,
Kees
- THE_BLUECirrostratus
So by using above command, i will be able to restore tbe configuration of VS ? Or i have to do it manually?
I’m asking that because, let’s say I’ve configured VS with ASM , related profiles ( http, ssl ) and so on , then i need backup for this configuration to be stored office. Incase I changed in VS later on which might cause an issue then i want to restore to the old configuration.. I don’t know if you got my point..
With the above command you list the configuration of the virtual server. You can past it into notepad. (making a backuo)
Later if you want to revert back to it you can use the command:
tmsh load sys config merge from-terminal
Past the old/original configuration and press Ctrl D
Than:
tmsh save sys config
Cheers,
Kees
After the command
tmsh load sys config merge from-terminal
You will get a VI like screen where you can past the configuration (remove the create-time line)
The VI screen will tell you to press Ctrl D when finished or Ctrl C to quit.
I would recommend to test this first with the command:
tmsh load sys config merge from-terminal verify
When everything is ok and the new configuration is loaded you can save the configuration with
tmsh save sys config
For more info see https://support.f5.com/csp/article/K81271448
Cheers,
Kees
- THE_BLUECirrostratus
clear , many thanks.
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