Revision 59885275
b/man/gnt-backup.sgml | ||
---|---|---|
220 | 220 |
|
221 | 221 |
<cmdsynopsis> |
222 | 222 |
<command>list</command> |
223 |
<arg>--nodes=<replaceable>NODE-LIST</replaceable></arg>
|
|
223 |
<arg>--node=<replaceable>NODE</replaceable></arg>
|
|
224 | 224 |
</cmdsynopsis> |
225 | 225 |
|
226 | 226 |
<para> |
227 | 227 |
Lists the exports currently available in the default directory |
228 | 228 |
in all the nodes of the current cluster, or optionally only a |
229 |
subset of them specified by the <option>--nodes</option> |
|
230 |
option (use this option multiple times to select multiple |
|
231 |
nodes). |
|
229 |
subset of them specified using the <option>--node</option> |
|
230 |
option (which can be used multiple times) |
|
232 | 231 |
</para> |
233 | 232 |
|
234 | 233 |
<para> |
b/scripts/gnt-backup | ||
---|---|---|
137 | 137 |
commands = { |
138 | 138 |
'list': (PrintExportList, ARGS_NONE, |
139 | 139 |
[DEBUG_OPT, |
140 |
make_option("--nodes", dest="nodes", default=[], action="append", |
|
141 |
help="List only backups stored on these nodes"), |
|
140 |
make_option("--node", dest="node", default=[], action="append", |
|
141 |
help="List only backups stored on this node" |
|
142 |
" (can be used multiple times)"), |
|
142 | 143 |
], |
143 | 144 |
"", "Lists instance exports available in the ganeti cluster"), |
144 | 145 |
'export': (ExportInstance, ARGS_ONE, |
Also available in: Unified diff