diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
---|---|---|
committer | <> | 2015-03-17 16:26:24 +0000 |
commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/bdb-sql/recoverysql.html | |
parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
download | berkeleydb-master.tar.gz |
Diffstat (limited to 'docs/bdb-sql/recoverysql.html')
-rw-r--r-- | docs/bdb-sql/recoverysql.html | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/docs/bdb-sql/recoverysql.html b/docs/bdb-sql/recoverysql.html new file mode 100644 index 00000000..ed4d344f --- /dev/null +++ b/docs/bdb-sql/recoverysql.html @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Catastrophic Recovery</title> + <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> + <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> + <link rel="start" href="index.html" title="Getting Started with the Oracle Berkeley DB SQL APIs" /> + <link rel="up" href="admin.html" title="Chapter 5. Administrating Berkeley DB SQL Databases" /> + <link rel="prev" href="datamigration.html" title="Data Migration" /> + <link rel="next" href="statsql.html" title="Database Statistics" /> + </head> + <body> + <div xmlns="" class="navheader"> + <div class="libver"> + <p>Library Version 12.1.6.1</p> + </div> + <table width="100%" summary="Navigation header"> + <tr> + <th colspan="3" align="center">Catastrophic Recovery</th> + </tr> + <tr> + <td width="20%" align="left"><a accesskey="p" href="datamigration.html">Prev</a> </td> + <th width="60%" align="center">Chapter 5. Administrating Berkeley DB SQL Databases</th> + <td width="20%" align="right"> <a accesskey="n" href="statsql.html">Next</a></td> + </tr> + </table> + <hr /> + </div> + <div class="sect1" lang="en" xml:lang="en"> + <div class="titlepage"> + <div> + <div> + <h2 class="title" style="clear: both"><a id="recoverysql"></a>Catastrophic Recovery</h2> + </div> + </div> + </div> + <p> + Catastrophic recovery is used when normal recovery is + unable to repair a corrupted database. + A detailed description of the recovery utility is described at + <a href="../api_reference/C/db_recover.html" class="olink">db_recover</a> + . This + section describes how to use the utility with a SQL database. + </p> + <p> + The first step in running recovery is to add a <a href="../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> + file + to the journal directory. In the file, add the following line: + </p> + <code class="code"> + add_data_dir .. + </code> + <p> + Then execute the following command in the journal directory + <span class="command"><strong>db_recover -c</strong></span>. + </p> + </div> + <div class="navfooter"> + <hr /> + <table width="100%" summary="Navigation footer"> + <tr> + <td width="40%" align="left"><a accesskey="p" href="datamigration.html">Prev</a> </td> + <td width="20%" align="center"> + <a accesskey="u" href="admin.html">Up</a> + </td> + <td width="40%" align="right"> <a accesskey="n" href="statsql.html">Next</a></td> + </tr> + <tr> + <td width="40%" align="left" valign="top">Data Migration </td> + <td width="20%" align="center"> + <a accesskey="h" href="index.html">Home</a> + </td> + <td width="40%" align="right" valign="top"> Database Statistics</td> + </tr> + </table> + </div> + </body> +</html> |