Revision a52ba89d scripts/gnt-backup
b/scripts/gnt-backup | ||
---|---|---|
238 | 238 |
cli_option("--no-wait-for-sync", dest="wait_for_sync", default=True, |
239 | 239 |
action="store_false", help="Don't wait for sync (DANGEROUS!)"), |
240 | 240 |
cli_option("--src-node", dest="src_node", help="Source node", |
241 |
metavar="<node>"), |
|
241 |
metavar="<node>", |
|
242 |
completion_suggest=OPT_COMPL_ONE_NODE), |
|
242 | 243 |
cli_option("--src-dir", dest="src_dir", help="Source directory", |
243 | 244 |
metavar="<dir>"), |
244 | 245 |
cli_option("--no-ip-check", dest="ip_check", default=True, |
... | ... | |
246 | 247 |
" is alive"), |
247 | 248 |
cli_option("-I", "--iallocator", metavar="<NAME>", |
248 | 249 |
help="Select nodes for the instance automatically using the" |
249 |
" <NAME> iallocator plugin", default=None, type="string"), |
|
250 |
" <NAME> iallocator plugin", default=None, type="string", |
|
251 |
completion_suggest=OPT_COMPL_ONE_IALLOCATOR), |
|
250 | 252 |
cli_option("--file-storage-dir", dest="file_storage_dir", |
251 | 253 |
help="Relative path under default cluster-wide file storage dir" |
252 | 254 |
" to store file-based disks", default=None, |
... | ... | |
265 | 267 |
[DEBUG_OPT, |
266 | 268 |
cli_option("--node", dest="nodes", default=[], action="append", |
267 | 269 |
help="List only backups stored on this node" |
268 |
" (can be used multiple times)"), |
|
270 |
" (can be used multiple times)", |
|
271 |
completion_suggest=OPT_COMPL_ONE_NODE), |
|
269 | 272 |
], |
270 | 273 |
"", "Lists instance exports available in the ganeti cluster"), |
271 | 274 |
'export': (ExportInstance, ARGS_ONE_INSTANCE, |
272 | 275 |
[DEBUG_OPT, FORCE_OPT, |
273 | 276 |
cli_option("-n", "--node", dest="node", help="Target node", |
274 |
metavar="<node>"), |
|
277 |
metavar="<node>", |
|
278 |
completion_suggest=OPT_COMPL_ONE_NODE), |
|
275 | 279 |
cli_option("","--noshutdown", dest="shutdown", |
276 | 280 |
action="store_false", default=True, |
277 | 281 |
help="Don't shutdown the instance (unsafe)"), ], |
Also available in: Unified diff