Best backend/protocol to Linux server (VPS)

What is the problem you are having with rclone?

What is the best backend/protocol to use against a Linux server, from another Linux machine? There's always the good old SFTP, but should one consider running a WebDAV server or Minio server or something else for better performance or features? The setup is restic+rclone on the Linux "client" backing up to the Linux server (e.g. a VPS instance). Why restic+rclone on the client you may ask: because I want them both to encrypt, i.e. double encryption. Also the same setup is used against a cloud provider that restic doesn't support directly so trying to keep it all consistent.

Is there such a thing as running rclone on both sides, like rsync?

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.19.0-46-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.5
  • go/linking: dynamic
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Linux server (VPS)

Rclone supports restic API over rest.

So I think the choice is obvious here - rclone serve restic.

On the server:

rclone serve restic remote:backup --addr IP:PORT --user USER --pass PASS --cert CERT --key KEY
(you can skip user/pass/cert/key if not needed)

and then on the client:


Yes you can run it like this as well (sftp or webdav) but it only complicates things.

I think I want rclone and restic both running on the client side, I do not want the encryption key for rclone to be present on the server at all.

Also running it with serve restic on the server side means that I have to have it running all the time, or start it before a scheduled backup and shut it down after which seems to complicate things.

Maybe SFTP is easiest because I already have ssh running, e.g. restic+rclone ---> sftp server

IMO you just complicate things without reason. From performance perspective I would recommend S3 - so probably minio implementation

I'd like to get the double encryption, from restic and rclone, just in case someone manages to exfil the backups from the VPS.

But start with sftp - and see how it performs. Might be enough for what you need.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.