Hello,

Contrary to what I emailed to Michael Brennen yesterday, there is no problem 
with version 2.0.3, which I expect to release early next week.  I accidently 
ran the tape regression scripts against version 2.1.3, which failed.  I've 
now fixed that problem in the SVN (it was the new virtual autochanger code).

Anyway, both 2.0.3 and 2.1.3 pass the regression scripts.  I'll release a beta 
version of 2.0.3 over the weekend.

I've read reports of problems backing up and restoring FIFOs, and have the 
following two remarks:

1. Using a FIFO as a storage device (as defined in a SD Device resource) is 
something that is implemented but has never been truely supported nor to the 
best of my knowledge used.  Eric recently found and fixed a bug with it, and 
there may be more.

2. Doing a backup/restore from/to a FIFO (as defined in a FileSet resource) is 
supported and from my tests works perfectly well in Bacula 2.0.x.  In some 
previous versions there were some problems, but they have long since been 
corrected.

Item 1 above, as I mentioned, is probably not used, and I am not very sure 
about its usefulness.

Item 2 above is very useful as it provides a means to backup and restore large 
volumes of data -- typically a dump of a database.  However, getting it 
working right can be a bit tricky because of the fact that FIFOs (or named 
pipes) are one way devices that block if no corresponding reader/writer is 
present.  Making FIFOs work is documented, though not in detail.   If someone 
wants more details and is capable of reading shell scripts, you can look in 

 <bacula-svn>/regress/tests/fifo-test

for an example of a backup and restore of a fifo.  It works roughly as the 
following:

backup:
  mkfifo  fifo
  cat some-file >fifo &
  run a backup on fifo with ReadFIFO = yes
  ...
  
restore:
  mkfifo fifo
  cat <fifo >some-file &
  run a restore of fifo with ReadFIFO = yes
  ...

If you want to use this and have problems with it, please ask the bacula-users 
list for help.

Best regards,

Kern

  

-------------------------------------------------------------------------
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