[pve-devel] [PATCH manager] Add CIFS in strorage info to allow backup.

Wolfgang Link w.link at proxmox.com
Thu Apr 5 13:29:50 CEST 2018


---
 PVE/VZDump.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 3d34f9fc..a0376ef9 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -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});
 
-- 
2.11.0





More information about the pve-devel mailing list