<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>File Services Daemon</TITLE> <META NAME="description" CONTENT="File Services Daemon"> <META NAME="keywords" CONTENT="developers"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="developers.css"> <LINK REL="next" HREF="Storage_Daemon_Design.html"> <LINK REL="previous" HREF="Director_Services_Daemon.html"> <LINK REL="up" HREF="Developer_s_Guide.html"> <LINK REL="next" HREF="Commands_Received_from_Dire.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html892" HREF="Commands_Received_from_Dire.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html886" HREF="Developer_s_Guide.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html880" HREF="Director_Services_Daemon.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html888" HREF="Contents.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html890" HREF="GNU_Free_Documentation_Lice.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html893" HREF="Commands_Received_from_Dire.html">Commands Received from the</A> <B> Up:</B> <A NAME="tex2html887" HREF="Developer_s_Guide.html">Developer's Guide</A> <B> Previous:</B> <A NAME="tex2html881" HREF="Director_Services_Daemon.html">Director Services Daemon</A> <B> <A NAME="tex2html889" HREF="Contents.html">Contents</A></B> <B> <A NAME="tex2html891" HREF="GNU_Free_Documentation_Lice.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION00800000000000000000"></A> <A NAME="_ChapterStart11"></A><A NAME="2033"></A> <A NAME="2034"></A> <BR> File Services Daemon </H1> <P> Please note, this section is somewhat out of date as the code has evolved significantly. The basic idea has not changed though. <P> This chapter is intended to be a technical discussion of the File daemon services and as such is not targeted at end users but rather at developers and system administrators that want or need to know more of the working details of <B>Bacula</B>. <P> The <B>Bacula File Services</B> consist of the programs that run on the system to be backed up and provide the interface between the Host File system and Bacula - in particular, the Director and the Storage services. <P> When time comes for a backup, the Director gets in touch with the File daemon on the client machine and hands it a set of ``marching orders'' which, if written in English, might be something like the following: <P> OK, <B>File daemon</B>, it's time for your daily incremental backup. I want you to get in touch with the Storage daemon on host archive.mysite.com and perform the following save operations with the designated options. You'll note that I've attached include and exclude lists and patterns you should apply when backing up the file system. As this is an incremental backup, you should save only files modified since the time you started your last backup which, as you may recall, was 2000-11-19-06:43:38. Please let me know when you're done and how it went. Thank you. <P> So, having been handed everything it needs to decide what to dump and where to store it, the File daemon doesn't need to have any further contact with the Director until the backup is complete providing there are no errors. If there are errors, the error messages will be delivered immediately to the Director. While the backup is proceeding, the File daemon will send the file coordinates and data for each file being backed up to the Storage daemon, which will in turn pass the file coordinates to the Director to put in the catalog. <P> During a <B>Verify</B> of the catalog, the situation is different, since the File daemon will have an exchange with the Director for each file, and will not contact the Storage daemon. <P> A <B>Restore</B> operation will be very similar to the <B>Backup</B> except that during the <B>Restore</B> the Storage daemon will not send storage coordinates to the Director since the Director presumably already has them. On the other hand, any error messages from either the Storage daemon or File daemon will normally be sent directly to the Directory (this, of course, depends on how the Message resource is defined). <P> <BR><HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A> <UL> <LI><A NAME="tex2html894" HREF="Commands_Received_from_Dire.html">Commands Received from the Director for a Backup</A> <LI><A NAME="tex2html895" HREF="Commands_Received_from_Dire.html#SECTION00820000000000000000">Commands Received from the Director for a Restore</A> </UL> <!--End of Table of Child-Links--> <HR> <!--Navigation Panel--> <A NAME="tex2html892" HREF="Commands_Received_from_Dire.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html886" HREF="Developer_s_Guide.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html880" HREF="Director_Services_Daemon.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html888" HREF="Contents.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html890" HREF="GNU_Free_Documentation_Lice.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html893" HREF="Commands_Received_from_Dire.html">Commands Received from the</A> <B> Up:</B> <A NAME="tex2html887" HREF="Developer_s_Guide.html">Developer's Guide</A> <B> Previous:</B> <A NAME="tex2html881" HREF="Director_Services_Daemon.html">Director Services Daemon</A> <B> <A NAME="tex2html889" HREF="Contents.html">Contents</A></B> <B> <A NAME="tex2html891" HREF="GNU_Free_Documentation_Lice.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> 2010-06-14 </ADDRESS> </BODY> </HTML>