diff --git a/lib/client/gnt_backup.py b/lib/client/gnt_backup.py index 5999e3267c5ddcdad493517097b2efc0d7825bdb..dcde5d74dba3582aa9f7063ac1039f9086ea7ebd 100644 --- a/lib/client/gnt_backup.py +++ b/lib/client/gnt_backup.py @@ -115,6 +115,7 @@ import_opts = [ IDENTIFY_DEFAULTS_OPT, SRC_DIR_OPT, SRC_NODE_OPT, + IGNORE_IPOLICY_OPT, ] diff --git a/man/gnt-backup.rst b/man/gnt-backup.rst index ff01d6343da6ae6f39879b3d25e7e07960fc3643..58e9cb9f821d295c0a0d2e80a7626fba73a64d3d 100644 --- a/man/gnt-backup.rst +++ b/man/gnt-backup.rst @@ -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