- nebula 版本:3.5.0
- 部署方式:分布式
- 安装方式: RPM
- 是否上生产环境: N
- 硬件信息
- SSD
- CPU 2C 内存2G
{"level":"info","meta address":"192.168.56.21:9559","msg":"Try to connect meta service.","time":"2023-07-07T17:38:25.970Z"}
{"level":"info","meta address":"192.168.56.21:9559","msg":"Connect meta server successfully.","time":"2023-07-07T17:38:25.971Z"}
{"level":"info","meta address":"192.168.56.21:9559","msg":"Try to connect meta service.","time":"2023-07-07T17:38:25.972Z"}
{"level":"info","meta address":"192.168.56.21:9559","msg":"Connect meta server successfully.","time":"2023-07-07T17:38:25.973Z"}
{"host info":"map[192.168.56.21:192.168.56.21:9779[STORAGE]: (data: /opt/nebula/data/storage, root: /opt/nebula) | 192.168.56.21:8888[AGENT]: (data: , root: ) | 192.168.56.21:9669[GRAPH]: (data: , root: /opt/nebula) | 192.168.56.21:9559[META]: (data: /opt/nebula/data/meta, root: /opt/nebula) 192.168.56.22:192.168.56.22:9779[STORAGE]: (data: /opt/nebula/data/storage, root: /opt/nebula) | 192.168.56.22:8888[AGENT]: (data: , root: ) | 192.168.56.22:9669[GRAPH]: (data: , root: /opt/nebula) 192.168.56.23:192.168.56.23:9779[STORAGE]: (data: /opt/nebula/data/storage, root: /opt/nebula) | 192.168.56.23:8888[AGENT]: (data: , root: ) | 192.168.56.23:9669[GRAPH]: (data: , root: /opt/nebula)]","level":"info","msg":"Get cluster topology from the nebula.","time":"2023-07-07T17:38:25.973Z"}
{"backup":"BACKUP_2023_07_03_14_06_09","level":"info","msg":"Check backup dir successfully.","time":"2023-07-07T17:38:25.973Z","uri":"local:///root/BACKUP_2023_07_03_14_06_09"}
{"dir":"/opt/nebula","host":"192.168.56.22","level":"info","msg":"Stop services.","role":"STORAGE","time":"2023-07-07T17:38:25.975Z"}
{"dir":"/opt/nebula","host":"192.168.56.22","level":"info","msg":"Stop services.","role":"GRAPH","time":"2023-07-07T17:38:25.999Z"}
{"dir":"/opt/nebula","host":"192.168.56.23","level":"info","msg":"Stop services.","role":"STORAGE","time":"2023-07-07T17:38:26.025Z"}
{"dir":"/opt/nebula","host":"192.168.56.23","level":"info","msg":"Stop services.","role":"GRAPH","time":"2023-07-07T17:38:26.050Z"}
{"dir":"/opt/nebula","host":"192.168.56.21","level":"info","msg":"Stop services.","role":"STORAGE","time":"2023-07-07T17:38:26.073Z"}
{"dir":"/opt/nebula","host":"192.168.56.21","level":"info","msg":"Stop services.","role":"GRAPH","time":"2023-07-07T17:38:26.099Z"}
{"dir":"/opt/nebula","host":"192.168.56.21","level":"info","msg":"Stop services.","role":"META","time":"2023-07-07T17:38:26.119Z"}
{"backup":"BACKUP_2023_07_03_14_06_09","level":"info","msg":"Stop cluster successfully.","time":"2023-07-07T17:38:26.142Z"}
{"addr":"192.168.56.22:9779","backup path":"/opt/nebula/data/storage/nebula_old_1688722706","level":"info","msg":"Backup origin storage data path successfully.","origin path":"/opt/nebula/data/storage/nebula","time":"2023-07-07T17:38:26.144Z"}
{"addr":"192.168.56.23:9779","backup path":"/opt/nebula/data/storage/nebula_old_1688722706","level":"info","msg":"Backup origin storage data path successfully.","origin path":"/opt/nebula/data/storage/nebula","time":"2023-07-07T17:38:26.144Z"}
{"addr":"192.168.56.21:9779","backup path":"/opt/nebula/data/storage/nebula_old_1688722706","level":"info","msg":"Backup origin storage data path successfully.","origin path":"/opt/nebula/data/storage/nebula","time":"2023-07-07T17:38:26.145Z"}
{"addr":"192.168.56.21:9559","backup path":"/opt/nebula/data/meta/nebula_old_1688722706","level":"info","msg":"Backup origin meta data path successfully.","origin path":"/opt/nebula/data/meta/nebula","time":"2023-07-07T17:38:26.146Z"}
{"backup":"BACKUP_2023_07_03_14_06_09","level":"info","msg":"Backup origin cluster data successfully.","time":"2023-07-07T17:38:26.146Z"}
{"level":"info","msg":"Download meta data to cluster successfully.","time":"2023-07-07T17:38:26.152Z"}
{"dir":"/opt/nebula","host":"192.168.56.23","level":"info","msg":"Stop services.","role":"STORAGE","time":"2023-07-07T17:38:26.339Z"}
{"dir":"/opt/nebula","host":"192.168.56.23","level":"info","msg":"Stop services.","role":"GRAPH","time":"2023-07-07T17:38:26.359Z"}
{"dir":"/opt/nebula","host":"192.168.56.21","level":"info","msg":"Stop services.","role":"STORAGE","time":"2023-07-07T17:38:26.377Z"}
{"dir":"/opt/nebula","host":"192.168.56.21","level":"info","msg":"Stop services.","role":"GRAPH","time":"2023-07-07T17:38:26.397Z"}
{"dir":"/opt/nebula","host":"192.168.56.21","level":"info","msg":"Stop services.","role":"META","time":"2023-07-07T17:38:26.416Z"}
{"dir":"/opt/nebula","host":"192.168.56.22","level":"info","msg":"Stop services.","role":"STORAGE","time":"2023-07-07T17:38:26.436Z"}
{"dir":"/opt/nebula","host":"192.168.56.22","level":"info","msg":"Stop services.","role":"GRAPH","time":"2023-07-07T17:38:26.455Z"}
{"backup path":"/opt/nebula/data/storage/nebula_old_1688722706","level":"info","msg":"Moveback origin STORAGE data path successfully","name":"STORAGE[192.168.56.22:9779]","origin path":"/opt/nebula/data/storage/nebula","time":"2023-07-07T17:38:26.475Z"}
{"backup path":"/opt/nebula/data/storage/nebula_old_1688722706","level":"info","msg":"Moveback origin STORAGE data path successfully","name":"STORAGE[192.168.56.23:9779]","origin path":"/opt/nebula/data/storage/nebula","time":"2023-07-07T17:38:26.477Z"}
{"backup path":"/opt/nebula/data/storage/nebula_old_1688722706","level":"info","msg":"Moveback origin STORAGE data path successfully","name":"STORAGE[192.168.56.21:9779]","origin path":"/opt/nebula/data/storage/nebula","time":"2023-07-07T17:38:26.478Z"}
{"backup path":"/opt/nebula/data/meta/nebula_old_1688722706","level":"info","msg":"Moveback origin META data path successfully","name":"META[192.168.56.21:9559]","origin path":"/opt/nebula/data/meta/nebula","time":"2023-07-07T17:38:26.479Z"}
{"addr":"192.168.56.22:9779","level":"info","msg":"Start STORAGE[192.168.56.22:9779] by agent successfully.","time":"2023-07-07T17:38:26.699Z"}
{"addr":"192.168.56.22:9669","level":"info","msg":"Start GRAPH[192.168.56.22:9669] by agent successfully.","time":"2023-07-07T17:38:26.727Z"}
{"addr":"192.168.56.23:9779","level":"info","msg":"Start STORAGE[192.168.56.23:9779] by agent successfully.","time":"2023-07-07T17:38:26.754Z"}
{"addr":"192.168.56.23:9669","level":"info","msg":"Start GRAPH[192.168.56.23:9669] by agent successfully.","time":"2023-07-07T17:38:26.782Z"}
{"addr":"192.168.56.21:9779","level":"info","msg":"Start STORAGE[192.168.56.21:9779] by agent successfully.","time":"2023-07-07T17:38:26.811Z"}
{"addr":"192.168.56.21:9669","level":"info","msg":"Start GRAPH[192.168.56.21:9669] by agent successfully.","time":"2023-07-07T17:38:26.838Z"}
{"addr":"192.168.56.21:9559","level":"info","msg":"Start META[192.168.56.21:9559] by agent successfully.","time":"2023-07-07T17:38:26.865Z"}
Error: download storage data to cluster failed: download from local:///root/BACKUP_2023_07_03_14_06_09/data/192.168.0.29:9779/data0/ to /opt/nebula/data/storage/nebula:192.168.56.21:9779 failed: rpc error: code = Unknown desc = source external uri: local:///root/BACKUP_2023_07_03_14_06_09/data/192.168.0.29:9779/data0/ does not exist
Usage:
br restore full [flags]
Flags:
-h, --help help for full
Global Flags:
--concurrency int Max concurrency for download data (default 5)
--debug Output log in debug level or not
--log string Specify br detail log path (default "br.log")
--meta string Specify meta server
--name string Specify backup name
--s3.access_key string S3 Option: set access key id
--s3.endpoint string S3 Option: set the S3 endpoint URL, please specify the http or https scheme explicitly
--s3.region string S3 Option: set region or location to upload or download backup
--s3.secret_key string S3 Option: set secret key for access id
--storage string backup target url, format: <SCHEME>://<PATH>.
<SCHEME>: a string indicating which backend type. optional: local, s3.
now only s3-compatible is supported.
example:
for local - "local:///the/local/path/to/backup"
for s3 - "s3://example/url/to/the/backup"
{"level":"fatal","msg":"download storage data to cluster failed: download from local:///root/BACKUP_2023_07_03_14_06_09/data/192.168.0.29:9779/data0/ to /opt/nebula/data/storage/nebula:192.168.56.21:9779 failed: rpc error: code = Unknown desc = source external uri: local:///root/BACKUP_2023_07_03_14_06_09/data/192.168.0.29:9779/data0/ does not exist","time":"2023-07-07T17:38:26.866Z"}
br导入的时候提示以上错误 , 以下是agent的日志
{"file":"github.com/vesoft-inc/nebula-agent/v3/internal/clients/meta.go:75","func":"github.com/vesoft-inc/nebula-agent/v3/internal/clients.connect","level":"info","meta address":"192.168.56.21:9559","msg":"try to connect meta service","time":"2023-07-07T17:39:26.618Z"}
{"file":"github.com/vesoft-inc/nebula-agent/v3/internal/clients/meta.go:102","func":"github.com/vesoft-inc/nebula-agent/v3/internal/clients.connect","level":"info","meta address":"192.168.56.21:9559","msg":"connect meta server successfully","time":"2023-07-07T17:39:26.620Z"}
{"error":null,"file":"github.com/vesoft-inc/nebula-agent/v3/internal/clients/meta.go:141","func":"github.com/vesoft-inc/nebula-agent/v3/internal/clients.(*NebulaMeta).heartbeat","level":"error","msg":"heartbeat to nebula meta service failed","time":"2023-07-07T17:39:26.620Z"}