When a repository is unregistered, Elasticsearch only removes the reference to the location where the repository is storing the snapshots. The snapshots themselves are left untouched and in place.
So Elasticsearch DELETE /_snapshot/my_backup
won't delete the data itself.
I ls
the backup directory and see these files, which files should I delete to delete snapshots? (suppose I can delete all snapshots)
-rw-rw-r-- 1 mainserver mainserver 18K 12월 31 18:53 index-0
-rw-rw-r-- 1 mainserver mainserver 8 12월 31 18:53 index.latest
drwxrwxr-x 185 mainserver mainserver 12K 12월 31 15:33 indices
-rw-rw-r-- 1 mainserver mainserver 86K 12월 31 15:33 meta-NLs9MkZ2R9GYyNPViJzeDA.dat
-rw-rw-r-- 1 mainserver mainserver 4.5K 12월 31 18:53 snap-NLs9MkZ2R9GYyNPViJzeDA.dat