THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Use Ansible to do a database restore

Techie
Posts: 12
1607     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
1608     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