Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > df754e4e6f7f5fc8ab9d6ed8559f3e3d > files > 41

bacula-docs-5.0.3-19.fc16.noarch.rpm

<!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>Bvfs API</TITLE>
<META NAME="description" CONTENT="Bvfs API">
<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="previous" HREF="General.html">
<LINK REL="up" HREF="Implementing_GUI_Interface.html">
<LINK REL="next" HREF="TLS.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1319"
  HREF="TLS.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html1313"
  HREF="Implementing_GUI_Interface.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html1309"
  HREF="General.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html1315"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html1317"
  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="tex2html1320"
  HREF="TLS.html">TLS</A>
<B> Up:</B> <A NAME="tex2html1314"
  HREF="Implementing_GUI_Interface.html">Implementing a GUI Interface</A>
<B> Previous:</B> <A NAME="tex2html1310"
  HREF="General.html">GUI Interface is Difficult</A>
 &nbsp; <B>  <A NAME="tex2html1316"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html1318"
  HREF="GNU_Free_Documentation_Lice.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001320000000000000000"></A>
<A NAME="sec:bvfs"></A>
<BR>
Bvfs API
</H1>

<P>
To help developers of restore GUI interfaces, we have added new <I>dot
  commands</I> that permit browsing the catalog in a very simple way.

<P>

<UL>
<LI><TT>.bvfs_update [jobid=x,y,z]</TT> This command is required to update
  the Bvfs cache in the catalog. You need to run it before any access to the
  Bvfs layer.

<P>
</LI>
<LI><TT>.bvfs_lsdirs jobid=x,y,z path=/path | pathid=101</TT> This command
  will list all directories in the specified <TT>path</TT> or
  <TT>pathid</TT>. Using <TT>pathid</TT> avoids problems with character
  encoding of path/filenames.

<P>
</LI>
<LI><TT>.bvfs_lsfiles jobid=x,y,z path=/path | pathid=101</TT> This command
  will list all files in the specified <TT>path</TT> or <TT>pathid</TT>. Using
  <TT>pathid</TT> avoids problems with character encoding.
</LI>
</UL>

<P>
You can use <TT>limit=xxx</TT> and <TT>offset=yyy</TT> to limit the amount of
data that will be displayed.

<P>
<PRE>
* .bvfs_update jobid=1,2
* .bvfs_update
* .bvfs_lsdir path=/ jobid=1,2
</PRE>

<P>
<BR><HR>
<ADDRESS>

2012-01-24
</ADDRESS>
</BODY>
</HTML>