diff --git a/templates/collect_docker_facts.sh.j2 b/templates/collect_docker_facts.sh.j2
index 72a283bab9108beb0615dd6d840bd83a5e94de80..a76e7a4231a6999f756f5a1eaf72eef66f30c984 100644
--- a/templates/collect_docker_facts.sh.j2
+++ b/templates/collect_docker_facts.sh.j2
@@ -24,8 +24,10 @@ printf "\n\n-- Usage Statistics --\n" >> $file
 cp $file $latest_file
 chmod 644 $file $latest_file
 {% for host in groups.backup_server %}
+{% if host != inventory_hostname %}
 sftp -P {{ default_sshd_port }} -o IdentityFile=/home/{{ host_user }}/.ssh/id_ed25519 {{ backup_sftp_user }}@{{ hostvars[host].ansible_host }} << COMMANDS
 put $file {{ inventory_hostname|lower }}/
 quit
 COMMANDS
+{% endif %}
 {% endfor %}