br清除备份报这个错是什么原因呢

在参考NebulaGraph手册部署的五节点图数据库上用br做备份,清除备份报下面异常:

[nebula@nebulagraph5 ~]$ /nebula/br cleanup  --meta "nebulagraph1:10559" --storage "local:///home/nebula/backup/" --name BACKUP_2024_01_25_01_43_29 --debug
{"file":"github.com/vesoft-inc/nebula-br/pkg/storage/flags.go:93","func":"github.com/vesoft-inc/nebula-br/pkg/storage.ParseFromFlags","level":"debug","msg":"Parse storage flag.","time":"2024-01-26T00:56:07.754Z","type":1,"uri":"local:///home/nebula/backup"}
{"file":"github.com/vesoft-inc/nebula-agent@v0.1.1/pkg/storage/storage.go:50","func":"github.com/vesoft-inc/nebula-agent/pkg/storage.New","level":"debug","msg":"Create type: Local storage.","time":"2024-01-26T00:56:07.755Z","uri":"local:///home/nebula/backup"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:20","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph1:10559","msg":"Try to connect meta service.","time":"2024-01-26T00:56:07.755Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:44","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph1:10559","msg":"Connect meta server successfully.","time":"2024-01-26T00:56:07.758Z"}
{"addr":"nebulagraph1:10559","file":"github.com/vesoft-inc/nebula-br/pkg/clients/meta.go:236","func":"github.com/vesoft-inc/nebula-br/pkg/clients.(*NebulaMeta).getMetaDirInfo","level":"debug","msg":"Try to get dir info from meta service.","time":"2024-01-26T00:56:07.761Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:20","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph1:10559","msg":"Try to connect meta service.","time":"2024-01-26T00:56:07.761Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:44","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph1:10559","msg":"Connect meta server successfully.","time":"2024-01-26T00:56:07.766Z"}
{"addr":"nebulagraph2:10559","file":"github.com/vesoft-inc/nebula-br/pkg/clients/meta.go:236","func":"github.com/vesoft-inc/nebula-br/pkg/clients.(*NebulaMeta).getMetaDirInfo","level":"debug","msg":"Try to get dir info from meta service.","time":"2024-01-26T00:56:07.768Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:20","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph2:10559","msg":"Try to connect meta service.","time":"2024-01-26T00:56:07.768Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:44","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph2:10559","msg":"Connect meta server successfully.","time":"2024-01-26T00:56:07.826Z"}
{"addr":"nebulagraph3:10559","file":"github.com/vesoft-inc/nebula-br/pkg/clients/meta.go:236","func":"github.com/vesoft-inc/nebula-br/pkg/clients.(*NebulaMeta).getMetaDirInfo","level":"debug","msg":"Try to get dir info from meta service.","time":"2024-01-26T00:56:07.829Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:20","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph3:10559","msg":"Try to connect meta service.","time":"2024-01-26T00:56:07.829Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/clients/utils.go:44","func":"github.com/vesoft-inc/nebula-br/pkg/clients.connect","level":"info","meta address":"nebulagraph3:10559","msg":"Connect meta server successfully.","time":"2024-01-26T00:56:07.840Z"}
{"file":"github.com/vesoft-inc/nebula-br/pkg/utils/hosts.go:76","func":"github.com/vesoft-inc/nebula-br/pkg/utils.(*NebulaHosts).LoadFrom","host info":"map[nebulagraph1:nebulagraph1:10779[STORAGE]: (data: /nebula/nebula-graph/data/storage, root: /nebula/nebula-graph) | nebulagraph1:10669[GRAPH]: (data: , root: /nebula/nebula-graph) | nebulagraph1:8888[AGENT]: (data: , root: ) | nebulagraph1:10559[META]: (data: /nebula/nebula-graph/data/meta, root: /nebula/nebula-graph) nebulagraph2:nebulagraph2:10779[STORAGE]: (data: /nebula/nebula-graph/data/storage, root: /nebula/nebula-graph) | nebulagraph2:10669[GRAPH]: (data: , root: /nebula/nebula-graph) | nebulagraph2:8888[AGENT]: (data: , root: ) | nebulagraph2:10559[META]: (data: /nebula/nebula-graph/data/meta, root: /nebula/nebula-graph) nebulagraph3:nebulagraph3:10779[STORAGE]: (data: /nebula/nebula-graph/data/storage, root: /nebula/nebula-graph) | nebulagraph3:10669[GRAPH]: (data: , root: /nebula/nebula-graph) | nebulagraph3:8888[AGENT]: (data: , root: ) | nebulagraph3:10559[META]: (data: /nebula/nebula-graph/data/meta, root: /nebula/nebula-graph) nebulagraph4:nebulagraph4:10779[STORAGE]: (data: /nebula/nebula-graph/data/storage, root: /nebula/nebula-graph) | nebulagraph4:10669[GRAPH]: (data: , root: /nebula/nebula-graph) | nebulagraph4:8888[AGENT]: (data: , root: ) nebulagraph5:nebulagraph5:10779[STORAGE]: (data: /nebula/nebula-graph/data/storage, root: /nebula/nebula-graph) | nebulagraph5:10669[GRAPH]: (data: , root: /nebula/nebula-graph) | nebulagraph5:8888[AGENT]: (data: , root: )]","level":"info","msg":"Get cluster topology from the nebula.","time":"2024-01-26T00:56:07.844Z"}
{"backup name":"BACKUP_2024_01_25_01_43_29","file":"github.com/vesoft-inc/nebula-br/pkg/cleanup/cleanup.go:111","func":"github.com/vesoft-inc/nebula-br/pkg/cleanup.(*Cleanup).Clean","level":"info","msg":"Start to cleanup data in nebula cluster.","time":"2024-01-26T00:56:07.844Z"}
Error: clean nebula local data failed: drop backup failed: call drop snapshot failed: <UNSET>
{"file":"./main.go:17","func":"main.main","level":"fatal","msg":"clean nebula local data failed: drop backup failed: call drop snapshot failed: \u003cUNSET\u003e","time":"2024-01-26T00:56:07.850Z"}
[nebula@nebulagraph5 ~]$ 

您好,这是一个已知bug,可以用 br 3.6.0 试试 Release NebulaGraph BR v3.6.0 · vesoft-inc/nebula-br · GitHub

1 个赞

谢谢,我试试。

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。