Add CIFS in strorage info to allow backup.

This commit is contained in:
Wolfgang Link 2018-04-05 13:29:50 +02:00 committed by Thomas Lamprecht
parent 1e427a547f
commit 00d9d6b0d2

View 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});