This commit is contained in:
Alexander Neumann
2018-05-04 00:21:25 +02:00
parent aaef54559a
commit 740e2d6139
3 changed files with 8 additions and 7 deletions

View File

@@ -15,7 +15,8 @@ import (
// Config contains configuration items read from a file.
type Config struct {
Repo string `hcl:"repo" flag:"repo" env:"RESTIC_REPOSITORY"`
Repo string `hcl:"repo" flag:"repo" env:"RESTIC_REPOSITORY"`
Password string `hcl:"password" env:"RESTIC_PASSWORD"`
Backends map[string]Backend `hcl:"backend"`
Backup *Backup `hcl:"backup"`