v0.9.4
DownloadReleasesReference

Configuration

Larkspur reads ~/.config/larkspur/larkspur.toml, then LARKSPUR_* environment variables, then flags.

[repository]
url = "s3://backups/laptop"
password_command = "security find-generic-password -s larkspur -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

VariableMeaning
LARKSPUR_REPORepository URL
LARKSPUR_PASSWORD_FILEFile holding the passphrase
LARKSPUR_CACHE_DIRLocal index cache
LARKSPUR_LOGerror, warn, info, debug