InfluxDB 2.x - 备份期间删除了分片 X

问题描述 投票:0回答:1

使用备份命令

2.3.0
备份 InfluxDB
influx backup
中的存储桶时,备份会跳过几个数据分片,从而不会对其进行备份。如何修复分片以便备份所有数据?

这是我运行命令时发生的情况:

bash-5.1# influx backup /influxdb2-backup/backup --bucket MyBucket -t MySeCrEtToKeN!
2023/01/26 23:33:24 INFO: Downloading metadata snapshot
2023/01/26 23:33:24 INFO: Backing up TSM for shard 1
2023/01/26 23:33:24 WARN: Shard 1 removed during backup
2023/01/26 23:33:24 INFO: Backing up TSM for shard 2
2023/01/26 23:33:24 WARN: Shard 2 removed during backup
2023/01/26 23:33:24 INFO: Backing up TSM for shard 3
2023/01/26 23:33:24 WARN: Shard 3 removed during backup
2023/01/26 23:33:24 INFO: Backing up TSM for shard 4
2023/01/26 23:33:24 WARN: Shard 4 removed during backup
2023/01/26 23:33:24 INFO: Backing up TSM for shard 5
2023/01/26 23:33:24 WARN: Shard 5 removed during backup
2023/01/26 23:33:24 INFO: Backing up TSM for shard 6
2023/01/26 23:33:24 WARN: Shard 6 removed during backup
2023/01/26 23:33:24 INFO: Backing up TSM for shard 7
2023/01/26 23:33:50 INFO: Backing up TSM for shard 8

当然,当从丢失分片的备份中恢复时,数据会丢失。

这正在运行 InfluxDB 2.3.0:

InfluxDB v2.3.0+SNAPSHOT.090f681737 Server: 090f681 Frontend: a2bd1f3
influxdb influxdb-2
1个回答
0
投票

我也面临同样的问题, 如果您能找到任何东西,请告诉我:)

© www.soinside.com 2019 - 2024. All rights reserved.