GBase 8c
其他
文章
GBase 8c 恢复
发表于2023-12-06 14:45:0313次浏览0个评论
GBase 8c 数据库支持数据恢复。
1.停止新集群;
2.备份新集群topo信息;
gha_ctl backup topo host path/topo.json -l dcslist -c cluster
3.还原dcs、topo、gtm、各个高可用组、cn;
命令:
gha_ctl restore xxx host path -l dcslist -c cluster
举例:
gha_ctl restore dcs host path -l dcslist -c cluster
gha_ctl restore topo host path/topo.json -l dcslist -c cluster
gha_ctl restore gtm host path -l dcslist -c cluster
gha_ctl restore datanode hg host path tbs_path wal_host wal_path target_type target_info -l dcslist -c cluster
gha_ctl restore coordinator host path tbs_path wal_host wal_path target_type target_info -l dcslist -c cluster
4.还原过程,只会还原第一个gtm、cn及每个高可用组的第一个dn。其他节点,检测到上述节点变为running后,直接start就行了 评论
登录后才可以发表评论
热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17528