Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to read from an InfluxDB backup without restoring data to InfluxDB instance #661

Closed
wolfig opened this issue Jul 2, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@wolfig
Copy link

wolfig commented Jul 2, 2024

Proposal:
I suggest to enhance the existing client or to create an additional client such that the client is able to read an InfluxDB backup data store without restoring it to a running InfluxDB instance. Via the client it shall be possible to perform simple queries to the data backed up before.

Current behavior:
To my knowledge, this is not possible to access the backup data store in a reasonable manner without restoring it to an InfluxDB instance.

Desired behavior:

  • It shall be possible to extract data the backup data store without the need of restoring data to a live InfluxDB database instance.
  • It shall be possible to limit the data extraction to: measurement, timeframe
  • The extracted data shall be represented by a Pandas Dataframe

Alternatives considered:
Restore backup and extract data from live DB instance, drop data after extraction.

Use case:
In our environment, the database size needs to be kept below a quite small size on disk (256 GB). Hence, regulary backups of the database are created and the DB is wiped from data. However, administrators regularly get requests to access data (mostly of one single measurement) from already backed up data.

@bednar bednar added the enhancement New feature or request label Jul 9, 2024
@bednar
Copy link
Contributor

bednar commented Jul 9, 2024

Hi @wolfig,

Thank you for your proposal and for your interest in enhancing our project. We currently do not have this type of function on our development backlog.

Given this, would you be interested in helping us implement it? We welcome contributions from our community, and your involvement could greatly accelerate the inclusion of this new function. If you're willing, we would be delighted to support you through the process and provide any necessary guidance or resources.

Please let us know if this is something you would be able to assist with, and we can discuss the next steps.

Best Regards

@bednar bednar closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
@bednar bednar added this to the 1.45.0 milestone Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants