3 # Attempt to backup and restore a file with the bpipe plugin
10 scripts/copy-plugin-confs
12 echo "${cwd}/${file}" >${cwd}/tmp/file-list
16 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
19 @$out ${cwd}/tmp/log1.out
20 label storage=File1 volume=TestVolume001
21 setdebug level=50 client=$CLIENT
22 run job=$JobName storage=File1 yes
31 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
37 @$out ${cwd}/tmp/log2.out
38 @#setdebug level=50 client=$CLIENT
39 restore where=${cwd}/tmp select all storage=File1 done
50 check_for_zombie_jobs storage=File1
54 diff ${cwd}/${file} ${cwd}/tmp/${file}