influxdata / influxdata/influxdb-client-python

Add examples for BackupService and RestoreService

Ouverte
#617 3 commentaires 0 réactions 1 personne assignée Réclamée par @trevorbonas Voir sur GitHub
good first issue
Langage dominant
Python
Étoiles
793
Forks
186
Merge moyen
3 h 2 min
PR mergées (30 j)
1

Description

__Proposal:__
Add examples demonstrating how to use the `BackupService` and `RestoreService` as they are both currently undocumented.

__Current behavior:__
Examples are missing apart from brief comments in the source code.

__Desired behavior:__
It would be nice to have examples demonstrating how to use both services, possibly in the `examples` directory or in the README. Personally, I would like to use `BackupService` and `RestoreService` to perform migrations but am unsure how to use these services.

__Alternatives considered:__
Other alternatives to the BackupService and RestoreService is using the Influx CLI with Python subprocess calls, but this is less testable and not preferred.

__Use case:__
Performing backups or restores using the InfluxDB Python client would be much easier with documentation.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.