openafs/doc/html/AdminReference/auarf089.htm

146 lines
7.4 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf088.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf090.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRBK_STATUS" HREF="auarf002.htm#ToC_103">backup status</A></H2>
<A NAME="IDX4412"></A>
<A NAME="IDX4413"></A>
<A NAME="IDX4414"></A>
<A NAME="IDX4415"></A>
<P><STRONG>Purpose</STRONG>
<P>Reports a Tape Coordinator's status
<P><STRONG>Synopsis</STRONG>
<PRE><B>backup status</B> [<B>-portoffset</B> &lt;<VAR>TC&nbsp;port&nbsp;offset</VAR>>]
[<B>-localauth</B>] [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-help</B>]
<B>backup st</B> [<B>-p</B> &lt;<VAR>TC&nbsp;port&nbsp;offset</VAR>>] [<B>-l</B>] [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>backup status</B> command displays which operation, if any, the
indicated Tape Coordinator is currently executing.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-portoffset
</B><DD>Specifies the port offset number of the Tape Coordinator for which to
report the status.
<P><DT><B>-localauth
</B><DD>Constructs a server ticket using a key from the local
<B>/usr/afs/etc/KeyFile</B> file. The <B>backup</B> command
interpreter presents it to the Backup Server, Volume Server and VL Server
during mutual authentication. Do not combine this flag with the
<B>-cell</B> argument. For more details, see the introductory
<B>backup</B> reference page.
<P><DT><B>-cell
</B><DD>Names the cell in which to run the command. Do not combine this
argument with the <B>-localauth</B> flag. For more details, see the
introductory <B>backup</B> reference page.
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Output</STRONG>
<P>The following message indicates that the Tape Coordinator is not currently
performing an operation:
<PRE> Tape coordinator is idle
</PRE>
<P>Otherwise, the output includes a message of the following format for each
running or pending operation:
<PRE> Task <VAR>task_ID</VAR>: <VAR>operation</VAR>: <VAR>status</VAR>
</PRE>
<P>where
<DL>
<P><DT><B><VAR>task_ID</VAR>
</B><DD>Is a task identification number assigned by the Tape Coordinator.
It begins with the Tape Coordinator's port offset number.
<P><DT><B><VAR>operation</VAR>
</B><DD>Identifies the operation the Tape Coordinator is performing, which is
initiated by the indicated command:
<UL>
<P><LI><TT>Dump</TT> (the <B>backup dump</B> command)
<P><LI><TT>Restore</TT> (the <B>backup diskrestore</B>, <B>backup
volrestore</B>, or <B>backup volsetrestore</B> commands)
<P><LI><TT>Labeltape</TT> (the <B>backup labeltape</B> command)
<P><LI><TT>Scantape</TT> (the <B>backup scantape</B> command)
<P><LI><TT>SaveDb</TT> (the <B>backup savedb</B> command)
<P><LI><TT>RestoreDb</TT> (the <B>backup restoredb</B> command)
</UL>
<P><DT><B><VAR>status</VAR>
</B><DD>Indicates the job's current status in one of the following
messages.
<DL>
<P><DT><B><VAR>number</VAR> <TT>Kbytes transferred, volume</TT> <VAR>volume_name</VAR>
</B><DD>For a running dump operation, indicates the number of kilobytes copied to
tape or a backup data file so far, and the volume currently being
dumped.
<P><DT><B><VAR>number</VAR> <TT>Kbytes, restore.volume</TT>
</B><DD>For a running restore operation, indicates the number of kilobytes copied
into AFS from a tape or a backup data file so far.
<P><DT><B><TT>[abort requested]</TT>
</B><DD>The <B>(backup) kill</B> command was issued, but the termination
signal has yet to reach the Tape Coordinator.
<P><DT><B><TT>[abort sent]</TT>
</B><DD>The operation is canceled by the <B>(backup) kill</B> command.
Once the Backup System removes an operation from the queue or stops it from
running, it no longer appears at all in the output from the command.
<P><DT><B><TT>[butc contact lost]</TT>
</B><DD>The <B>backup</B> command interpreter cannot reach the Tape
Coordinator. The message can mean either that the Tape Coordinator
handling the operation was terminated or failed while the operation was
running, or that the connection to the Tape Coordinator timed out.
<P><DT><B><TT>[done]</TT>
</B><DD>The Tape Coordinator has finished the operation.
<P><DT><B><TT>[drive wait]</TT>
</B><DD>The operation is waiting for the specified tape drive to become
free.
<P><DT><B><TT>[operator wait]</TT>
</B><DD>The Tape Coordinator is waiting for the backup operator to insert a tape
in the drive.
</DL>
</DL>
<P>If the Tape Coordinator is communicating with an XBSA server (a third-party
backup utility that implements the Open Group's Backup Service API
[XBSA]), the following message appears last in the output:
<PRE> <VAR>XBSA_program</VAR> Tape coordinator
</PRE>
<P>where <VAR>XBSA_program</VAR> is the name of the XBSA-compliant
program.
<P><STRONG>Examples</STRONG>
<P>The following example shows that the Tape Coordinator with port offset 4
has so far dumped about 1.5 MB of data for the current dump operation,
and is currently dumping the volume named
<B>user.pat.backup</B>:
<PRE> % <B>backup status -portoffset 4</B>
Task 4001: Dump: 1520 Kbytes transferred, volume user.pat.backup
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
every machine where the Backup Server is running, or must be logged onto a
server machine as the local superuser <B>root</B> if the
<B>-localauth</B> flag is included.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf060.htm#HDRBK_INTRO">backup</A>
<P><A HREF="auarf126.htm#HDRBUTC">butc</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf088.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf090.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>