cupcakearmy / autorestic

Config driven, easy backup cli for restic.

Home Page:https://autorestic.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configure restic's environment variables

FlorianEndel opened this issue · comments

The temporary directory restic is using can (only) be configured with the environment variable TMPDIR.
restic does not provide a command line parameter for this configuration. (restic-manual: temporary files)

Therefore it cannot be configured using autorestic.yml.

autorestic allows to set arbitrary command line parameters with options

It would be nice to have a similar system to configure arbitrary environment variables with autorestic.yml.

I might work on this in early 2023

@FlorianEndel It is not possible to set environment variables per location but it is possible to set them per backend https://autorestic.vercel.app/backend/env#example-with-backblaze-b2

@FlorianEndel It is not possible to set environment variables per location but it is possible to set them per backend https://autorestic.vercel.app/backend/env#example-with-backblaze-b2

Thank you! I wasn't aware of that. This resolves the issue for me.
I also updated my corresponding question: #232