influxdata / influxdata/influxdb

Users and grants are not restored from portable backup (OSS 1.x)

Open
#24,682 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

This is a bug report for OSS 1.x versions, 1.8.10 in particular. But there was a similar report for earlier versions: https://github.com/influxdata/influxdb/issues/9723

__Steps to reproduce:__
List the minimal actions needed to reproduce the behaviour.

1. Create a full portable backup
2. Start a new empty instance
3. Restore backup into new empty instance

__Expected behaviour:__
All users, grants and databases are restored

__Actual behaviour:__
Only databases are restored

__Environment info:__
Rocky Linux 8.9, x86_64, nothing special

__Config:__
Everything is default

Contributor guide

Open the contributing guide

Research direction

Reproduce the portable backup and restore sequence described for OSS 1.8.10, using a new empty instance. Inspect the backup and restore paths for user and grant handling. Done means restoring a full portable backup brings back all users, grants, and databases, not only databases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.