diff --git a/internal/orchestrator/repo/repo.go b/internal/orchestrator/repo/repo.go index c50e8559..3e419a0f 100644 --- a/internal/orchestrator/repo/repo.go +++ b/internal/orchestrator/repo/repo.go @@ -73,7 +73,7 @@ func NewRepoOrchestrator(config *v1.Config, repoConfig *v1.Repo, resticPath stri opts = append(opts, restic.WithFlags("-o", "sftp.args=-oBatchMode=yes")) } - repo := restic.NewRepo(resticPath, repoConfig.GetUri(), opts...) + repo := restic.NewRepo(resticPath, ExpandEnv(repoConfig.GetUri()), opts...) return &RepoOrchestrator{ config: config,