diff --git a/doc/manpages/qvm-backup-restore.rst b/doc/manpages/qvm-backup-restore.rst index c3ff451..0407174 100644 --- a/doc/manpages/qvm-backup-restore.rst +++ b/doc/manpages/qvm-backup-restore.rst @@ -53,11 +53,6 @@ Options Restore VMs that are already present on the host under different names -.. option:: --replace-template=REPLACE_TEMPLATE - - Restore VMs using another template, syntax: - ``old-template-name:new-template-name`` (might be repeated) - .. option:: --exclude=EXCLUDE, -x EXCLUDE Skip restore of specified VM (might be repeated) diff --git a/qubesadmin/tools/qvm_backup_restore.py b/qubesadmin/tools/qvm_backup_restore.py index 06a7b0c..87b5763 100644 --- a/qubesadmin/tools/qvm_backup_restore.py +++ b/qubesadmin/tools/qvm_backup_restore.py @@ -55,12 +55,6 @@ parser.add_argument("--rename-conflicting", action="store_true", help="Restore VMs that are already present on the host " "under different names") -parser.add_argument("--replace-template", action="append", - dest="replace_template", default=[], - help="Restore VMs using another TemplateVM; syntax: " - "old-template-name:new-template-name (may be " - "repeated)") - parser.add_argument("-x", "--exclude", action="append", dest="exclude", default=[], help="Skip restore of specified VM (may be repeated)") @@ -229,8 +223,6 @@ def main(args=None, app=None): if args.ignore_missing: backup.options.use_default_template = True backup.options.use_default_netvm = True - if args.replace_template: - backup.options.replace_template = args.replace_template if args.rename_conflicting: backup.options.rename_conflicting = True if not args.dom0_home: