Install restic server on Debian w/o docker

Hi,

I would like to deploy a Debian machine running a restic server and I’d like to use a barebone restic server without docker. Is there a step-by-step tutorial for that?

Thank you

Is the documentation here not enough?

Download the rest-server binary for your platform, copy it to a location you wish it /usr/local/bin/ being a good start. Grab a copy of the systemd template here and install and adjust to your requirements (i.e. where you put the binary, where you want the backups to go etc)

It’s a precompiled binary so doesn’t require much.

Personally I just run it using the dtach command like so (this is my crontab entry)

@reboot /usr/bin/dtach -n /tmp/rest-server /usr/local/bin/rest-server --path /home/tim/rest-server --no-auth --listen :4321 --log /home/tim/rest-server.log

Starts up automatically anytime I reboot my server for a kernel upgrade etc.

1 Like

Hi Tim,

thank you for your message.

You’re right, I didn’t read the documentation :frowning:

Then I did it, installed GO and made the build and the crontab stuff.

1 Like