dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

test003 (214B)


      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 snappy "$repo"
      8 ./dup-pack -r "$repo" snap0 < "$data"
      9 ./dup-check -r "$repo" snap0
     10 rm -rf "$repo" "$data"