Configuration
Kestrel reads ~/.config/kestrel/kestrel.toml, then KESTREL_* environment variables, then flags.
[repository]
url = "s3://backups/laptop"
password_command = "security find-generic-password -s kestrel -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 |
|---|---|
KESTREL_REPO | Repository URL |
KESTREL_PASSWORD_FILE | File holding the passphrase |
KESTREL_CACHE_DIR | Local index cache |
KESTREL_LOG | error, warn, info, debug |