Enviroment variable addition : RESTIC_EXCLUDE_FILE & iRESTIC_EXCLUDE_FILE
Author: henriCreated May 27, 2025Updated Sep 21, 2026
Output of restic version
restic 0.18.0 compiled with go1.24.1 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
Include support for two additional environment variables : RESTIC_EXCLUDE_FILE iRESTIC_EXCLUDE_FILE
If doing this is actually super complex then it is not that big a deal. But it would be nice to have such a feature :)
What are you trying to do? What problem would this solve?
It means you can source a file which will configure more of how the backup will happen and as such less would need to be typed on the command line for a manual backup (when not automated)
Did restic help you today? Did it make you happy in any way?
Yes, I found out restic has a --dry-run option which is very cool :)
Source: restic/restic