# I want to restore the config backed up by fortigate using ansible

**URL:** <https://forum.ansible.com/t/i-want-to-restore-the-config-backed-up-by-fortigate-using-ansible/35549>\
**Category:** Ansible Project\
**Created:** [July 27, 2021, 10:14am UTC](https://forum.ansible.com/t/i-want-to-restore-the-config-backed-up-by-fortigate-using-ansible/35549 "2021-07-27T10:14:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![room\_rabosan](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@room\_rabosan](https://forum.ansible.com/u/room_rabosan)\
**Post date:** [July 27, 2021, 10:14am UTC](https://forum.ansible.com/t/i-want-to-restore-the-config-backed-up-by-fortigate-using-ansible/35549/1 "2021-07-27T10:14:39Z")

</div>

Hello!!

I want to restore the config backed up by fortigate using ansible

I’m using the Monitor API, which is supported by the REST API.  
→Restore / Backup config with Monitor API  
The Backup is complete, but I can’t control the Restore well.  
→HTTP Error 424:Failed Dependency  
Could you please help me to solve it?  
The playbook and debug statements are listed below.

〇 version  
Ansible: 2.9.7  
Forigate 60F: v7.0.0

〇 Executable file: restore\_playbook.yml  
Variables are defined in: group\_vars

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [July 27, 2021, 10:22am UTC](https://forum.ansible.com/t/i-want-to-restore-the-config-backed-up-by-fortigate-using-ansible/35549/2 "2021-07-27T10:22:35Z")

</div>

> Hello!!  
> I want to restore the config backed up by fortigate using ansible  
> I'm using the Monitor API, which is supported by the REST API.  
> →Restore / Backup config with Monitor API  
> The Backup is complete, but I can't control the Restore well.  
> →HTTP Error 424:Failed Dependency  
> Could you please help me to solve it?  
> The playbook and debug statements are listed below.

Try to find out why the API response used that HTTP error code.  
You might get more help with the Fortigate community than here.

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
