{ "name": "restic", "version": "0.19.1", "summary": "restic: encrypted, deduplicated backups to a folder, SFTP, S3, REST and other back ends (static Go)", "category": "tool", "license": "BSD-2-Clause", "homepage": "https://restic.net/", "source": { "url": "https://github.com/restic/restic/releases/download/v0.19.1/restic-0.19.1.tar.gz", "sha256": "bb9b1a19040744d26d8a79be029d4e6b189c45ccc9d8831d7fe367d3c33df725" }, "watch": {"kind": "github-release", "repo": "restic/restic", "revendor": {"tool": "go", "args": ["-tags", "disable_grpc_modules", "./cmd/restic"]}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": false, "check": "bin/restic version | first && bin/restic version | has 'restic 0.19.1' && elf=$(readelf -l bin/restic) && [ -n \"$elf\" ] && ! printf '%s\\n' \"$elf\" | has 'program interpreter' && t=$(mktemp -d) && mkdir \"$t/data\" && seq 1 20000 > \"$t/data/a\" && head -c 300000 /dev/urandom > \"$t/data/b\" && printf bvs-check > \"$t/pw\" && export RESTIC_REPOSITORY=$t/repo RESTIC_PASSWORD_FILE=$t/pw RESTIC_CACHE_DIR=$t/cache && bin/restic init -q && bin/restic backup -q \"$t/data\" && seq 20001 20010 >> \"$t/data/a\" && bin/restic backup -q \"$t/data\" && bin/restic snapshots --json | has -o '\"short_id\"' && [ \"$(bin/restic snapshots --json | grep -o '\"short_id\"' | wc -l)\" = 2 ] && bin/restic restore latest -q --target \"$t/out\" && diff -r \"$t/data\" \"$t/out$t/data\" && bin/restic check -q && echo 'restic: a repository, two snapshots, a restore equal to the data, check'" }