Browse Source

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

Dominik Stadler 9 years ago
parent
commit
f0db4d9942
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/reference/modules/snapshots.asciidoc

+ 6 - 0
docs/reference/modules/snapshots.asciidoc

@@ -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.