Closed dimejo closed 4 years ago
I agree, and I was thinking about this myself.
However, as restic is platform independent, the solution would need to be platform independent, too. At that point, either complexity of this script explodes, or I would have to depend on a library like appdirs
, and I am not happy with either...
Any recommendations?
I'm not a developer, therefor I won't be of much help but appdirs
seems like a good choice.
I've pushed a proof of concept into the appdirs
branch, have a look!
Thanks for the fast addition. It's working for me!
Setting/Importing environment variables within crontabs isn't always ideal. It would be great if crestic would use a default location if no environment variable is set.