-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Allow different options for distinct datasets within one backup group #141
Comments
also thinking about how to manage [min-change, allow-empty, keep-source] for different datasets I don't need atomic-ness, so I guess I could create one group per unique set of those parameters just for standalone snapshotting Could imagine using dataset properties as a way to store the rules and allow for inheritance or local setting. like reminds me of the debate in #113 where sometimes you want the config in the command arguments, other times you want it in the dataset properties, and may be applications for both... |
indeed..maybe the commandline specify the default and global settings, while properties can overrule some settings per dataset? |
A way to overrule certain "settings" on a per-dataset level would be useful in some scenarios indeed, however ideally that should be done in such a way that it can be overruled only for specific "backup tags" (or whatever the proper terminology is). For example you may have something like |
@Scrin yep i was thinking about that as well. perhaps this would take the form autobackup:offsite:min-change=1 ? or autobackup:offsite.min-change=1 ? i think the : is mean for namespace seperation, so maybe the second example is cleaner? |
Either would work and be fine from ZFS point of view, the thing with the With that in mind, A third option would be something like Personally I'm fine with any of these options, but these are some things to consider. If I were to choose, I would use |
i can also imagine setups that use autobackup:host.server.net=true ill check later what currently is allowed in zfsbackup and which snapshotnames are valid. |
what about: autobackup:offsite@min-change=1 |
According to the documentation (linked above), |
indeed..i thought i tried a property with an @ but apparently not. |
My use case: I would like to specify
--min_change=212993
for one dataset and--min-change=1
for another, but still need to snapshot them together in atomic manner, no matter how many snapshots were selected.The text was updated successfully, but these errors were encountered: