3 # Attempt to backup and restore a file with the delta plugin
11 scripts/copy-plugin-confs
13 cat << EOF >> $conf/bacula-dir.conf
25 $bperl -e 'add_attribute("$conf/bacula-dir.conf", "FileSet", "FS_DELTA", "Job", "pluginTest")'
30 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
33 @$out ${cwd}/tmp/log1.out
34 label storage=File volume=TestVolume001
35 setdebug level=150 client=$CLIENT
36 estimate job=$JobName level=Full
37 setdebug level=50 client=$CLIENT
42 run job=$JobName level=Incremental yes
45 run job=$JobName level=Incremental yes
53 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
58 @$out ${cwd}/tmp/log2.out
59 setdebug level=50 client=$CLIENT
60 restore where=$tmp select all done
64 @$out ${cwd}/tmp/log3.out
66 setdebug level=0 client=$CLIENT