Chapter 6. Configuring the AFS Backup System

Table of Contents

Summary of Instructions
Introduction to Backup System Features
Volume Sets and Volume Entries
Dumps and Dump Sets
Dump Hierarchies, Dump Levels and Expiration Dates
Dump Names and Tape Names
Tape Labels, Dump Labels, and EOF Markers
Tape Coordinator Machines, Port Offsets, and Backup Data Files
The Backup Database and Backup Server Process
Interfaces to the Backup System
Overview of Backup System Configuration
Configuring the tapeconfig File
To run the fms command on a noncompressing tape device
Granting Administrative Privilege to Backup Operators
Configuring Tape Coordinator Machines and Tape Devices
To configure a Tape Coordinator machine
To configure an additional Tape Coordinator on an existing Tape Coordinator machine
To unconfigure a Tape Coordinator
To display the list of configured Tape Coordinators
Defining and Displaying Volume Sets and Volume Entries
To create a volume set
To add a volume entry to a volume set
To display volume sets and volume entries
To delete a volume set
To delete a volume entry from a volume set
Defining and Displaying the Dump Hierarchy
Creating a Tape Recycling Schedule
Archiving Tapes
Defining Expiration Dates
To add a dump level to the dump hierarchy
To change a dump level's expiration date
To delete a dump level from the dump hierarchy
To display the dump hierarchy
Writing and Reading Tape Labels
Recording a Name on the Label
Recording a Capacity on the Label
To label a tape
To read the label on a tape
Automating and Increasing the Efficiency of the Backup Process
Creating a Device Configuration File
Invoking a Device's Tape Mounting and Unmounting Routines
Eliminating the Search or Prompt for the Initial Tape
Enabling Default Responses to Error Conditions
Eliminating the AFS Tape Name Check
Setting the Memory Buffer Size to Promote Tape Streaming
Dumping Data to a Backup Data File
To configure a backup data file

The AFS Backup System helps you to create backup copies of data from AFS volumes and to restore data to the file system if it is lost or corrupted. This chapter explains how to configure the Backup System. For instructions on backing up and restoring data and displaying dump records, see Backing Up and Restoring AFS Data.

Summary of Instructions

This chapter explains how to perform the following tasks by using the indicated commands:

Determine tape capacity and filemark sizefms
Define Tape Coordinator entry in Backup Databasebackup addhost
Remove Tape Coordinator entry from Backup Databasebackup delhost
Display Tape Coordinator entries from Backup Databasebackup listhosts
Create volume setbackup addvolset
Add volume entry to volume setbackup addvolentry
List volume sets and entriesbackup listvolsets
Delete volume set from Backup Databasebackup delvolset
Delete volume entry from volume setbackup delvolentry
Define dump levelbackup adddump
Change expiration date on existing dump levelbackup setexp
Delete dump level from dump hierarchybackup deldump
Display dump hierarchybackup listdumps
Label tapebackup labeltape
Read label on tapebackup readlabel
./usr/share/doc/openafs-doc/html/AdminGuide/ch06s02.html0000644000000000000000000006176112614476110021531 0ustar rootrootIntroduction to Backup System Features</tvolume ID number. It can be any of the three versions of the volume.</p></dd></dl></div></li></ol></div><a class="indexterm" name="idp17053200"></a>class="indexterm" name="idp17054688"></a></div><div class="sect2" title="To unlock a single VLDB entry"><div class="titlepage"><div><div><h3 class="title"><a name="Header_268"></a>To unlock a single VLDB entry</h3></div></div></div><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Verify that you are listed in the <span class="bold"><strong>/usr/afs/etc/UserList</strong></span> file. If necessary, issue the <span class="bold"><strong>bos listusers</strong></span> command, which is fully described in <a class="link" href="ch16s05.html#HDRWQ593" title="To display the users in the UserList file">To display the users in the UserList file</a>. </p><pre class="programlisting"> % <span class="bold"><strong>bos listusers</strong></span> <<em class="replaceable"><code>machine name</code></em>> </pre></li><li class="listitem"><p>Issue the <span class="bold"><strong>vos unlock</strong></span> command to unlock the entry. </p><pre class="programlisting"> % <span class="bold"><strong>vos unlock</strong></span> <<em class="replaceable"><code>volume name or ID</code></em>> </pre><p>where </p><div class="variablelist"><dl><dt><span class="term"><span class="bold"><strong>unlock</strong></span></span></dt><dd><p>Must be typed in full.</p></dd><dt><span class="term"><span class="bold"><strong>volume name or ID</strong></span></span></dt><dd><p>Identifies the volume to be unlocked, either by its complete name or volume ID number. It can be any of the three versions of the volume.</p></dd></dl></div></li></ol></div><a class="indexterm" name="idp17071280"></a><a class="indexterm" name="idp17072768"></a></div><div class="sect2" title="To unlock multiple VLDB entries"><div class="titlepage"><div><div><h3 class="title"><a name="Header_269"></a>To unlock multiple VLDB entries</h3></div></div></div><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Verify that you are listed in the <span class="bold"><strong>/usr/afs/etc/UserList</strong></span> file. If necessary, issue the <span class="bold"><strong>bos listusers</strong></span> command, which is fully described in <a class="link" href="ch16s05.html#HDRWQ593" title="To display the users in the UserList file">To display the users in the UserList file</a>. </p><pre class="programlisting"> % <span class="bold"><strong>bos listusers</strong></span> <<em class="replaceable"><code>machine name</code></em>> </pre></li><li class="listitem"><p>Issue the <span class="bold"><strong>vos unlockvldb</strong></span> command to unlock the desired entries. </p><pre class="programlisting"> % <span class="bold"><strong>vos unlockvldb</strong></span> [<<em class="replaceable"><code>machine name</code></em>>] [<<em class="replaceable"><code>partition name</code></em>>] </pre><p>where </p><div class="variablelist"><dl><dt><span class="term"><span class="bold"><strong>unlockv</strong></span></span></dt><dd><p>Is the shortest acceptable abbreviation of <span class="bold"><strong>unlockvldb</strong></span>.</p></dd><dt><span class="term"><span class="bold"><strong>machine name</strong></span></span></dt><dd><p>Specifies a file server machine. Provide this argument alone to unlock all VLDB entries that mention the machine in a site definition. Omit both this argument and the partition name argument to unlock all VLDB entries.</p></dd><dt><span class="term"><span class="bold"><strong>partition name</strong></span></span></dt><dd><p>Specifies a partition. Provide this argument alone to unlock all VLDB entries that mention the partition (on any machine) in a site definition. Omit both this argument and the machine name argument to unlock all VLDB entries.</p></dd></dl></div></li></ol></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s15.html"><img src="../prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html"><img src="../up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="ch06.html"><img src="../next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Renaming Volumes </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="../home.gif" alt="Home"></a></td><td width="40%" align="right" valign="top"> Chapter 6. Configuring the AFS Backup System</td></tr></table></div></body></html> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������./usr/share/doc/openafs-doc/html/AdminGuide/ch06.html�����������������������������������������������0000644�0000000�0000000�00000023372�12614476110�021200� 0����������������������������������������������������������������������������������������������������ustar �root����������������������������root�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. Configuring the AFS Backup System

Chapter 6. Configuring the AFS Backup System

Table of Contents

Summary of Instructions
Introduction to Backup System Features
Volume Sets and Volume Entries
Dumps and Dump Sets
Dump Hierarchies, Dump Levels and Expiration Dates
Dump Names and Tape Names
Tape Labels, Dump Labels, and EOF Markers
Tape Coordinator Machines, Port Offsets, and Backup Data Files
The Backup Database and Backup Server Process
Interfaces to the Backup System
Overview of Backup System Configuration
Configuring the tapeconfig File
To run the fms command on a noncompressing tape device
Granting Administrative Privilege to Backup Operators
Configuring Tape Coordinator Machines and Tape Devices
To configure a Tape Coordinator machine
To configure an additional Tape Coordinator on an existing Tape Coordinator machine
To unconfigure a Tape Coordinator
To display the list of configured Tape Coordinators