Skip to content

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

Open
lytboris wants to merge 1 commit intobdrewery:masterfrom
lytboris:destroy-after
Open

Implement DESTROY_AFTER optional argument for bin/zfs-auto-snapshot.#44
lytboris wants to merge 1 commit intobdrewery:masterfrom
lytboris:destroy-after

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
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

Successfully merging this pull request may close these issues.

1 participant