Indices Folder inside Backup not cleaning up

Hi!

We are creating daily backups with:
curl -u elastic: -X PUT 127.0.0.1:9200/_snapshot/backup/snapshot-$snapdate?wait_for_completion=true
and delete older ones with
curl -u elastic: -X DELETE "127.0.0.1:9200/_snapshot/backup/snapshot-$del_date?pretty"

There is a folder called indices which grows w/o any limits.

What is the purpose of that folder?
Can/shall we delete entries there manually?
Or so we need to modify the deletion script?

Thanks a lot!

Welcome to our community! :smiley:

Unless this is causing issues I wouldn't manually change anything in the directory as it's likely to break your backups. If it is causing issues then perhaps you could share some more information.

Hi Mark,

thanks! Unf it is causing problems. We have 500 GB av. of which 400 are occupied with that indices and it's subfolders. Looks like this is not cleaned up with the deletion of old backups. The directories in there are several years old.
Maybe something went wrong on the past, anyway we need to clean it up.
Any idea? Otherwise we will delete everything and start from scratch.
Thanks a lot!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.