How to Move/Migrate Grafana to a newer version/system on a local/container environment

Hi,

What about Grafana license.Will it work ?