Bacula-users

Re: [Bacula-users] Restore FIFO as a regular file

2012-12-10 02:39:48
Subject: Re: [Bacula-users] Restore FIFO as a regular file
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 10 Dec 2012 08:36:25 +0100
Hello,

2012/12/9 styopa <bacula-forum AT backupcentral DOT com>
Hi everyone.

There is a problem in Bacula that if you read data from FIFO (aka named pipes), you have to restore to named pipes as well. But according to the manual there must be a program reading from these pipes before the FD will even open them. And since there is no way to figure out the future pipe filenames, we got a classic chicken-and-egg problem. Some people solve it by hardcoding the filename in a restore Bash script, but I think this is lame. Suppose you have several huge databases, and you want to restore just one of them.

If I want to use pipes/fifo to backup from external application I use a bpipe-fd plugin which handles external application execution and backup data stream dispatching for both backup and restore process. 

It has nothing with restoring a data to named pipes, but solves a chicken-and-egg problem mentioned above.

best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>