> I found the reason for that error in the source code:
> in file dev.c at line 385 bacula tries to rewind the fifo....

Thanks, it's ok in 2.0.x and 2.1.x now.

> But now I face the next problem. Restore by the fifo device doesn't work. I 
> can restore when I use a file device. Therefore I backup some files through 
> a fifo and pipe the data to a file. When I now restore the backup by 
> pointing a file device to that backup file I can restore.

It's a good news

> But I couldn't manage restoring through a fifo.

At home, bacula can't find BB2 label, i will try to find why.

> So I think nobody is actually using this feature of bacula? 

This functionality was broken for a rather long time.


But writing to a Fifo is a very useful feature, 
if you want setup a Dummy Device....

You can test a backup without using disk or tape space and you will have a
good idea of your fd and network speed.

For this, add

Device {
  Name = Dummy
  Media Type = Dummy
  Device Type = Fifo
  Archive Device = /dev/null
  LabelMedia = yes
  Random Access = no
  AutomaticMount = no
  RemovableMedia = no
  MaximumOpenWait = 60
  AlwaysOpen = no
}

to your bacula-sd.conf and add Dummy Device to your bacula-dir.conf

Bye

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to