|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.49.4.1 2005/01/23 00:37:56 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.49.4.2 2010/05/15 18:11:35 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <refentry id="APP-PGRESTORE">
|
4 | 4 | <refmeta>
|
|
168 | 168 | <term><literal>t</></term>
|
169 | 169 | <listitem>
|
170 | 170 | <para>
|
171 |
| - The archive is a <command>tar</command> archive. Using this |
172 |
| - archive format allows reordering and/or exclusion of schema |
173 |
| - elements at the time the database is restored. It is also |
174 |
| - possible to limit which data is reloaded at restore time. |
| 171 | + The archive is a <command>tar</command> archive. |
175 | 172 | </para>
|
176 | 173 | </listitem>
|
177 | 174 | </varlistentry>
|
|
181 | 178 | <listitem>
|
182 | 179 | <para>
|
183 | 180 | The archive is in the custom format of
|
184 |
| - <application>pg_dump</application>. This is the most |
185 |
| - flexible format in that it allows reordering of data load |
186 |
| - as well as schema elements. This format is also compressed |
187 |
| - by default. |
| 181 | + <application>pg_dump</application>. |
188 | 182 | </para>
|
189 | 183 | </listitem>
|
190 | 184 | </varlistentry>
|
|
219 | 213 | <listitem>
|
220 | 214 | <para>
|
221 | 215 | List the contents of the archive. The output of this operation
|
222 |
| - can be used with the <option>-L</option> option to restrict |
223 |
| - and reorder the items that are restored. |
| 216 | + can be used as input to the <option>-L</option> option. Note that |
| 217 | + if filtering switches such as <option>-n</> or <option>-t</> are |
| 218 | + used with <option>-l</>, they will restrict the items listed. |
224 | 219 | </para>
|
225 | 220 | </listitem>
|
226 | 221 | </varlistentry>
|
|
230 | 225 | <term><option>--use-list=<replaceable class="parameter">list-file</replaceable></option></term>
|
231 | 226 | <listitem>
|
8000
tr>
232 | 227 | <para>
|
233 |
| - Restore elements in <replaceable class="PARAMETER"> |
234 |
| - list-file</replaceable> only, and in the |
235 |
| - order they appear in the file. Lines can be moved and may also |
236 |
| - be commented out by placing a <literal>;</literal> at the |
237 |
| - start of the line. (See below for examples.) |
| 228 | + Restore only those archive elements that are listed in <replaceable |
| 229 | + class="PARAMETER">list-file</replaceable>, and restore them in the |
| 230 | + order they appear in the file. Note that |
| 231 | + if filtering switches such as <option>-n</> or <option>-t</> are |
| 232 | + used with <option>-L</>, they will further restrict the items restored. |
| 233 | + </para> |
| 234 | + <para> |
| 235 | + <replaceable class="PARAMETER">list-file</> is normally created by |
| 236 | + editing the output of a previous <option>-l</> operation. |
| 237 | + Lines can be moved or removed, and can also |
| 238 | + be commented out by placing a semicolon (<literal>;</literal>) at the |
| 239 | + start of the line. See below for examples. |
238 | 240 | </para>
|
239 | 241 | </listitem>
|
240 | 242 | </varlistentry>
|
|
0 commit comments