How to avoid creating a new context when the same snapshot is deployed multiple times.

How to avoid creating a new context when the same snapshot is deployed multiple times.

Upon exporting data from the source instance, though the snapshot is created for only a subset of projects listed within the context in question, it also contains some metadata for the entire source context configuration.

The proper context is created on the target upon initial deployment, but any subsequent deployment of the same snapshot will cause for a new context to get created. This is caused by the target metadata within, which is unable to match the previously created context and creates a new one.

 Instructions

If this is a common scenario (importing snapshots for the same project/s numerous subsequent times), the following details are suggested

  • Either manually match the context to the one already created each time.

  • Or create context on source relevant only for the exported project/s that would be included in the snapshot and should eventually match the existing one each time.

 Related articles