dont backup datasets without mountpoint
This commit is contained in:
parent
7a60ab1599
commit
5eb684e7ea
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ def backup(metadata):
|
|||
options['mountpoint']
|
||||
for options in metadata.get('zfs/datasets').values()
|
||||
if options.get('backup', True)
|
||||
and not options.get('mountpoint', None) in [None, 'none']
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue