Revision b7d7876b
b/lib/cmdlib.py | ||
---|---|---|
8252 | 8252 |
self.needed_locks[locking.LEVEL_NODE] = locking.ALL_SET |
8253 | 8253 |
self.op.src_node = None |
8254 | 8254 |
if os.path.isabs(src_path): |
8255 |
raise errors.OpPrereqError("Importing an instance from an absolute"
|
|
8256 |
" path requires a source node option",
|
|
8255 |
raise errors.OpPrereqError("Importing an instance from a path"
|
|
8256 |
" requires a source node option", |
|
8257 | 8257 |
errors.ECODE_INVAL) |
8258 | 8258 |
else: |
8259 | 8259 |
self.op.src_node = src_node = _ExpandNodeName(self.cfg, src_node) |
b/man/gnt-backup.rst | ||
---|---|---|
179 | 179 |
The optional second value of the ``--node`` is used for the drbd |
180 | 180 |
template and specifies the remote node. |
181 | 181 |
|
182 |
The ``--src-dir`` option allows importing instances from a directory |
|
183 |
below ``@CUSTOM_EXPORT_DIR@``. |
|
184 |
|
|
182 | 185 |
Since many of the parameters are by default read from the exported |
183 | 186 |
instance information and used as such, the new instance will have |
184 | 187 |
all parameters explicitly specified, the opposite of a newly added |
Also available in: Unified diff