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

Create --after and/or --range options for zfs-delete-snapshots #17

Closed
joelweinberger opened this issue Dec 6, 2012 · 3 comments
Closed
Assignees

Comments

@joelweinberger
Copy link
Collaborator

Currently, we have options for deleting all snapshots up to a given snapshot and for deleting all snapshots across datasets matching a specified snapshot. Another set of useful options might be ones that specify the deletion of all snapshots after a given snapshot or all snapshots between two given snapshots. These would be mutually exclusive with --upto.

@joelweinberger
Copy link
Collaborator Author

Thinking about this further, really it only makes sense to have a --range option. I think that --after would probably just be equivalent to a rollback...

@joelweinberger
Copy link
Collaborator Author

Further suggestion: make the second argument to the incremental flag optional. If not specified, deletes all snapshots from the specified snapshot to the current snapshot (exclusive of current).

@ghost ghost assigned joelweinberger Dec 14, 2012
@joelweinberger
Copy link
Collaborator Author

This is added in f80e09e. I did not make the argument to the --range flag optional, however. Frankly, I couldn't figure out how to reasonably implement that. Perhaps for another day, but I also don't think it matters all that much.

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

No branches or pull requests

1 participant