|
1 | | -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.43 2003/09/23 22:48:53 tgl Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.43.2.1 2010/05/15 18:11:41 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <refentry id="APP-PGRESTORE"> |
4 | 4 | <refmeta> |
|
156 | 156 | <term><literal>t</></term> |
157 | 157 | <listitem> |
158 | 158 | <para> |
159 | | - The archive is a <command>tar</command> archive. Using this |
160 | | - archive format allows reordering and/or exclusion of schema |
161 | | - elements at the time the database is restored. It is also |
162 | | - possible to limit which data is reloaded at restore time. |
| 159 | + The archive is a <command>tar</command> archive. |
163 | 160 | </para> |
164 | 161 | </listitem> |
165 | 162 | </varlistentry> |
|
169 | 166 | <listitem> |
170 | 167 | <para> |
171 | 168 | The archive is in the custom format of |
172 | | - <application>pg_dump</application>. This is the most |
173 | | - flexible format in that it allows reordering of data load |
174 | | - as well as schema elements. This format is also compressed |
175 | | - by default. |
| 169 | + <application>pg_dump</application>. |
176 | 170 | </para> |
177 | 171 | </listitem> |
178 | 172 | </varlistentry> |
|
207 | 201 | <listitem> |
208 | 202 | <para> |
209 | 203 | List the contents of the archive. The output of this operation |
210 | | - can be used with the <option>-L</option> option to restrict |
211 | | - and reorder the items that are restored. |
| 204 | + can be used as input to the <option>-L</option> option. Note that |
| 205 | + if filtering switches such as <option>-n</> or <option>-t</> are |
| 206 | + used with <option>-l</>, they will restrict the items listed. |
212 | 207 | </para> |
213 | 208 | </listitem> |
214 | 209 | </varlistentry> |
|
218 | 213 | <term><option>--use-list=<replaceable class="parameter">list-file</replaceable></option></term> |
219 | 214 | <listitem> |
220 | 215 | <para> |
221 | | - Restore elements in <REPLACEABLE |
222 | | - CLASS="PARAMETER">list-file</REPLACEABLE> only, and in the |
223 | | - order they appear in the file. Lines can be moved and may also |
224 | | - be commented out by placing a <literal>;</literal> at the |
225 | | - start of the line. (See below for examples.) |
| 216 | + Restore only those archive elements that are listed in <replaceable |
| 217 | + class="PARAMETER">list-file</replaceable>, and restore them in the |
| 218 | + order they appear in the file. Note that |
| 219 | + if filtering switches such as <option>-n</> or <option>-t</> are |
| 220 | + used with <option>-L</>, they will further restrict the items restored. |
| 221 | + </para> |
| 222 | + <para> |
| 223 | + <replaceable class="PARAMETER">list-file</> is normally created by |
| 224 | + editing the output of a previous <option>-l</> operation. |
| 225 | + Lines can be moved or removed, and can also |
| 226 | + be commented out by placing a semicolon (<literal>;</literal>) at the |
| 227 | + start of the line. See below for examples. |
226 | 228 | </para> |
227 | 229 | </listitem> |
228 | 230 | </varlistentry> |
|
0 commit comments