[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    Re: [Bacula-users] FIFO Backup Questions
From:       Heitor Faria <heitor () bacula ! com ! br>
Date:       2015-02-28 14:19:20
Message-ID: assp.05010ca1fb.597596053.2464067.1425133160191.JavaMail.zimbra () bacula ! com ! br
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> The answer to #1 is given in your #2 -- i.e. it is complicated, and if you do
> not have a program on the other end of a FIFO doing the right thing
> (read/write), Bacula will stall. FIFOs have their place, but you have to
> understand them very well to make them work or debug them.

Hello Kern! Copy operations seems to trigger the end o FIFO, so I suppose Bacula read \
operation will do the trick.  I will keep researching. Maybe posting on a Shell \
Script list will be more fruitful. 

Regards, 
============================================================================== 
Heitor Medrado de Faria - LPIC-III | ITIL-F 
02 a 13 de Março - Novo Treinamento Telepresencial Bacula: \
http://www.bacula.com.br/?p=2174  61 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfaria@gmail.com 
=============================================================================== 

> On 27.02.2015 22:59, Heitor Faria wrote:

> > Dear Bacula Users,
> 

> > 1. Why FIFO isn't more popular for database dumps backups? Is there any
> > drawback?
> 
> > 2. I inserted RedFifo=yes on FileSet Options and configured a simple
> > RunBeforeJob script (below) to test FIFO backup, but the backup job stalls
> > waitng for script termination. Am I missing something?
> 

> > [ -p /tmp/tubo ] ||mkfifo /tmp/tubo
> 
> > ls -l > /tmp/tubo
> 

> > Regards,
> 
> > ==============================================================================
> 
> > Heitor Medrado de Faria - LPIC-III | ITIL-F
> 
> > 02 a 13 de Março - Novo Treinamento Telepresencial Bacula:
> > http://www.bacula.com.br/?p=2174
> 
> > 61 8268-4220
> 
> > Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk:
> > heitorfaria@gmail.com
> 
> > ===============================================================================
> 

> > ------------------------------------------------------------------------------
> 
> > Dive into the World of Parallel Programming The Go Parallel Website,
> > sponsored
> 
> > by Intel and developed in partnership with Slashdot Media, is your hub for
> > all
> 
> > things parallel software development, from weekly thought leadership blogs
> > to
> 
> > news, videos, case studies, tutorials and more. Take a look and join the
> 
> > conversation now. http://goparallel.sourceforge.net/
> 

> > _______________________________________________
> 
> > Bacula-users mailing list Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


[Attachment #5 (text/html)]

<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; \
color: #000000"><blockquote style="border-left:2px solid \
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:norm \
al;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div><span \
style="font-size: 12pt;">The answer to #1 is given in your #2 --  i.e. it is \
complicated, and if you do not have a program on the  other end of a FIFO doing the \
right thing (read/write), Bacula  will stall.&nbsp; FIFOs have their place, but you \
have to understand  them very well to make them work or debug \
them.</span></div></blockquote><div>Hello Kern! Copy operations seems to trigger the \
end o FIFO, so I suppose Bacula read operation will do the trick.</div><div>I will \
keep researching. Maybe posting on a Shell Script list will be more \
fruitful.</div><div><br></div><div>Regards,</div><div><div style="font-size: \
13.3333330154419px;" data-mce-style="font-size: 13.3333330154419px;"><span \
style="color: #888888; font-size: 13px; background-color: #ffffff;" \
data-mce-style="color: #888888; font-size: 13px; background-color: \
#ffffff;">==============================================================================</span><br \
style="color: #888888; font-family: arial, sans-serif; font-size: 12.8000001907349px; \
background-color: #ffffff;" data-mce-style="color: #888888; font-family: arial, \
sans-serif; font-size: 12.8000001907349px; background-color: #ffffff;"><span \
style="color: #888888; font-size: 12.8000001907349px; background-color: #ffffff;" \
data-mce-style="color: #888888; font-size: 12.8000001907349px; background-color: \
#ffffff;">Heitor Medrado de Faria&nbsp;<span style="font-family: arial, sans-serif;" \
data-mce-style="font-family: arial, sans-serif;">&nbsp;- LPIC-III | \
ITIL-F</span></span></div><div style="font-size: 13.3333330154419px;" \
data-mce-style="font-size: 13.3333330154419px;"><span style="color: #888888;" \
data-mce-style="color: #888888;">02 a 13 de Março - Novo Treinamento Telepresencial \
Bacula:&nbsp;<span style="color: #0000ff;" data-mce-style="color: #0000ff;"><a \
href="http://www.bacula.com.br/?p=2174" target="_blank" \
data-mce-href="http://www.bacula.com.br/?p=2174"><span style="color: #0000ff;" \
data-mce-style="color: \
#0000ff;">http://www.bacula.com.br/?p=2174</span></a></span></span></div><div \
style="color: #888888; font-family: arial, sans-serif; font-size: 12.8000001907349px; \
background-color: #ffffff;" data-mce-style="color: #888888; font-family: arial, \
sans-serif; font-size: 12.8000001907349px; background-color: #ffffff;"><span \
style="font-family: arial, helvetica, sans-serif;" data-mce-style="font-family: \
arial, helvetica, sans-serif;"><a href="tel:%2B55%2061%202021-8260" \
value="+556120218260" target="_blank" style="font-size: 12.8000001907349px; color: \
#1155cc;" data-mce-href="tel:%2B55%2061%202021-8260" data-mce-style="font-size: \
12.8000001907349px; color: #1155cc;"><span style="color: #888888;" \
data-mce-style="color: #888888;">61&nbsp;</span></a><a \
href="tel:%2B55%2061%208268-4220" value="+556182684220" target="_blank" style="color: \
#1155cc;" data-mce-href="tel:%2B55%2061%208268-4220" data-mce-style="color: \
#1155cc;"><span style="color: #888888;" data-mce-style="color: \
#888888;">8268-4220</span></a></span></div><div style="color: #888888; font-family: \
arial, sans-serif; font-size: 12.8000001907349px; background-color: #ffffff;" \
data-mce-style="color: #888888; font-family: arial, sans-serif; font-size: \
12.8000001907349px; background-color: #ffffff;"><div><span style="font-family: arial, \
helvetica, sans-serif;" data-mce-style="font-family: arial, helvetica, \
sans-serif;"><span style="font-size: 12.8000001907349px;" data-mce-style="font-size: \
12.8000001907349px;">Site:&nbsp;</span><a href="http://www.bacula.com.br/" \
target="_blank" style="font-size: 12.8000001907349px; color: #1155cc;" \
data-mce-href="http://www.bacula.com.br/" data-mce-style="font-size: \
12.8000001907349px; color: #1155cc;"><span style="color: #888888;" \
data-mce-style="color: #888888;">www.bacula.com.br</span></a><span style="font-size: \
12.8000001907349px;" data-mce-style="font-size: \
12.8000001907349px;">&nbsp;|&nbsp;</span><span style="font-size: 12.8000001907349px;" \
data-mce-style="font-size: 12.8000001907349px;">Facebook:&nbsp;</span><a \
href="http://www.facebook.com/heitor.faria" target="_blank" style="font-size: \
12.8000001907349px; color: #1155cc;" \
data-mce-href="http://www.facebook.com/heitor.faria" data-mce-style="font-size: \
12.8000001907349px; color: #1155cc;"><span style="color: #888888;" \
data-mce-style="color: #888888;">heitor.faria</span></a><span style="font-size: \
12.8000001907349px;" data-mce-style="font-size: \
12.8000001907349px;">&nbsp;|&nbsp;</span><span style="font-size: 12.8000001907349px;" \
data-mce-style="font-size: 12.8000001907349px;">Gtalk:&nbsp;</span><a \
href="mailto:heitorfaria@gmail.com" target="_blank" style="font-size: \
12.8000001907349px; color: #1155cc;" data-mce-href="mailto:heitorfaria@gmail.com" \
data-mce-style="font-size: 12.8000001907349px; color: #1155cc;"><span style="color: \
#888888;" data-mce-style="color: \
#888888;">heitorfaria@gmail.com</span></a></span></div><div><span style="font-family: \
arial, helvetica, sans-serif;" data-mce-style="font-family: arial, helvetica, \
sans-serif;">===============================================================================</span></div><div><span \
style="font-family: arial, helvetica, sans-serif;" data-mce-style="font-family: \
arial, helvetica, sans-serif;">&nbsp;</span></div></div><span name="x" \
style="font-size: 13.3333330154419px;" data-mce-style="font-size: \
13.3333330154419px;"></span></div><blockquote style="border-left:2px solid \
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:norm \
al;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div \
class="moz-cite-prefix"><br><br>  On 27.02.2015 22:59, Heitor Faria \
wrote:<br></div><blockquote \
cite="mid:assp.05005cd497.299879031.2448241.1425074384846.JavaMail.zimbra@bacula.com.br"><div \
                style="font-family: arial,helvetica,sans-serif; font-size:
        10pt; color: #000000"><div>Dear Bacula Users,</div><div><br></div><div>1. Why \
                FIFO isn't more popular for database dumps backups?
          Is there any drawback?</div><div>2. I inserted RedFifo=yes on FileSet \
Options and configured  a simple RunBeforeJob script (below) to test FIFO backup, but
          the backup job stalls waitng for script termination. Am I
          missing something?</div><div><br></div><div><p style="margin: 0px;">[ -p
            /tmp/tubo ] ||mkfifo /tmp/tubo<br>
            ls -l &gt; \
/tmp/tubo</p></div><div><br></div><div>Regards,</div><div><div><span style="color: \
rgb(136, 136, 136); font-family: arial,  helvetica, sans-serif; font-size: 13px; \
background-color:  rgb(255, 255, \
255);">==============================================================================</span><br \
style="color: #888888; font-family: arial, sans-serif;  font-size: \
                12.800000190734863px; background-color:
              #ffffff;"><span style="color: rgb(136, 136, 136); font-family: arial,
              helvetica, sans-serif; font-size: 12.8000001907349px;
              background-color: rgb(255, 255, 255);">Heitor Medrado de
              Faria&nbsp;<span style="color: #888888; font-family: arial,
                sans-serif; background-color: #ffffff;">&nbsp;- LPIC-III |
                ITIL-F</span></span></div><div><span style="color: rgb(136, 136, \
                136);">02 a 13 de Março
              - Novo Treinamento Telepresencial Bacula:&nbsp;<span style="color: \
rgb(0, 0, 255);"><a href="http://www.bacula.com.br/?p=2174" target="_blank"><span \
style="color: rgb(0, 0, \
255);">http://www.bacula.com.br/?p=2174</span></a></span></span></div><div \
                style="color: #888888; font-family: arial, sans-serif;
            font-size: 12.800000190734863px; background-color: #ffffff;"><span \
                style="font-family: arial,
              helvetica, sans-serif; color: rgb(136, 136, 136);"><a \
href="tel:%2B55%2061%202021-8260" target="_blank" style="font-size:  \
12.800000190734863px; color: rgb(17, 85, 204);"><span style="color: rgb(136, 136, \
136);">61 </span></a><a href="tel:%2B55%2061%208268-4220" target="_blank" \
                style="color: rgb(17, 85,
                204);"><span style="color: rgb(136, 136, \
136);">8268-4220</span></a></span></div><div style="color: #888888; font-family: \
                arial, sans-serif;
            font-size: 12.800000190734863px; background-color: #ffffff;"><div><span \
style="font-family: arial, helvetica, sans-serif;  color: rgb(136, 136, 136);"><span \
                style="font-size:
                  12.800000190734863px;">Site:&nbsp;</span><a \
href="http://www.bacula.com.br/" target="_blank" style="font-size:  \
12.800000190734863px; color: rgb(17, 85, 204);"><span style="color: rgb(136, 136, \
136);">www.bacula.com.br</span></a><span style="font-size: \
12.800000190734863px;">&nbsp;|&nbsp;</span><span style="font-size: \
12.800000190734863px;">Facebook:&nbsp;</span><a \
href="http://www.facebook.com/heitor.faria" target="_blank" style="font-size:  \
12.800000190734863px; color: rgb(17, 85, 204);"><span style="color: rgb(136, 136, \
136);">heitor.faria</span></a><span style="font-size: \
12.800000190734863px;">&nbsp;|&nbsp;</span><span style="font-size: \
12.800000190734863px;">Gtalk:&nbsp;</span><a href="mailto:heitorfaria@gmail.com" \
target="_blank" style="font-size:  12.800000190734863px; color: rgb(17, 85, \
204);"><span style="color: rgb(136, 136, \
136);">heitorfaria@gmail.com</span></a></span></div><div><span style="font-family: \
arial, helvetica, sans-serif;  color: rgb(136, 136, \
136);">=============================================================================== \
</span></div></div><br></div></div><br><br><pre>------------------------------------------------------------------------------
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. <a class="moz-txt-link-freetext" \
href="http://goparallel.sourceforge.net/" \
target="_blank">http://goparallel.sourceforge.net/</a></pre><br><br><pre>_______________________________________________
 Bacula-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bacula-users@lists.sourceforge.net" \
target="_blank">Bacula-users@lists.sourceforge.net</a><a \
class="moz-txt-link-freetext" \
href="https://lists.sourceforge.net/lists/listinfo/bacula-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/bacula-users</a></pre></blockquote><br></blockquote><div><br></div></div></body></html>




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic