3 # Attempt to backup from a fifo and restore to a fifo
12 #scripts/copy-test-confs
13 echo "/tmp/bfifo" >/tmp/file-list
16 # send a file into the fifo
18 cat ${file} >/tmp/bfifo&
22 cat <<END_OF_DATA >tmp/bconcmds
26 label storage=File1 volume=TestVolume001
27 run job=$JobName storage=File1 yes
36 cat <<END_OF_DATA >tmp/bconcmds
43 restore where=${cwd}/tmp/bacula-restores select all storage=File1 done
51 cat </tmp/bfifo >tmp/${file} &
55 check_for_zombie_jobs storage=File1
59 diff ${file} tmp/${file}