Hi there,
Is there any way to limit the frequency of snapshots?
As of now, I have my logs searchable for 7 days before deletion - with snapshots enabled. With this configuration it seems like I have the same dayindex backed up 6 seperate times? Storage is not an unimportant factor in my setup, so I would very much like to know if I can limit this to perhaps one or two copies of each dayindex?
I have another Nagios LS im working on, which has logs searchable for 14 days. This results in 13 copies of each dayindex - which seems completely absurd.
Am I missing a limiter somewhere?
Thanks in advance.
Any way of adjusting frequency of snapshots?
-
Wintermute
- Posts: 13
- Joined: Fri Feb 22, 2019 4:25 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Any way of adjusting frequency of snapshots?
There is not a way to change the frequency of the snapshots.
However, it is important to understand that the snapshots that contain the same indexes essentially do a diff of previous snapshots, and only store the difference, or changes, so when you have rolling backups, the complete backup of the index is only stored once, and the subsequent backups only have the changes since the full index backup.
As only backups expire, the data is moved forward until the index is no longer part of any snapshots and then removed.
However, it is important to understand that the snapshots that contain the same indexes essentially do a diff of previous snapshots, and only store the difference, or changes, so when you have rolling backups, the complete backup of the index is only stored once, and the subsequent backups only have the changes since the full index backup.
As only backups expire, the data is moved forward until the index is no longer part of any snapshots and then removed.