Smartest / cleanest way to set up restic for multiple devices?

Hello

I want to use restic to backup my data from my PC, laptop and a Rasberry Pi (nextcloud data). I plan to plug in the HDD where my backups are saved on to the Pi.

My question is how to I set this up the smartest / cleanest way?

Simply access the HDD via the network? Or would it be smarter to set up a Rest Server on the PI? Or a completely different way?

I also intend to set up a WireGuard on the PI to be able to back up my data remotely.

I would definitely use rest-server for this, yes. When you have a system to run it on, where the backup repository storage is attached, it’s a no-brainer.

But, to be fair, you could also instead run Minio to provide an S3 interface instead of the REST interface. I don’t think you gain anything with that though, compared to using rest-server. With the latter, you have append-only mode as well which might be a good idea for your PC and laptop.

You should however consider your resiliency in this setup. If your house burns down, your HDD breaks, your Pi is compromised, then you most likely will lose your backups. You might want to consider having offsite copies.

1 Like

It’s probably better to set up a rest-server. Compared to simply reserving to a directory, it gives you more speed. And at the same time, it remains possible to restore files directly from the directory.

A somewhat related question I hope:

Would a Raspberry Pi 3 be powerful enough to run Rest Server if that’s all it’s doing?

It will indeed be able to serve your repository.