Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement DESTROY_AFTER optional argument for bin/zfs-auto-snapshot. #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lytboris
Copy link

@lytboris lytboris commented Mar 7, 2021

zfs-auto-snapshot can be used to create upon-boot snapshots so one can debug any startup issues that are overwritten by services startup process.

The downside of using zfs-auto-snapshot for such purpose is that these snapshots stays forever on a well-performing server (which does not require to be rebooted).

This patch introduces support for a custom optional attribute that is set on a snapshots and specifies timestamp when it should be deleted not related to number of snapshots.

@lytboris lytboris force-pushed the destroy-after branch 3 times, most recently from ec0a212 to 9a5b80b Compare March 7, 2021 22:03
@lytboris lytboris changed the title WIP: Implement DESTROY_AFTER optional argument for bin/zfs-auto-snapshot. Implement DESTROY_AFTER optional argument for bin/zfs-auto-snapshot. Mar 7, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant