70
70
restore_command = 'cp /mnt/server/archivedir/%f "%p"'
71
71
restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
72
72
</programlisting>
73
+ An exception is that if the command was terminated by a signal (other
74
+ than <systemitem>SIGTERM</systemitem>, which is used as part of a
75
+ database server shutdown) or an error by the shell (such as command
76
+ not found), then recovery will abort and the server will not start up.
73
77
</para>
74
78
</listitem>
75
79
</varlistentry>
@@ -106,8 +110,10 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
106
110
command.
107
111
</para>
108
112
<para>
109
- If the command returns a non-zero exit status then a WARNING log
110
- message will be written.
113
+ If the command returns a nonzero exit status then a warning log
114
+ message will be written. An exception is that if the command was
115
+ terminated by a signal or an error by the shell (such as command not
116
+ found), a fatal error will be raised.
111
117
</para>
112
118
</listitem>
113
119
</varlistentry>
@@ -127,10 +133,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
127
133
last valid restart point, like in <xref linkend="archive-cleanup-command">.
128
134
</para>
129
135
<para>
130
- If the command returns anon-zero exit status then aWARNING log
136
+ If the command returns anonzero exit status then awarning log
131
137
message will be written and the database will proceed to start up
132
138
anyway. An exception is that if the command was terminated by a
133
- signal, the database will not proceed with startup.
139
+ signal or an error by the shell (such as command not found), the
140
+ database will not proceed with startup.
134
141
</para>
135
142
</listitem>
136
143
</varlistentry>