Rest Server - Adopt local backup?

hello backup pros! I have a newly setup backup system using backrest on my server to backup important files from the server to an offsite NAS via Tailscale. Currently the NAS location is a “local” repository in the eyes of restic. This is done by mounting an SMB share to the server and then bind mounting that share to the backrest docker.

This feels like not the best way to do this. I recently discovered restic rest server, which I’m guessing would be a more proper way to achieve what I’m after.

I installed the restic rest server “app” on the remote TrueNAS. If I try to point it to the already created local repo, the app crashes. If I stand up a brand new repo from the backrest server and point it to the rest server location on the TrueNAS using rest:// - no issue.

Is there a way to “adopt” an existing “local” repo in rest server? It’s not a huge deal, but if possible I would like to not have to backup the initial backup again when it’s already on the remote TrueNAS as a “local repo”.

Repo is always repo:) “local” or via rest server should not make any difference. So I assume that you are making some mistake(s). What it is exactly is hard to tell as you do not provided any details.

1 Like

Thanks - knowing that it was possible to run the rest server pointed to the location of the existing repo led me to troubleshoot closer and I found a typo in the rest server TrueNAS app UID/GID for permissions.

3 Likes