# Replace rsync with Syncthing

**URL:** https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292
**Category:** Feature
**Created:** [December 1, 2015, 12:55pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292 "2015-12-01T12:55:55Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![AlainLemerre](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@AlainLemerre](https://forum.syncthing.net/u/AlainLemerre)
#### Post date: [December 1, 2015, 12:55pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/1 "2015-12-01T12:55:55Z")

</div>

I am currently using rsync to backup the files of my main hard drive to an USB Drive connected on the same PC.

I would like to replace this rsync solution by Syncthing.

Is it possible to create on the same computer (without creating a Virtual Machine) 2 Syncthing instances so the same PC would be seen as 2 different Syncthing nodes?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [December 1, 2015, 1:11pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/2 "2015-12-01T13:11:36Z")

</div>

syncthing != backup You delete files on your backup, and files get deleted on your normal machine.

---

<div class="post-metadata">

### Author: ![wweich](https://forum.syncthing.net/user_avatar/forum.syncthing.net/wweich/32/1063_2.png) [@wweich](https://forum.syncthing.net/u/wweich)
#### Post date: [December 1, 2015, 1:16pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/3 "2015-12-01T13:16:39Z")

</div>

Syncthing uses hashing and encryption, which cannot be disabled. This means, that Syncthing will use CPU and RAM resources, even when using two instances on the same PC. So Syncthing is the wrong program for your scenario.

---

<div class="post-metadata">

### Author: ![uok](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/u/e99b99/32.png) [@uok](https://forum.syncthing.net/u/uok)
#### Post date: [December 1, 2015, 1:21pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/4 "2015-12-01T13:21:46Z")

</div>

on Windows there is also `robocopy <Source> <Destination> /MIR`

---

<div class="post-metadata">

### Author: ![rumpelsepp](https://forum.syncthing.net/user_avatar/forum.syncthing.net/rumpelsepp/32/2006_2.png) [@rumpelsepp](https://forum.syncthing.net/u/rumpelsepp)
#### Post date: [December 1, 2015, 2:07pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/5 "2015-12-01T14:07:02Z")

</div>

> [@AlainLemerre](#):
>
> I would like to replace this rsync solution by Syncthing.

As audrius already mentioned, Syncthing != backup; see the FAQ. For backups I could potentially point you to borg:

[https://borgbackup.readthedocs.org/en/stable/](https://borgbackup.readthedocs.org/en/stable/)

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [December 1, 2015, 2:34pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/6 "2015-12-01T14:34:37Z")

</div>

Note that rsync is also not backup, in that sense, so the comparison is valid. Paired with filesystem snapshots, or `ignoreDelete` or just versioning Syncthing is an OK tool for backup. I use it for that purpose.

But do consider the snapshots, versioning and so on.

---

<div class="post-metadata">

### Author: ![burkemw3](https://forum.syncthing.net/user_avatar/forum.syncthing.net/burkemw3/32/1849_2.png) [@burkemw3](https://forum.syncthing.net/u/burkemw3)
#### Post date: [December 2, 2015, 5:32am UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/7 "2015-12-02T05:32:40Z")

</div>

In response to the initial question, even if it is now moot:

Two Syncthing instances can run on the same machine at the same time, but it will likely require some finagling. A few areas to think about:

- Each instance should use a different directory for configuration ([http://docs.syncthing.net/users/syncthing.html#cmdoption-home](http://docs.syncthing.net/users/syncthing.html#cmdoption-home))
- Each instance will have to listen for connections on a different port. This might be automatically handled, but I am not sure.
- I have had trouble getting local discovery working on a single node. The broadcasts don’t work so well. Configuring each “node” to connect directly to the right port should resolve this. Global discovery _might_ work, but I’m am not sure.
- The GUIs, if used, will be hosted on different ports. This may make it difficult to use wrappers (e.g. SyncTrayzor)

---

<div class="post-metadata">

### Author: ![urza](https://forum.syncthing.net/user_avatar/forum.syncthing.net/urza/32/997_2.png) [@urza](https://forum.syncthing.net/u/urza)
#### Post date: [December 6, 2015, 10:06am UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/8 "2015-12-06T10:06:08Z")

</div>

Are you using btrfs filesystem? Just curious how do you make fs snapshots? Thanks

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [December 6, 2015, 10:12am UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/9 "2015-12-06T10:12:42Z")

</div>

ZFS

---

<div class="post-metadata">

### Author: ![ccurley](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@ccurley](https://forum.syncthing.net/u/ccurley)
#### Post date: [March 4, 2020, 4:35pm UTC](https://forum.syncthing.net/t/replace-rsync-with-syncthing/6292/11 "2020-03-04T16:35:18Z")

</div>

Look into rsnapshot, which automates rsync.
