Influxdb 2.0 - Moving database?

Just to close the topic.
What did i do :
Stopping influxdb

sudo systemctl stop influxdb.service

Copy the data ( On ubuntu, default location of data is : /var/lib/influxdb )

sudo cp /var/lib/influxdb/ /media/hd-1TB/ -R

Change owner & group for --> influxdb: 

sudo chown influxdb:influxbd /media/hd-1TB/influxdb/ -R

Modify the configuration file ( location → /etc/influxdb/config.toml)

#bolt-path = "/var/lib/influxdb/influxd.bolt"
bolt-path = "/media/hd-1TB/influxdb/influxd.bolt"
#engine-path = "/var/lib/influxdb/engine"
engine-path = "/media/hd-1TB/influxdb/engine"

Start the influxdb service :

sudo systemctl start influxdb.service

Check datas arriving in the new folder :

airvb@airvb-serveur:/var/lib/influxdb$ sudo du -s /media/hd-1TB/influxdb/
**9153596**	/media/hd-1TB/influxdb/
airvb@airvb-serveur:/var/lib/influxdb$ sudo du -s /media/hd-1TB/influxdb/
**9153624**	/media/hd-1TB/influxdb/
airvb@airvb-serveur:/var/lib/influxdb$

Delete old folder
sudo rm /var/lib/influxdb/ -R

Thanks again for yr help.