mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Add an example call of how to stop a snapshot or restore operation (#20153)
This commit is contained in:
parent
f93ce94afe
commit
f0db4d9942
@ -498,6 +498,12 @@ running snapshot was executed by mistake, or takes unusually long, it can be ter
|
||||
The snapshot delete operation checks if the deleted snapshot is currently running and if it does, the delete operation stops
|
||||
that snapshot before deleting the snapshot data from the repository.
|
||||
|
||||
[source,sh]
|
||||
-----------------------------------
|
||||
DELETE /_snapshot/my_backup/snapshot_1
|
||||
-----------------------------------
|
||||
// CONSOLE
|
||||
|
||||
The restore operation uses the standard shard recovery mechanism. Therefore, any currently running restore operation can
|
||||
be canceled by deleting indices that are being restored. Please note that data for all deleted indices will be removed
|
||||
from the cluster as a result of this operation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user