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