Data Stores
Data stores allow you to store data on different containers to ease their management operations such as backup, migration, restore and deletion.
Data Stores allow you to store data on different containers to ease their management operations such as backup, migration, restore and deletion.
This features is not available on environment using an Influx 1.x version, you can request an upgrade to our support team ([email protected]).
View existing data stores
All data stores associated to your environment are listed directly on data hub under Data Stores

Link datapoints
Data Points are should be associated to the data stores manually, through API or automatically. Once associated the app knows that he need to read and write the data on the alternative storage.

Alternatively, you can use DSAPI to automate the process of linking datapoints to a specific data store. You can retrieve the data store ID using the .lists()
methodand then use a loop to assign this ID to a group of datapoints that match a given pattern.
Below is an example that links all datapoints starting with DC1_RL3_
to the existing Alternative Storage data store:
datastore_id = next(
(ds.data_store_id for ds in wizata_dsapi.api().lists(wizata_dsapi.DataStore) if ds.name == 'Alternative Storage'),
None
)
datapoint_partial_name = 'DC1_RL3_'
i = 1 # Page number
page_size = 20 # Number of datapoints per page
total = None
has_more = True
while has_more:
datapoints = wizata_dsapi.api().search_datapoints(hardware_id=datapoint_partial_name, page=i, size=page_size)
if i == 1:
total = datapoints.total
for datapoint in datapoints.results:
datapoint.data_store_id = datastore_id
wizata_dsapi.api().upsert_datapoint(datapoint)
# Exit condition if no more datapoints to update
total -= page_size
i += 1
if total < 0:
has_more = False
The main default data store is not listed and is built-in within the app. All datapoints are associated and store on it by default.
Creation/Update/Delete
Data stores are created and managed currently by our DevOps team. These featurse are on our roadmap to be exposed for pro licenses with backup and restore solution.
Updated about 2 hours ago