mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-06-13 02:12:07 +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()
|
prev_target_snapshot.release()
|
||||||
|
|
||||||
#bookmark common snapshot on source, or use holds if bookmarks are not enabled.
|
#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:
|
if 'bookmark_written' in features:
|
||||||
source_snapshot.bookmark()
|
source_snapshot.bookmark()
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user