Add CIFS in strorage info to allow backup.
This commit is contained in:
parent
1e427a547f
commit
00d9d6b0d2
@ -222,7 +222,8 @@ sub storage_info {
|
|||||||
my $type = $scfg->{type};
|
my $type = $scfg->{type};
|
||||||
|
|
||||||
die "can't use storage type '$type' for backup\n"
|
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"
|
die "can't use storage '$storage' for backups - wrong content type\n"
|
||||||
if (!$scfg->{content}->{backup});
|
if (!$scfg->{content}->{backup});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user