History tags metadata

Hi, I'd like to know if there is a simple and "save" way to re-create all metadata (sqlth_drv, sqlth_te, ..., related records) for the existing history tag provider and ALL the tags with history enabled. I would like to avoid to manually open all tags, so looking for a "massive" way to do that.

I neeed that to deploy the ignition instance on a "new" DB, starting from scratch, avoiding to copy (backup/restore) existing metadata from previous DB.

History metadata for the tag is stored with the tag. Only the history metadata for the history data is stored in the DB.

You don't need to do anything special. In your new gateway:

  • Restore the gateway backup with everything disabled.

  • Give the gateway a new name.

  • In the existing database connection, point at the new gateway's empty DB, keeping the datasource name.

  • Re-enable everything, starting with the database and tag history provider.

Clear. I'll do so. Thx