Configuration
Halyard reads ~/.config/halyard/halyard.toml, then HALYARD_* environment variables, then flags.
[repository]
url = "s3://backups/laptop"
password_command = "security find-generic-password -s halyard -w"
[snapshot]
paths = ["~/Documents", "~/Pictures"]
exclude = ["**/.DS_Store", "**/node_modules"]
one_file_system = true
[chunker]
min_size = "512KiB"
avg_size = "2MiB"
max_size = "8MiB"
[transfer]
connections = 8
upload_limit = "0" # bytes per second, 0 = unlimited
[schedule]
cron = "0 3 * * *"
Environment variables
| Variable | Meaning |
|---|---|
HALYARD_REPO | Repository URL |
HALYARD_PASSWORD_FILE | File holding the passphrase |
HALYARD_CACHE_DIR | Local index cache |
HALYARD_LOG | error, warn, info, debug |