Replies: 2 comments 5 replies
-
Did you ever figure this out? oh, and btw. how did you rename the snapshots? Is there a way to mass-rename somehow? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@heyarne the problem is that you used "recursive = zfs" instead of "recursive = yes". With "recursive = zfs" zfs handle the recursion (which is atomic), so sanoid will only look for snaphosts on the root dataset of the recursion (which is data1 in your case) for deciding if a snapshot needs to be taken. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have zfs snapshots on multiple datasets that I want sanoid to consider as its own. My understanding of #800 (comment) is that it should be enough to rename those to match sanoid's scheme. So I rename snapshots with the following naming scheme:
to sanoid's scheme like so:
My sanoid config looks like this:
I rename the snapshot first, then run sanoid. It still creates a new daily snapshot. This is what it looks like for the last two days:
Is there a misunderstanding on my side? I'd like to create monthly and yearly snapshots if necessary, but consider the daily snapshots that were taken before and prune them according to the rules given in the config file. Is this possible? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions