Skip to content

Influxdb2 full restore error: failed to restore TSM snapshot for shard XXX: 500 Internal Server Error #25964

Open
@tomklapka

Description

@tomklapka

Steps to reproduce:

  1. influx backup --host <HOST_URL> --token <TOKEN> --org '<ORG>' /path/to/backup

  2. influx restore --host <HOST_URL> --full --token <TOKEN> /path/to/backup

Expected behaviour:
Successful restore of db

Actual behaviour:
InfluxCLI fails on Error: failed to restore TSM snapshot for shard 10954: 500 Internal Server Error

Environment info:

K3s=1.31.3, Official influxdb:2.7.5 docker image.
Influx CLI dev (git: a79a2a1b825867421d320428538f76a4c90aa34c) build_date: 2024-04-16T14:34:32Z

Config:
DOCKER_INFLUXDB_INIT_MODE=setup
DOCKER_INFLUXDB_INIT_ORG=default
DOCKER_INFLUXDB_INIT_BUCKET=default
DOCKER_INFLUXDB_INIT_RETENTION=48h
INFLUXD_BOLT_PATH=/var/lib/influxdb2/influxd.bolt
INFLUXD_ENGINE_PATH=/var/lib/influxdb2
INFLUXD_SESSION_LENGTH=1440
INFLUXD_REPORTING_DISABLED=true
DOCKER_INFLUXDB_INIT_USERNAME=XXX
DOCKER_INFLUXDB_INIT_PASSWORD=XXX
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=XXX

Logs:

influxdb2-restore-error.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions