Skip to content
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

Customize number of snapshots per filesystem #23

Open
mat813 opened this issue Jun 4, 2014 · 1 comment
Open

Customize number of snapshots per filesystem #23

mat813 opened this issue Jun 4, 2014 · 1 comment

Comments

@mat813
Copy link

mat813 commented Jun 4, 2014

It would be nice if one could change the number of snapshot, doing something like:

$ zfs set com.sun:auto-snapshot:weekly=12 zroot/var/log

So the values would go from true/false to true/false/[0-9]+

@bdrewery
Copy link
Owner

bdrewery commented Sep 8, 2014

This is more complex than it seems. The handling of zfs destroy -r for old snapshots would need logic to handle child datasets differently than parent ones. There is a lot of optimization for handling of recursive snapshots currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants