Add an example call of how to stop a snapshot or restore operation (#20153)

This commit is contained in:
Dominik Stadler 2016-08-25 12:59:56 +02:00 committed by Clinton Gormley
parent f93ce94afe
commit f0db4d9942
1 changed files with 6 additions and 0 deletions

View File

@ -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 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. 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 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 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. from the cluster as a result of this operation.