Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

Use Ansible to do a database restore

Techie
Posts: 7
170     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: 33
171     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