nebula 版本:3.4
部署方式:分布式
安装方式: Docker
是否上生产环境:Y
硬件信息
磁盘 SATA
CPU32核、内存128
问题的具体描述
使用 ./br backup full --debug --meta 192.168.200.15:9559 --storage "local:///tmp"导出报错
{"backup name":"BACKUP_2023_05_25_13_14_00","file":"github.com/vesoft-inc/nebula-br/pkg/cleanup/cleanup.go:123","func":"github.com/vesoft-inc/nebula-br/pkg/cleanup.(*Cleanup).Clean","level":"info","msg":"Clean up backup data successfully.","time":"2023-05-25T13:14:11.453Z"}
Cleanup backup BACKUP_2023_05_25_13_14_00 successfully after backup failed.Error: upload file by agent failed: rpc error: code = Unknown desc = local path: /usr/local/nebula/data/meta/nebula/0/checkpoints/BACKUP_2023_05_25_13_14_00 does not exist
Usage:
br backup full [flags]
Flags:
-h, --help help for full
Global Flags:
--debug Output log in debug level or not
--log string Specify br detail log path (default "br.log")
--meta string Specify meta server
--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
--spaces stringArray (EXPERIMENTAL)space names.
By this option, user can specify which spaces to backup. Now this feature is still experimental.
If not specified, will backup all spaces.
--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"
{"file":"./main.go:17","func":"main.main","level":"fatal","msg":"upload file by agent failed: rpc error: code = Unknown desc = local path: /usr/local/nebula/data/meta/nebula/0/checkpoints/BACKUP_2023_05_25_13_14_00 does not exist","time":"2023-05-25T13:14:11.460Z"}