ttest002 - dedup - deduplicating backup program
HTML git clone git://git.z3bra.org/dedup.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
ttest002 (212B)
---
1 #!/bin/sh
2 set -ex
3
4 repo=`mktemp -u`
5 data=`mktemp`
6 dd if=/dev/urandom of="$data" bs=1M count=64
7 ./dup-init -Z none "$repo"
8 ./dup-pack -r "$repo" snap0 < "$data"
9 ./dup-check -r "$repo" snap0
10 rm -rf "$repo" "$data"