GBase 8c
备份恢复
文章
GBase 8c 备份
发表于2023-12-06 17:32:0330次浏览2个评论
GBase 8c 数据库支持备份功能
1.对集群每个cn和dn配置日志归档,命令如下:
gha_ctl configure wal_archive datanode hg_name dn_name 'ssh user@remote "flock -x path archive_wal dn_host dir/%p path %f"' -l dcslist -c cluster
gha_ctl configure wal_archive coordinator cn_name 'ssh user@remote "flock -x path archive_wal cn_host dir/%p path %f"' -l dcslist -c cluster
2.备份topo、dcs、gtm、cn、及各个高可用组:
命令:
gha_ctl backup xxx host path -l dcslist -c cluster
使用示例:
gha_ctl backup topo host path/topo.json -l dcslist -c cluster
gha_ctl backup dcs host path -l dcslist -c cluseter
gha_ctl backup gtm host path -l dcslist -c cluseter
gha_ctl backup coordinator host path tbs_path -l dcslist -c cluster
gha_ctl backup datanode group host path tbs_path -l dcslist -c cluster评论
登录后才可以发表评论
levvel发表于 5个月前
我看好你哟!
GBase用户47954发表于 4个月前
感谢作者的精彩分享!
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526