shell脚本 快照还原Hbase数据库时间:2023-03-08 17:40:46 #!/bin/bash for i in $(cat ./hbaseTable);do echo "disable '$i'" | hbase shellecho "restore_snapshot '$i-Snapshot-1220'" | hbase shellecho "enable '$i'" | hbase shelldone