]> git.proxmox.com Git - qemu-server.git/blobdiff - qmrestore
migration: disable compress
[qemu-server.git] / qmrestore
index f389a24e5f9079abd3342683d72c09ee71b3145e..59a47b6e3a5c543b4c22241840003045128df3d6 100755 (executable)
--- a/qmrestore
+++ b/qmrestore
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 use PVE::SafeSyslog;
 use PVE::Tools qw(extract_param);
 use PVE::INotify;
@@ -37,7 +38,7 @@ __PACKAGE__->register_method({
        properties => {
            vmid => get_standard_option('pve-vmid'),
            archive => {
-               description => "The backup file.",
+               description => "The backup file. You can pass '-' to read from standard input.",
                type => 'string', 
                maxLength => 255,
            },
@@ -55,6 +56,11 @@ __PACKAGE__->register_method({
                type => 'boolean',
                description => "Assign a unique random ethernet address.",
            },
+           pool => { 
+               optional => 1,
+               type => 'string', format => 'pve-poolid',
+               description => "Add the VM to the specified pool.",
+           },
        },
     },
     returns => {