Skip to content

Commit

Permalink
wip: bookmarks. disable bookmarking if its not supported in on the pools
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Sep 25, 2024
1 parent bcd2b69 commit 865d960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zfs_autobackup/ZfsDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,7 @@ def sync_snapshots(self, target_dataset, features, show_progress, filter_propert
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:
Expand Down

0 comments on commit 865d960

Please sign in to comment.