Name = "SparseSet"
Include {
Options {
- signature=MD5 sparse=yes
+ signature=MD5
+ sparse=yes
}
File = </tmp/file-list
}
Name = "CompressedSet"
Include {
Options {
- signature=MD5 compression=GZIP
+ signature=MD5
+ compression=GZIP
}
File = </tmp/file-list
}
Name = "SparseCompressedSet"
Include {
Options {
- signature=MD5 compression=GZIP
+ signature=MD5
+ compression=GZIP
sparse=yes
}
File = </tmp/file-list
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
- Run = Full 1st sun at 1:05
- Run = Differential 2nd-5th sun at 1:05
- Run = Incremental mon-sat at 1:05
+ Run = Level=Full 1st sun at 1:05
+ Run = Level=Differential 2nd-5th sun at 1:05
+ Run = Level=Incremental mon-sat at 1:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
- Run = Full sun-sat at 1:10
+ Run = Level=Full sun-sat at 1:10
}
# This is the backup of the catalog
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
- Run = Full 1st sun at 1:05
- Run = Differential 2nd-5th sun at 1:05
- Run = Incremental mon-sat at 1:05
+ Run = Level=Full 1st sun at 1:05
+ Run = Level=Differential 2nd-5th sun at 1:05
+ Run = Level=Incremental mon-sat at 1:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
- Run = Full sun-sat at 1:10
+ Run = Level=Full sun-sat at 1:10
}
# This is the backup of the catalog
# Run a simple backup of the Bacula build directory using the Sparse option
# then restore it.
#
-TestName="sparse-test"
+TestName="gigaslam-sparse-test"
JobName=SparseTest
. scripts/functions
-set_debug 1
+set_debug 0
cwd=`pwd`
scripts/cleanup
run_bacula
check_for_zombie_jobs storage=File
-ls -l ${cwd}/tmp
stop_bacula
+size=`du ${cwd}/tmp/bacula-restores/${cwd}/build/src/tools/gigaslam.gif | cut -f 1`
+if [ $size -gt 120 ]; then
+ echo "========== restored sparse file gigaslam.gif too big ========="
+fi
+
check_two_logs
check_restore_diff
end_test
# Run a simple backup (with encryption) of the Bacula build directory
# then verify the signatures.
#
-TestName="data-encrypt-test"
+TestName="sparse-encrypt-test"
JobName=Crypto
. scripts/functions
-set_debug 1
+set_debug 0
scripts/cleanup
scripts/copy-crypto-confs
check_for_zombie_jobs storage=File
stop_bacula
+size=`du ${cwd}/tmp/bacula-restores/${cwd}/build/src/tools/gigaslam.gif | cut -f 1`
+if [ $size -gt 120 ]; then
+ echo "========== restored sparse file: gigaslam.gif too big ========="
+fi
+
check_two_logs
check_restore_diff
end_test