delete_snapshot

Definition

Deletes a snapshot with the specified name.

Usage

delete_snapshot '<snapshot_name>'
Arguments
Parameter Description

snapshot_name

A snapshot name

Examples

hbase(main):048:0> list_snapshots
SNAPSHOT              TABLE + CREATION TIME
 snap1                temp1 (2021-11-24 06:31:27 UTC)
 snap2                ns1:temp2 (2021-11-24 06:32:21 UTC)
2 row(s)
Took 0.0153 seconds
=> ["snap1", "snap2"]
hbase(main):049:0> delete_snapshot 'snap2'
Took 0.0160 seconds
hbase(main):050:0> list_snapshots
SNAPSHOT              TABLE + CREATION TIME
 snap1                temp1 (2021-11-24 06:31:27 UTC)
1 row(s)
Took 0.0086 seconds
=> ["snap1"]
Found a mistake? Seleсt text and press Ctrl+Enter to report it