mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-05-28 01:09:13 +03:00
wip: bookmarks. disable bookmarking if its not supported in on the pools
This commit is contained in:
parent
bcd2b69c04
commit
865d9602d4
@ -1333,6 +1333,7 @@ class ZfsDataset:
|
||||
prev_target_snapshot.release()
|
||||
|
||||
#bookmark common snapshot on source, or use holds if bookmarks are not enabled.
|
||||
#NOTE: bookmark_written seems to be needed. (only 'bookmarks' was not enough on ubuntu 20)
|
||||
if 'bookmark_written' in features:
|
||||
source_snapshot.bookmark()
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user