<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >Backup support</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Autodir HOWTO" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Virtual directory expiration" HREF="vdexp.html"><LINK REL="NEXT" TITLE="Backup program requirements" HREF="backupreq.html"></HEAD ><BODY CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Autodir HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="vdexp.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="backupreq.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="backup" ></A >11. Backup support</H1 ><P > <EM >Autodir</EM > supports backup program launching when a <EM >virtual directory</EM > is removed after a period of inactivity. Removal of the <EM >virtual directory</EM > is itself an assurance that no other application can access the content and modify it.</P ><P >Just like there is wait time for expiring a <EM >virtual directory</EM >, for backup <EM >Autodir</EM > also waits during some time after the expiry of the <EM >virtual directory</EM >, prior to starting the backup. This time period can be configured through a <A HREF="backupopts.html#autodir_w_opt" >command line option</A > to <EM >Autodir</EM >.</P ><P >By design, backup programs are expected to operate on <EM >real directories</EM > but not on <EM >virtual directory</EM >. If the backup program try to access a <EM >virtual directory</EM >, then <EM >Autodir</EM > assumes some regular application is in need of that directory and the backup program is killed, even if the <EM >virtual directory</EM > accessing process is the backup program itself.</P ><P >A separate backup process for each <EM >real directory</EM > is used. The backup program can be given <A HREF="backupopts.html#back_esc_str" >arguments</A > of <EM >real directories</EM > on which to operate.</P ><DIV CLASS="note" ><P ></P ><TABLE CLASS="note" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P >Backup support is independent of any particular module being used. It is applicable to all modules with <EM >Autodir</EM >.</P ></TD ></TR ></TABLE ></DIV ><DIV CLASS="important" ><P ></P ><TABLE CLASS="important" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/important.gif" HSPACE="5" ALT="Important"></TD ><TH ALIGN="LEFT" VALIGN="CENTER" ><B >Backup = real!</B ></TH ></TR ><TR ><TD > </TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P >Backup programs should never access <EM >virtual directory</EM > or <EM >virtual base directory</EM >.</P ></TD ></TR ></TABLE ></DIV ><DIV CLASS="caution" ><P ></P ><TABLE CLASS="caution" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/caution.gif" HSPACE="5" ALT="Caution"></TD ><TH ALIGN="LEFT" VALIGN="CENTER" ><B >Time off</B ></TH ></TR ><TR ><TD > </TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P >The backup feature is not much use if the <EM >virtual directories</EM > are being accessed by applications all the time.</P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="vdexp.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="backupreq.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Virtual directory expiration</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Backup program requirements</TD ></TR ></TABLE ></DIV ></BODY ></HTML >