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

suggestions - snapshot retension #80

Open
changchichung opened this issue Aug 28, 2019 · 0 comments
Open

suggestions - snapshot retension #80

changchichung opened this issue Aug 28, 2019 · 0 comments

Comments

@changchichung
Copy link

changchichung commented Aug 28, 2019

Dear all
I tried stellar for couple months , and everything works like a charm.
but because of the stellar's "nature" , I have to be particularly careful about how much space I used for snapshot.
I think in production environment , there should be a retention policy for stellar.yaml
like max numbers of snapshot or some other parameters.
let's say I want take snapshot every two hours a day , that's 12 snapshots a day , but in the end of day , I have to remove snapshots manually , and because I give every snapshot a timestamp in filename , so it`s not a easy loop command , I had to write a script to do the job (although it's not a big deal)
but isn't it great to have that feather in config ?
max_snapshots: 3 , means when take the 4th snapshot , stellar auto remove the oldest snapshot for me and keep 3 snapshots.
or retention policy : keep twice snapshot per day , keep 7 snapshots per week by day , keep 4 snapshots per month or something like that.

any suggestions ?

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

1 participant