# How to backup Cisco devices ?

**URL:** <https://forum.ansible.com/t/how-to-backup-cisco-devices/35784>\
**Category:** Ansible Project\
**Created:** [September 24, 2021, 4:02pm UTC](https://forum.ansible.com/t/how-to-backup-cisco-devices/35784 "2021-09-24T16:02:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ibrahim\_Salah](https://avatars.discourse-cdn.com/v4/letter/i/a587f6/32.png) [@Ibrahim\_Salah](https://forum.ansible.com/u/Ibrahim_Salah)\
**Post date:** [September 24, 2021, 4:02pm UTC](https://forum.ansible.com/t/how-to-backup-cisco-devices/35784/1 "2021-09-24T16:02:38Z")

</div>

Hello,

I really want to know if there is an easy way or documentation to backup Cisco routers or Vyos routers ?

using Ansible machine ?

Best Regards ,

---

<div class="post-metadata">

**Author:** ![steve\_missoh](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@steve\_missoh](https://forum.ansible.com/u/steve_missoh)\
**Post date:** [September 24, 2021, 5:00pm UTC](https://forum.ansible.com/t/how-to-backup-cisco-devices/35784/2 "2021-09-24T17:00:42Z")

</div>

Hi,  
check the builtin modules of any recent ansible engine.  
There are ~65 modules for IOS and VYOS and they are pretty mature.  
**ansible-doc -l | egrep “vyos|^ios”**  
Regards.

---

<div class="post-metadata">

**Author:** ![Ibrahim\_Salah](https://avatars.discourse-cdn.com/v4/letter/i/a587f6/32.png) [@Ibrahim\_Salah](https://forum.ansible.com/u/Ibrahim_Salah)\
**Post date:** [September 24, 2021, 5:02pm UTC](https://forum.ansible.com/t/how-to-backup-cisco-devices/35784/3 "2021-09-24T17:02:23Z")

</div>

Is there any documentation?

---

<div class="post-metadata">

**Author:** ![Nilashish\_Chakrabort](https://avatars.discourse-cdn.com/v4/letter/n/f475e1/32.png) [@Nilashish\_Chakrabort](https://forum.ansible.com/u/Nilashish_Chakrabort)\
**Post date:** [September 27, 2021, 7:04am UTC](https://forum.ansible.com/t/how-to-backup-cisco-devices/35784/4 "2021-09-27T07:04:09Z")

</div>

Hello Ibrahim,

You can use the respective config modules to take a full backup of running-config. Please refer to the examples and documentation for these module:

1. [https://docs.ansible.com/ansible/latest/collections/cisco/ios/ios\_config\_module.html](https://docs.ansible.com/ansible/latest/collections/cisco/ios/ios_config_module.html)

2. [https://docs.ansible.com/ansible/latest/collections/vyos/vyos/vyos\_config\_module.html](https://docs.ansible.com/ansible/latest/collections/vyos/vyos/vyos_config_module.html)

Thanks!

---

<div class="post-metadata">

**Author:** ![Chris\_Gallagher](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@Chris\_Gallagher](https://forum.ansible.com/u/Chris_Gallagher)\
**Post date:** [September 30, 2021, 3:42pm UTC](https://forum.ansible.com/t/how-to-backup-cisco-devices/35784/5 "2021-09-30T15:42:34Z")

</div>

Check out this implementation of the above module: [https://github.com/ciscops/ansible-network-backup](https://github.com/ciscops/ansible-network-backup)
