# Dr\_agent - source and destination

**URL:** <https://forums.foundationdb.org/t/dr-agent-source-and-destination/3802>\
**Category:** Using FoundationDB\
**Created:** [February 14, 2023, 12:46pm UTC](https://forums.foundationdb.org/t/dr-agent-source-and-destination/3802 "2023-02-14T12:46:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doublemax](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@doublemax](https://forums.foundationdb.org/u/doublemax)\
**Post date:** [February 14, 2023, 12:46pm UTC](https://forums.foundationdb.org/t/dr-agent-source-and-destination/3802/1 "2023-02-14T12:46:44Z")

</div>

Is this true? Do I need a `dr_agent` on both source and destination?

> [@Where to run dr\_agent?](https://forums.foundationdb.org/t/where-to-run-dr-agent/3270):
>
> Hi, In order to start a replication from source to destination using fdb\_dr, we will need to run dr\_agent, just a couple of question regarding that. I have read in another post that we should run the dr\_agent on both the source and destination cluster with the source and destination switched in the destination cluster? Is that correct? Thus on the source cluster: dr\_agent -s source.cluster -d dest.cluster (where source.cluster and dest.cluster are the connect strings of the source and des…

---

<div class="post-metadata">

**Author:** ![tangerine](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/tangerine/32/1084_2.png) [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Post date:** [February 14, 2023, 2:46pm UTC](https://forums.foundationdb.org/t/dr-agent-source-and-destination/3802/2 "2023-02-14T14:46:47Z")

</div>

I have tried both and they both work. On dr\_agent on destination only and on both sides. I think it does not matter as long as there are multiple agents running. Also, leaving some agents on the source once the destination one is aboard could cause some wasted space on the source.

---

<div class="post-metadata">

**Author:** ![doublemax](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@doublemax](https://forums.foundationdb.org/u/doublemax)\
**Post date:** [February 14, 2023, 3:26pm UTC](https://forums.foundationdb.org/t/dr-agent-source-and-destination/3802/3 "2023-02-14T15:26:48Z")

</div>

Is “disaster recovery” to be understood as “push” or “pull”?  
The documents are very unclear about DR.
