# Not able to copy backup files between 2 remote windows server

**URL:** <https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [February 20, 2021, 1:44pm UTC](https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658 "2021-02-20T13:44:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Praveen\_Kumar\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Post date:** [February 20, 2021, 1:44pm UTC](https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658/1 "2021-02-20T13:44:15Z")

</div>

Hello Everyone,

I am trying to copy backup files from one remote windows server to another windows server using ansible playbook but not able to do so. I am using below playbook and which is running successfully also but when I check the backup file at destination location it is not present there. So any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Ramakrishna\_V](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ramakrishna\_V](https://forum.ansible.com/u/Ramakrishna_V)\
**Post date:** [February 20, 2021, 1:53pm UTC](https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658/2 "2021-02-20T13:53:34Z")

</div>

Remoe remote\_src: yes option and try.

Thanks,  
Ram

---

<div class="post-metadata">

**Author:** ![Praveen\_Kumar\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Post date:** [February 20, 2021, 1:57pm UTC](https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658/3 "2021-02-20T13:57:36Z")

</div>

I am already using remote\_src: yes option.

Thanks and Regards,  
Praveen Singh

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [February 21, 2021, 8:54pm UTC](https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658/4 "2021-02-21T20:54:58Z")

</div>

Your dest should have 2 backslashes at the start, right now it’s being treated as a local path. Even with a UNC path you are most likely going to hit the double hop problem with delegating your credentials. Make sure you use Kerberos with credential delegation, CredSSP, or use become on the task to bypass that.

---

<div class="post-metadata">

**Author:** ![Praveen\_Kumar\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Post date:** [February 22, 2021, 1:45pm UTC](https://forum.ansible.com/t/not-able-to-copy-backup-files-between-2-remote-windows-server/34658/5 "2021-02-22T13:45:37Z")

</div>

Thank you. Using become to bypass helped me to copy the file.

Thanks and Regards,  
Praveen Singh
