<?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>Chapter 27. Recovery Configuration</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="hot-standby.html" title="26.5. Hot Standby" /><link rel="next" href="archive-recovery-settings.html" title="27.1. Archive Recovery Settings" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">Chapter 27. Recovery Configuration</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="hot-standby.html" title="26.5. Hot Standby">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="admin.html" title="Part III. Server Administration">Up</a></td><th width="60%" align="center">Part III. Server Administration</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 11.5 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="archive-recovery-settings.html" title="27.1. Archive Recovery Settings">Next</a></td></tr></table><hr></hr></div><div class="chapter" id="RECOVERY-CONFIG"><div class="titlepage"><div><div><h2 class="title">Chapter 27. Recovery Configuration</h2></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="sect1"><a href="archive-recovery-settings.html">27.1. Archive Recovery Settings</a></span></dt><dt><span class="sect1"><a href="recovery-target-settings.html">27.2. Recovery Target Settings</a></span></dt><dt><span class="sect1"><a href="standby-settings.html">27.3. Standby Server Settings</a></span></dt></dl></div><a id="id-1.6.14.2" class="indexterm"></a><p> This chapter describes the settings available in the <code class="filename">recovery.conf</code><a id="id-1.6.14.3.2" class="indexterm"></a> file. They apply only for the duration of the recovery. They must be reset for any subsequent recovery you wish to perform. They cannot be changed once recovery has begun. </p><p> Settings in <code class="filename">recovery.conf</code> are specified in the format <code class="literal">name = 'value'</code>. One parameter is specified per line. Hash marks (<code class="literal">#</code>) designate the rest of the line as a comment. To embed a single quote in a parameter value, write two quotes (<code class="literal">''</code>). </p><p> A sample file, <code class="filename">share/recovery.conf.sample</code>, is provided in the installation's <code class="filename">share/</code> directory. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="hot-standby.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="archive-recovery-settings.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">26.5. Hot Standby </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 27.1. Archive Recovery Settings</td></tr></table></div></body></html>