Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

Use Ansible to do a database restore

Techie
Posts: 12
884     0

Has anyone writting or seen any Ansible playbooks that can do an Infoblox database restore? I have a use case where I need to restore a database into my test environment daily and want to automate it using Ansible. Is something like that even possible? Any help or direction would be greatly apprreciated

Re: Use Ansible to do a database restore

[ Edited ]
Superuser
Posts: 65
885     0

There is no direct support for this with Infoblox Ansible module. You can do a Grid Restore using Infoblox WAPI, see the Grid database backup and restore section in this guide: https://www.infoblox.com/wp-content/uploads/infoblox-deployment-infoblox-rest-api.pdf.

 

You could try running the restore WAPI call via the Ansible URI module to achieve the automation you are looking for: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/uri_module.html.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You