mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
Merge branch 'master' of https://github.com/psy0rz/zfs_autobackup
This commit is contained in:
commit
b2c5971b33
@ -68,7 +68,7 @@ Example
|
||||
|
||||
In this example we're going to backup a SmartOS machine called `smartos01` to our fileserver called `fs1`.
|
||||
|
||||
Its important to choose a uniq and consistent backup name. In this case we name our backup: `smartos01_fs1`.
|
||||
Its important to choose a unique and consistent backup name. In this case we name our backup: `smartos01_fs1`.
|
||||
|
||||
Select filesystems to backup
|
||||
----------------------------
|
||||
|
@ -200,6 +200,8 @@ def zfs_get_snapshots(ssh_to, filesystems, backup_name):
|
||||
if ssh_to in test_snapshots:
|
||||
for filesystem in filesystems:
|
||||
if filesystem in test_snapshots[ssh_to]:
|
||||
if not filesystem in ret:
|
||||
ret[filesystem]=[]
|
||||
ret[filesystem].extend(test_snapshots[ssh_to][filesystem])
|
||||
|
||||
return(ret)
|
||||
|
Loading…
x
Reference in New Issue
Block a user