{ "name": "rdiff-backup", "version": "2.2.6", "summary": "rdiff-backup: a mirror of a folder with reverse increments (the rsync algorithm), local or over SSH", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://rdiff-backup.net/", "source": { "url": "https://files.pythonhosted.org/packages/e9/9b/487229306904a54c33f485161105bb3f0a6c87951c90a54efdc0fc04a1c9/rdiff-backup-2.2.6.tar.gz", "sha256": "d0778357266bc6513bb7f75a4570b29b24b2760348bbf607babfc3a6f09458cf" }, "watch": {"kind": "pypi", "package": "rdiff-backup"}, "deps": [ "python", "py-setuptools", "py-setuptools-scm", "py-pyyaml", "librsync" ], "env_packages": [], "static": false, "nss": true, "check": "bin/rdiff-backup --version | has -x 'rdiff-backup 2.2.6' && t=$(mktemp -d) && mkdir -p \"$t/src/d\" && seq 1 20000 > \"$t/src/d/a\" && head -c 500000 /dev/urandom > \"$t/src/d/b\" && cp \"$t/src/d/a\" \"$t/a.first\" && r() { env -i PATH=/nonexistent HOME=\"$t\" \"$PREFIX/bin/rdiff-backup\" \"$@\"; } && r backup \"$t/src\" \"$t/bak\" > \"$t/log1\" 2>&1 && sleep 2 && echo zażółć >> \"$t/src/d/a\" && r backup \"$t/src\" \"$t/bak\" > \"$t/log2\" 2>&1 && ls \"$t/bak/rdiff-backup-data/increments/d\" | has '^a\\..*\\.diff\\.gz$' && r verify \"$t/bak\" > \"$t/log3\" 2>&1 && r compare \"$t/src\" \"$t/bak\" > \"$t/log4\" 2>&1 && r list increments \"$t/bak\" 2>&1 | has 'Found 1 increments' && r restore \"$t/bak\" \"$t/now\" > \"$t/log5\" 2>&1 && diff -r \"$t/src\" \"$t/now\" && r restore --at 1B \"$t/bak\" \"$t/old\" > \"$t/log6\" 2>&1 && cmp \"$t/old/d/a\" \"$t/a.first\" && echo 'rdiff-backup: two backups with a reverse increment made by librsync, verify, compare, the current and the earlier state restored'" }