hbase备份表

hbase备份表,第1张

hbase备份
  1. disable目标表
disable 'accumulation_profit'
  1. 建立目标表的快照
snapshot 'accumulation_profit','accumulation_profit_20211227'
  1. 克隆目标表的快照
clone_snapshot 'accumulation_profit_20211227','accumulation_profit_bak'
  1. 删除快照
delete_snapshot 'accumulation_profit_20211227'
  1. enable目标表
enable 'accumulation_profit'
  1. 查看目标表和备份表的状态
is_enabled 'accumulation_profit'
is_enabled 'accumulation_profit_bak'

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5681956.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存