Commit 2a84b7d3 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

gnt-backup: Adding force option to import

This makes it possible to bypass the instance policy
Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarGuido Trotter <>
parent 10889e0c
......@@ -115,6 +115,7 @@ import_opts = [
......@@ -70,6 +70,7 @@ IMPORT
| [--src-node=*source-node*] [--src-dir=*source-dir*]
| [-t [diskless | plain | drbd | file]]
| [--identify-defaults]
| [--ignore-ipolicy]
| {*instance*}
Imports a new instance from an export residing on *source-node* in
......@@ -191,6 +192,9 @@ template and specifies the remote node.
The ``--src-dir`` option allows importing instances from a directory
below ``@CUSTOM_EXPORT_DIR@``.
If ``--ignore-ipolicy`` is given any instance policy violations occuring
during this operation are ignored.
Since many of the parameters are by default read from the exported
instance information and used as such, the new instance will have
all parameters explicitly specified, the opposite of a newly added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment