Revision 0fdf247d man/gnt-backup.rst
b/man/gnt-backup.rst | ||
---|---|---|
228 | 228 |
LIST |
229 | 229 |
~~~~ |
230 | 230 |
|
231 |
**list** [\--node=*NODE*] |
|
231 |
| **list** [\--node=*NODE*] [\--no-headers] [\--separator=*SEPARATOR*] |
|
232 |
| [-o *[+]FIELD,...*] |
|
232 | 233 |
|
233 | 234 |
Lists the exports currently available in the default directory in |
234 | 235 |
all the nodes of the current cluster, or optionally only a subset |
235 | 236 |
of them specified using the ``--node`` option (which can be used |
236 | 237 |
multiple times) |
237 | 238 |
|
239 |
The ``--no-headers`` option will skip the initial header line. The |
|
240 |
``--separator`` option takes an argument which denotes what will be |
|
241 |
used between the output fields. Both these options are to help |
|
242 |
scripting. |
|
243 |
|
|
244 |
The ``-o`` option takes a comma-separated list of output fields. |
|
245 |
The available fields and their meaning are: |
|
246 |
|
|
247 |
@QUERY_FIELDS_EXPORT@ |
|
248 |
|
|
249 |
If the value of the option starts with the character ``+``, the new |
|
250 |
fields will be added to the default list. This allows one to quickly |
|
251 |
see the default list plus a few other fields, instead of retyping |
|
252 |
the entire list of fields. |
|
253 |
|
|
238 | 254 |
Example:: |
239 | 255 |
|
240 |
# gnt-backup list --nodes node1 --nodes node2 |
|
256 |
# gnt-backup list --node node1 --node node2 |
|
257 |
|
|
258 |
|
|
259 |
LIST-FIELDS |
|
260 |
~~~~~~~~~~~ |
|
261 |
|
|
262 |
**list-fields** [field...] |
|
263 |
|
|
264 |
Lists available fields for exports. |
|
241 | 265 |
|
242 | 266 |
|
243 | 267 |
REMOVE |
Also available in: Unified diff