Shard X removed during backup

I got this error:

2022/03/29 07:20:39 INFO: Backing up TSM for shard 4
2022/03/29 07:20:39 WARN: Shard 4 removed during backup
2022/03/29 07:20:39 INFO: Backing up TSM for shard 5
2022/03/29 07:20:39 WARN: Shard 5 removed during backup
2022/03/29 07:20:39 INFO: Backing up TSM for shard 7
2022/03/29 07:20:39 WARN: Shard 7 removed during backup
2022/03/29 07:20:39 INFO: Backing up TSM for shard 8
2022/03/29 07:20:39 INFO: Backing up TSM for shard 9
2022/03/29 07:20:39 INFO: Backing up TSM for shard 10
2022/03/29 07:20:39 INFO: Backing up TSM for shard 19
2022/03/29 07:20:39 INFO: Backing up TSM for shard 3
2022/03/29 07:20:39 INFO: Backing up TSM for shard 12
2022/03/29 07:20:39 INFO: Backing up TSM for shard 2
2022/03/29 07:20:39 INFO: Backing up TSM for shard 11
2022/03/29 07:20:39 INFO: Backing up TSM for shard 1
2022/03/29 07:20:46 INFO: Backing up TSM for shard 13
2022/03/29 07:20:47 INFO: Backing up TSM for shard 18

Is it all ok? I’m using v 2.1 with Docker.

@sineverba was this during a restore?
Have you seen:

It is during backup.

I use Influx via Docker.

Some day ago I tried to restore backup on aother server, seems all ok. But, when I do backup, I got all that errors.

In next days I will try another restore on another server, just to try…

Hi,
how can this issue be fixed?
I have the same failure (shared X removed) during backup.
grafik
I have Influxdb 2.3.0 and also run in Docker
Regards
Hannes

@HannesKannes Did you find a solution? This happens for me as well:

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

And then when restoring from that backup, there is data missing.

This is running influxdb 2.3.0:

InfluxDB v2.3.0+SNAPSHOT.090f681737 Server: 090f681 Frontend: a2bd1f3

I got the same today (using 2.1.1) . I wonder how to check which data is contained inside of shards that are being removed. I am hoping that that those shard have been deleted because, for example, they fall outside of the Retention policy. How to check this?

from my manifest file and the content in the backup folder, it seems that all the shards necessary have been backupped.