Hello,
I am currently trying to setup my restic backup so that it can upload the backup to my home server via cloudflare tunnels.
In order to do so, I need to use Cloudflare Service Tokens ( Service tokens · Cloudflare Zero Trust docs ). However, I don’t see an option to add the token as a header to the restic command.
Is there any way to do this with restic or resticprofile?
You’ll have to provide a few more details to give us a chance to help. What backend are you even trying to use?
Hi, sorry for not providing enough information.
I am using rest since this is what I am running on my home server (the one behind cloudflare tunnels).
I would like to keep it this way, but theoretically I can change it to whatever is needed.
Currently only basic auth and TLS client certs are supported on the restic side. Please add your use case to Allow sending custom HTTP headers for backup to rest server · Issue #5439 · restic/restic · GitHub .