]> git.proxmox.com Git - pve-manager.git/commitdiff
Add CIFS in strorage info to allow backup.
authorWolfgang Link <w.link@proxmox.com>
Thu, 5 Apr 2018 11:29:50 +0000 (13:29 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 5 Apr 2018 11:48:52 +0000 (13:48 +0200)
PVE/VZDump.pm

index 3d34f9fced2cefc8704f6010701454f89a81245f..a0376ef9e1f956df99c4b0559a889d74f50d3ef1 100644 (file)
@@ -222,7 +222,8 @@ sub storage_info {
     my $type = $scfg->{type};
  
     die "can't use storage type '$type' for backup\n" 
-       if (!($type eq 'dir' || $type eq 'nfs' || $type eq 'glusterfs'));
+       if (!($type eq 'dir' || $type eq 'nfs' || $type eq 'glusterfs'
+             || $type eq 'cifs'));
     die "can't use storage '$storage' for backups - wrong content type\n" 
        if (!$scfg->{content}->{backup});