Best way to backup a synchronized folder to a remote backup server

Hello friends,

The scenario is a small engineering firm with some PCs and a local server, all running syncthing, of course including the local server.

The need is for a remote backup solution for the synchronized folder. A remote server, in another city, is already available to store the backups.

Some possibilities:

  1. Using syncthing also in the remote server. The PCs and both servers will always be synchronized. Periodically the remote server backups the synchronized folder using rsync snapshot or borg or restic or other software.

  2. Not using syncthing in the remote server. Periodically, the local server opens an ssh connection with the remote server, and does a remote backup using rsync snapshot or borg or restic or other software.

Reading some posts in this forum I became worried about backuping a folder while it is being synchronized by syncthing. I don’t know what kind of problems may arise from this, but this is one of the reasons for this post.

What option should I take? 1 or 2? Any other solution?

What backup software is the more appropriate to work along with Syncthing in this case? Rsync snapshots? Borg? Restic? Any other?

Thank you,

Greetings,

Marcio

[Project] Syncthing as backup solution

Using ST in a backup scenario

Syncthing server client and backup strategy with rsnapshot

Both #1 and #2 suffer from the same fear “backuping a folder while it is being synchronized by syncthing”. Yet “backuping a folder while it is being synchronized by syncthing” is not actually a problem as it syncs to a temporary file, and does an atomic swap afterwards, so both #1 and #2 should work.

Syncthing doesn’t care what backup software you use, so you should pick whatever you feel is best for you.

I’ve been using option #3 - run syncthing on the remote note (for a usable replica), but also run free Crashplan application on both nodes to backup the local syncthing folder to a remote node, mainly because it does local dedeupe and compression, before encrypting and sending over the internet. Crashplan does incremental backups forever, so there is full recovery history and I turn off versioning in Syncthing.

Now that Crashplan is abandoning the home market, I’m looking at option #4 URBackup which can do the incremental backups locally but as it doesn’t encrypt them I’ll probably use Syncthing to send them to the remote node. URBackup can also take images as well as file backups, which can facilitate a bare metal restore in a remote site.