Trying to understand where Prometheus store data

I did below to migrate the data.

sudo systemctl stop prometheus
sudo rsync -av /data/ /mnt/nas/data/

added flag --storage.tsdb.path=/mnt/nas/data to startup config

sudo systemctl restart prometheus

and all my old data is still available in Prometheus.