mirror of https://github.com/dswd/zvault
new comparison commands
This commit is contained in:
parent
9bd518655d
commit
d93e4c9cb6
64
test.sh
64
test.sh
|
@ -11,24 +11,24 @@ borg init -e none repos/borg
|
||||||
borg init -e none repos/borg-zlib
|
borg init -e none repos/borg-zlib
|
||||||
zbackup init --non-encrypted repos/zbackup
|
zbackup init --non-encrypted repos/zbackup
|
||||||
|
|
||||||
cat < test_data/silesia.tar > /dev/null
|
find test_data/silesia -type f | xargs cat > /dev/null
|
||||||
time target/release/zvault backup test_data/silesia.tar $(pwd)/repos/zvault_brotli3::silesia1
|
time target/release/zvault backup test_data/silesia $(pwd)/repos/zvault_brotli3::silesia1
|
||||||
time target/release/zvault backup test_data/silesia.tar $(pwd)/repos/zvault_brotli3::silesia2
|
time target/release/zvault backup test_data/silesia $(pwd)/repos/zvault_brotli3::silesia2
|
||||||
time target/release/zvault backup test_data/silesia.tar $(pwd)/repos/zvault_brotli6::silesia1
|
time target/release/zvault backup test_data/silesia $(pwd)/repos/zvault_brotli6::silesia1
|
||||||
time target/release/zvault backup test_data/silesia.tar $(pwd)/repos/zvault_brotli6::silesia2
|
time target/release/zvault backup test_data/silesia $(pwd)/repos/zvault_brotli6::silesia2
|
||||||
time target/release/zvault backup test_data/silesia.tar $(pwd)/repos/zvault_lzma2::silesia1
|
time target/release/zvault backup test_data/silesia $(pwd)/repos/zvault_lzma2::silesia1
|
||||||
time target/release/zvault backup test_data/silesia.tar $(pwd)/repos/zvault_lzma2::silesia2
|
time target/release/zvault backup test_data/silesia $(pwd)/repos/zvault_lzma2::silesia2
|
||||||
time attic create repos/attic::silesia1 test_data/silesia.tar
|
time attic create repos/attic::silesia1 test_data/silesia
|
||||||
time attic create repos/attic::silesia2 test_data/silesia.tar
|
time attic create repos/attic::silesia2 test_data/silesia
|
||||||
time borg create -C none repos/borg::silesia1 test_data/silesia.tar
|
time borg create -C none repos/borg::silesia1 test_data/silesia
|
||||||
time borg create -C none repos/borg::silesia2 test_data/silesia.tar
|
time borg create -C none repos/borg::silesia2 test_data/silesia
|
||||||
time borg create -C zlib repos/borg-zlib::silesia1 test_data/silesia.tar
|
time borg create -C zlib repos/borg-zlib::silesia1 test_data/silesia
|
||||||
time borg create -C zlib repos/borg-zlib::silesia2 test_data/silesia.tar
|
time borg create -C zlib repos/borg-zlib::silesia2 test_data/silesia
|
||||||
time zbackup backup --non-encrypted repos/zbackup/backups/silesia1 < test_data/silesia.tar
|
time tar -c test_data/silesia | zbackup backup --non-encrypted repos/zbackup/backups/silesia1
|
||||||
time zbackup backup --non-encrypted repos/zbackup/backups/silesia2 < test_data/silesia.tar
|
time tar -c test_data/silesia | zbackup backup --non-encrypted repos/zbackup/backups/silesia2
|
||||||
|
|
||||||
du -h test_data/silesia.tar
|
du -h test_data/silesia.tar
|
||||||
du -sh repos/zvault*/bundles repos/attic repos/borg repos/borg-zlib repos/zbackup
|
du -sh repos/remotes/zvault* repos/attic repos/borg repos/borg-zlib repos/zbackup
|
||||||
|
|
||||||
rm -rf repos
|
rm -rf repos
|
||||||
mkdir repos
|
mkdir repos
|
||||||
|
@ -41,21 +41,21 @@ borg init -e none repos/borg
|
||||||
borg init -e none repos/borg-zlib
|
borg init -e none repos/borg-zlib
|
||||||
zbackup init --non-encrypted repos/zbackup
|
zbackup init --non-encrypted repos/zbackup
|
||||||
|
|
||||||
cat < test_data/ubuntu.tar > /dev/null
|
find test_data/ubuntu -type f | xargs cat > /dev/null
|
||||||
time target/release/zvault backup test_data/ubuntu.tar $(pwd)/repos/zvault_brotli3::ubuntu1
|
time target/release/zvault backup test_data/ubuntu $(pwd)/repos/zvault_brotli3::ubuntu1
|
||||||
time target/release/zvault backup test_data/ubuntu.tar $(pwd)/repos/zvault_brotli3::ubuntu2
|
time target/release/zvault backup test_data/ubuntu $(pwd)/repos/zvault_brotli3::ubuntu2
|
||||||
time target/release/zvault backup test_data/ubuntu.tar $(pwd)/repos/zvault_brotli6::ubuntu1
|
time target/release/zvault backup test_data/ubuntu $(pwd)/repos/zvault_brotli6::ubuntu1
|
||||||
time target/release/zvault backup test_data/ubuntu.tar $(pwd)/repos/zvault_brotli6::ubuntu2
|
time target/release/zvault backup test_data/ubuntu $(pwd)/repos/zvault_brotli6::ubuntu2
|
||||||
time target/release/zvault backup test_data/ubuntu.tar $(pwd)/repos/zvault_lzma2::ubuntu1
|
time target/release/zvault backup test_data/ubuntu $(pwd)/repos/zvault_lzma2::ubuntu1
|
||||||
time target/release/zvault backup test_data/ubuntu.tar $(pwd)/repos/zvault_lzma2::ubuntu2
|
time target/release/zvault backup test_data/ubuntu $(pwd)/repos/zvault_lzma2::ubuntu2
|
||||||
time attic create repos/attic::ubuntu1 test_data/ubuntu.tar
|
time attic create repos/attic::ubuntu1 test_data/ubuntu
|
||||||
time attic create repos/attic::ubuntu2 test_data/ubuntu.tar
|
time attic create repos/attic::ubuntu2 test_data/ubuntu
|
||||||
time borg create -C none repos/borg::ubuntu1 test_data/ubuntu.tar
|
time borg create -C none repos/borg::ubuntu1 test_data/ubuntu
|
||||||
time borg create -C none repos/borg::ubuntu2 test_data/ubuntu.tar
|
time borg create -C none repos/borg::ubuntu2 test_data/ubuntu
|
||||||
time borg create -C zlib repos/borg-zlib::ubuntu1 test_data/ubuntu.tar
|
time borg create -C zlib repos/borg-zlib::ubuntu1 test_data/ubuntu
|
||||||
time borg create -C zlib repos/borg-zlib::ubuntu2 test_data/ubuntu.tar
|
time borg create -C zlib repos/borg-zlib::ubuntu2 test_data/ubuntu
|
||||||
time zbackup backup --non-encrypted repos/zbackup/backups/ubuntu1 < test_data/ubuntu.tar
|
time tar -c test_data/ubuntu | zbackup backup --non-encrypted repos/zbackup/backups/ubuntu1
|
||||||
time zbackup backup --non-encrypted repos/zbackup/backups/ubuntu2 < test_data/ubuntu.tar
|
time tar -c test_data/ubuntu | zbackup backup --non-encrypted repos/zbackup/backups/ubuntu2
|
||||||
|
|
||||||
du -h test_data/ubuntu.tar
|
du -h test_data/ubuntu.tar
|
||||||
du -sh repos/zvault*/bundles repos/attic repos/borg repos/borg-zlib repos/zbackup
|
du -sh repos/remotes/zvault* repos/attic repos/borg repos/borg-zlib repos/zbackup
|
||||||
|
|
Loading…
Reference in New Issue