Skip to content

Snapshots, Retention for short lived replications #446

Answered by benbjohnson
namelessjon asked this question in Q&A
Discussion options

You must be logged in to vote

If litestream is only running for a minute or two, will it ever assess the replicated data for snapshots, retention?

No, it probably won't. It only checks periodically based on the retention-check-interval in the config.

If not, is there any way of saying "take a snapshot just before you shut down after the supervised process exits?"

It would be a good idea to have it enforce on exit or even have a litestream enforce-retention command but that doesn't currently exist.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by namelessjon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants