dedup

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

test002 (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"