[pve-devel] [PATCH manager v4 2/2] Add cephfs to allowed storages for vzdump backup

Alwin Antreich a.antreich at proxmox.com
Mon Jun 18 19:49:30 CEST 2018


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index a0376ef9..7fc69f98 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -223,7 +223,7 @@ sub storage_info {
  
     die "can't use storage type '$type' for backup\n" 
 	if (!($type eq 'dir' || $type eq 'nfs' || $type eq 'glusterfs'
-	      || $type eq 'cifs'));
+	      || $type eq 'cifs' || $type eq 'cephfs'));
     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